Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: talk/libjingle_tests.gyp

Issue 1570513004: Reland "Add APK targets to build libjingle tests for Android." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « talk/libjingle.gyp ('k') | webrtc/build/android/test_runner.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # libjingle 2 # libjingle
3 # Copyright 2012 Google Inc. 3 # Copyright 2012 Google Inc.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met: 6 # modification, are permitted provided that the following conditions are met:
7 # 7 #
8 # 1. Redistributions of source code must retain the above copyright notice, 8 # 1. Redistributions of source code must retain the above copyright notice,
9 # this list of conditions and the following disclaimer. 9 # this list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright notice, 10 # 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 'AdditionalDependencies': [ 180 'AdditionalDependencies': [
181 'strmiids.lib', 181 'strmiids.lib',
182 ], 182 ],
183 }, 183 },
184 }, 184 },
185 }], 185 }],
186 ], 186 ],
187 }, # target libjingle_p2p_unittest 187 }, # target libjingle_p2p_unittest
188 { 188 {
189 'target_name': 'libjingle_peerconnection_unittest', 189 'target_name': 'libjingle_peerconnection_unittest',
190 'type': 'executable', 190 'type': '<(gtest_target_type)',
191 'dependencies': [ 191 'dependencies': [
192 '<(DEPTH)/testing/gmock.gyp:gmock', 192 '<(DEPTH)/testing/gmock.gyp:gmock',
193 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 193 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
194 '<(webrtc_root)/common.gyp:webrtc_common', 194 '<(webrtc_root)/common.gyp:webrtc_common',
195 'libjingle.gyp:libjingle', 195 'libjingle.gyp:libjingle',
196 'libjingle.gyp:libjingle_p2p', 196 'libjingle.gyp:libjingle_p2p',
197 'libjingle.gyp:libjingle_peerconnection', 197 'libjingle.gyp:libjingle_peerconnection',
198 'libjingle_unittest_main', 198 'libjingle_unittest_main',
199 ], 199 ],
200 'direct_dependent_settings': { 200 'direct_dependent_settings': {
(...skipping 10 matching lines...) Expand all
211 'app/webrtc/jsepsessiondescription_unittest.cc', 211 'app/webrtc/jsepsessiondescription_unittest.cc',
212 'app/webrtc/localaudiosource_unittest.cc', 212 'app/webrtc/localaudiosource_unittest.cc',
213 'app/webrtc/mediastream_unittest.cc', 213 'app/webrtc/mediastream_unittest.cc',
214 'app/webrtc/peerconnection_unittest.cc', 214 'app/webrtc/peerconnection_unittest.cc',
215 'app/webrtc/peerconnectionendtoend_unittest.cc', 215 'app/webrtc/peerconnectionendtoend_unittest.cc',
216 'app/webrtc/peerconnectionfactory_unittest.cc', 216 'app/webrtc/peerconnectionfactory_unittest.cc',
217 'app/webrtc/peerconnectioninterface_unittest.cc', 217 'app/webrtc/peerconnectioninterface_unittest.cc',
218 # 'app/webrtc/peerconnectionproxy_unittest.cc', 218 # 'app/webrtc/peerconnectionproxy_unittest.cc',
219 'app/webrtc/remotevideocapturer_unittest.cc', 219 'app/webrtc/remotevideocapturer_unittest.cc',
220 'app/webrtc/rtpsenderreceiver_unittest.cc', 220 'app/webrtc/rtpsenderreceiver_unittest.cc',
221 'app/webrtc/sctputils.cc',
222 'app/webrtc/statscollector_unittest.cc', 221 'app/webrtc/statscollector_unittest.cc',
223 'app/webrtc/test/fakeaudiocapturemodule.cc', 222 'app/webrtc/test/fakeaudiocapturemodule.cc',
224 'app/webrtc/test/fakeaudiocapturemodule.h', 223 'app/webrtc/test/fakeaudiocapturemodule.h',
225 'app/webrtc/test/fakeaudiocapturemodule_unittest.cc', 224 'app/webrtc/test/fakeaudiocapturemodule_unittest.cc',
226 'app/webrtc/test/fakeconstraints.h', 225 'app/webrtc/test/fakeconstraints.h',
227 'app/webrtc/test/fakedatachannelprovider.h', 226 'app/webrtc/test/fakedatachannelprovider.h',
228 'app/webrtc/test/fakedtlsidentitystore.h', 227 'app/webrtc/test/fakedtlsidentitystore.h',
229 'app/webrtc/test/fakeperiodicvideocapturer.h', 228 'app/webrtc/test/fakeperiodicvideocapturer.h',
230 'app/webrtc/test/fakevideotrackrenderer.h', 229 'app/webrtc/test/fakevideotrackrenderer.h',
231 'app/webrtc/test/mockpeerconnectionobservers.h', 230 'app/webrtc/test/mockpeerconnectionobservers.h',
232 'app/webrtc/test/peerconnectiontestwrapper.h', 231 'app/webrtc/test/peerconnectiontestwrapper.h',
233 'app/webrtc/test/peerconnectiontestwrapper.cc', 232 'app/webrtc/test/peerconnectiontestwrapper.cc',
234 'app/webrtc/test/testsdpstrings.h', 233 'app/webrtc/test/testsdpstrings.h',
235 'app/webrtc/videosource_unittest.cc', 234 'app/webrtc/videosource_unittest.cc',
236 'app/webrtc/videotrack_unittest.cc', 235 'app/webrtc/videotrack_unittest.cc',
237 'app/webrtc/webrtcsdp_unittest.cc', 236 'app/webrtc/webrtcsdp_unittest.cc',
238 'app/webrtc/webrtcsession_unittest.cc', 237 'app/webrtc/webrtcsession_unittest.cc',
239 ], 238 ],
240 'conditions': [ 239 'conditions': [
241 ['OS=="android"', { 240 ['OS=="android"', {
242 # We want gmock features that use tr1::tuple, but we currently 241 'sources': [
243 # don't support the variadic templates used by libstdc++'s 242 'app/webrtc/test/androidtestinitializer.cc',
244 # implementation. gmock supports this scenario by providing its 243 'app/webrtc/test/androidtestinitializer.h',
245 # own implementation but we must opt in to it. 244 ],
246 'defines': [ 245 'dependencies': [
247 'GTEST_USE_OWN_TR1_TUPLE=1', 246 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
248 # GTEST_USE_OWN_TR1_TUPLE only works if GTEST_HAS_TR1_TUPLE is set. 247 'libjingle.gyp:libjingle_peerconnection_jni',
249 # gmock r625 made it so that GTEST_HAS_TR1_TUPLE is set to 0 248 ],
250 # automatically on android, so it has to be set explicitly here.
251 'GTEST_HAS_TR1_TUPLE=1',
252 ],
253 }], 249 }],
254 ['OS=="win" and clang==1', { 250 ['OS=="win" and clang==1', {
255 'msvs_settings': { 251 'msvs_settings': {
256 'VCCLCompilerTool': { 252 'VCCLCompilerTool': {
257 'AdditionalOptions': [ 253 'AdditionalOptions': [
258 # Disable warnings failing when compiling with Clang on Windows. 254 # Disable warnings failing when compiling with Clang on Windows.
259 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 255 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
260 '-Wno-unused-function', 256 '-Wno-unused-function',
261 ], 257 ],
262 }, 258 },
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 'conditions': [ 404 'conditions': [
409 ['OS=="mac"', { 405 ['OS=="mac"', {
410 'xcode_settings': { 406 'xcode_settings': {
411 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 407 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
412 }, 408 },
413 }], 409 }],
414 ], 410 ],
415 }, # target apprtc_signaling_gunit_test 411 }, # target apprtc_signaling_gunit_test
416 ], 412 ],
417 }], 413 }],
414 ['OS=="android"', {
415 'targets': [
416 {
417 'target_name': 'libjingle_peerconnection_unittest_apk_target',
418 'type': 'none',
419 'dependencies': [
420 '<(DEPTH)/webrtc/build/apk_tests.gyp:libjingle_peerconnection_unitte st_apk',
421 ],
422 },
423 ],
424 }],
418 ['test_isolation_mode != "noop"', { 425 ['test_isolation_mode != "noop"', {
419 'targets': [ 426 'targets': [
420 { 427 {
421 'target_name': 'libjingle_media_unittest_run', 428 'target_name': 'libjingle_media_unittest_run',
422 'type': 'none', 429 'type': 'none',
423 'dependencies': [ 430 'dependencies': [
424 'libjingle_media_unittest', 431 'libjingle_media_unittest',
425 ], 432 ],
426 'includes': [ 433 'includes': [
427 'build/isolate.gypi', 434 'build/isolate.gypi',
(...skipping 25 matching lines...) Expand all
453 'build/isolate.gypi', 460 'build/isolate.gypi',
454 ], 461 ],
455 'sources': [ 462 'sources': [
456 'libjingle_peerconnection_unittest.isolate', 463 'libjingle_peerconnection_unittest.isolate',
457 ], 464 ],
458 }, 465 },
459 ], 466 ],
460 }], 467 }],
461 ], 468 ],
462 } 469 }
OLDNEW
« no previous file with comments | « talk/libjingle.gyp ('k') | webrtc/build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698