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

Side by Side Diff: talk/libjingle_tests.gyp

Issue 1511633002: Add APK targets to build libjingle tests for Android. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 'AdditionalDependencies': [ 169 'AdditionalDependencies': [
170 'strmiids.lib', 170 'strmiids.lib',
171 ], 171 ],
172 }, 172 },
173 }, 173 },
174 }], 174 }],
175 ], 175 ],
176 }, # target libjingle_p2p_unittest 176 }, # target libjingle_p2p_unittest
177 { 177 {
178 'target_name': 'libjingle_peerconnection_unittest', 178 'target_name': 'libjingle_peerconnection_unittest',
179 'type': 'executable', 179 'type': '<(gtest_target_type)',
180 'dependencies': [ 180 'dependencies': [
181 '<(DEPTH)/testing/gmock.gyp:gmock', 181 '<(DEPTH)/testing/gmock.gyp:gmock',
182 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 182 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
183 '<(webrtc_root)/common.gyp:webrtc_common', 183 '<(webrtc_root)/common.gyp:webrtc_common',
184 'libjingle.gyp:libjingle', 184 'libjingle.gyp:libjingle',
185 'libjingle.gyp:libjingle_p2p', 185 'libjingle.gyp:libjingle_p2p',
186 'libjingle.gyp:libjingle_peerconnection', 186 'libjingle.gyp:libjingle_peerconnection',
187 'libjingle_unittest_main', 187 'libjingle_unittest_main',
188 ], 188 ],
189 'direct_dependent_settings': { 189 'direct_dependent_settings': {
(...skipping 10 matching lines...) Expand all
200 'app/webrtc/jsepsessiondescription_unittest.cc', 200 'app/webrtc/jsepsessiondescription_unittest.cc',
201 'app/webrtc/localaudiosource_unittest.cc', 201 'app/webrtc/localaudiosource_unittest.cc',
202 'app/webrtc/mediastream_unittest.cc', 202 'app/webrtc/mediastream_unittest.cc',
203 'app/webrtc/peerconnection_unittest.cc', 203 'app/webrtc/peerconnection_unittest.cc',
204 'app/webrtc/peerconnectionendtoend_unittest.cc', 204 'app/webrtc/peerconnectionendtoend_unittest.cc',
205 'app/webrtc/peerconnectionfactory_unittest.cc', 205 'app/webrtc/peerconnectionfactory_unittest.cc',
206 'app/webrtc/peerconnectioninterface_unittest.cc', 206 'app/webrtc/peerconnectioninterface_unittest.cc',
207 # 'app/webrtc/peerconnectionproxy_unittest.cc', 207 # 'app/webrtc/peerconnectionproxy_unittest.cc',
208 'app/webrtc/remotevideocapturer_unittest.cc', 208 'app/webrtc/remotevideocapturer_unittest.cc',
209 'app/webrtc/rtpsenderreceiver_unittest.cc', 209 'app/webrtc/rtpsenderreceiver_unittest.cc',
210 'app/webrtc/sctputils.cc',
211 'app/webrtc/statscollector_unittest.cc', 210 'app/webrtc/statscollector_unittest.cc',
212 'app/webrtc/test/fakeaudiocapturemodule.cc', 211 'app/webrtc/test/fakeaudiocapturemodule.cc',
213 'app/webrtc/test/fakeaudiocapturemodule.h', 212 'app/webrtc/test/fakeaudiocapturemodule.h',
214 'app/webrtc/test/fakeaudiocapturemodule_unittest.cc', 213 'app/webrtc/test/fakeaudiocapturemodule_unittest.cc',
215 'app/webrtc/test/fakeconstraints.h', 214 'app/webrtc/test/fakeconstraints.h',
216 'app/webrtc/test/fakedatachannelprovider.h', 215 'app/webrtc/test/fakedatachannelprovider.h',
217 'app/webrtc/test/fakedtlsidentitystore.h', 216 'app/webrtc/test/fakedtlsidentitystore.h',
218 'app/webrtc/test/fakeperiodicvideocapturer.h', 217 'app/webrtc/test/fakeperiodicvideocapturer.h',
219 'app/webrtc/test/fakevideotrackrenderer.h', 218 'app/webrtc/test/fakevideotrackrenderer.h',
220 'app/webrtc/test/mockpeerconnectionobservers.h', 219 'app/webrtc/test/mockpeerconnectionobservers.h',
221 'app/webrtc/test/peerconnectiontestwrapper.h', 220 'app/webrtc/test/peerconnectiontestwrapper.h',
222 'app/webrtc/test/peerconnectiontestwrapper.cc', 221 'app/webrtc/test/peerconnectiontestwrapper.cc',
223 'app/webrtc/test/testsdpstrings.h', 222 'app/webrtc/test/testsdpstrings.h',
224 'app/webrtc/videosource_unittest.cc', 223 'app/webrtc/videosource_unittest.cc',
225 'app/webrtc/videotrack_unittest.cc', 224 'app/webrtc/videotrack_unittest.cc',
226 'app/webrtc/webrtcsdp_unittest.cc', 225 'app/webrtc/webrtcsdp_unittest.cc',
227 'app/webrtc/webrtcsession_unittest.cc', 226 'app/webrtc/webrtcsession_unittest.cc',
228 ], 227 ],
229 'conditions': [ 228 'conditions': [
230 ['OS=="android"', { 229 ['OS=="android"', {
231 # We want gmock features that use tr1::tuple, but we currently 230 'sources': [
232 # don't support the variadic templates used by libstdc++'s 231 'app/webrtc/test/androidtestinitializer.cc',
233 # implementation. gmock supports this scenario by providing its 232 'app/webrtc/test/androidtestinitializer.h',
234 # own implementation but we must opt in to it. 233 ],
235 'defines': [ 234 'dependencies': [
236 'GTEST_USE_OWN_TR1_TUPLE=1', 235 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
237 # GTEST_USE_OWN_TR1_TUPLE only works if GTEST_HAS_TR1_TUPLE is set. 236 'libjingle.gyp:libjingle_peerconnection_jni',
238 # gmock r625 made it so that GTEST_HAS_TR1_TUPLE is set to 0 237 ],
239 # automatically on android, so it has to be set explicitly here.
240 'GTEST_HAS_TR1_TUPLE=1',
241 ],
242 }], 238 }],
243 ], 239 ],
244 }, # target libjingle_peerconnection_unittest 240 }, # target libjingle_peerconnection_unittest
245 ], 241 ],
246 'conditions': [ 242 'conditions': [
247 ['OS=="linux"', { 243 ['OS=="linux"', {
248 'variables': { 244 'variables': {
249 'junit_jar': '<(DEPTH)/third_party/junit-jar/junit-4.11.jar', 245 'junit_jar': '<(DEPTH)/third_party/junit-jar/junit-4.11.jar',
250 }, 246 },
251 'targets': [ 247 'targets': [
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 'conditions': [ 382 'conditions': [
387 ['OS=="mac"', { 383 ['OS=="mac"', {
388 'xcode_settings': { 384 'xcode_settings': {
389 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 385 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
390 }, 386 },
391 }], 387 }],
392 ], 388 ],
393 }, # target apprtc_signaling_gunit_test 389 }, # target apprtc_signaling_gunit_test
394 ], 390 ],
395 }], 391 }],
392 ['OS=="android"', {
393 'targets': [
394 {
395 'target_name': 'libjingle_peerconnection_unittest_apk_target',
396 'type': 'none',
397 'dependencies': [
398 '<(DEPTH)/webrtc/build/apk_tests.gyp:libjingle_peerconnection_unitte st_apk',
399 ],
400 },
401 ],
402 }],
396 ['test_isolation_mode != "noop"', { 403 ['test_isolation_mode != "noop"', {
397 'targets': [ 404 'targets': [
398 { 405 {
399 'target_name': 'libjingle_media_unittest_run', 406 'target_name': 'libjingle_media_unittest_run',
400 'type': 'none', 407 'type': 'none',
401 'dependencies': [ 408 'dependencies': [
402 'libjingle_media_unittest', 409 'libjingle_media_unittest',
403 ], 410 ],
404 'includes': [ 411 'includes': [
405 'build/isolate.gypi', 412 'build/isolate.gypi',
(...skipping 25 matching lines...) Expand all
431 'build/isolate.gypi', 438 'build/isolate.gypi',
432 ], 439 ],
433 'sources': [ 440 'sources': [
434 'libjingle_peerconnection_unittest.isolate', 441 'libjingle_peerconnection_unittest.isolate',
435 ], 442 ],
436 }, 443 },
437 ], 444 ],
438 }], 445 }],
439 ], 446 ],
440 } 447 }
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