OLD | NEW |
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 Loading... |
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': '<(gtest_target_type)', | 179 'type': 'executable', |
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 Loading... |
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', |
210 'app/webrtc/statscollector_unittest.cc', | 211 'app/webrtc/statscollector_unittest.cc', |
211 'app/webrtc/test/fakeaudiocapturemodule.cc', | 212 'app/webrtc/test/fakeaudiocapturemodule.cc', |
212 'app/webrtc/test/fakeaudiocapturemodule.h', | 213 'app/webrtc/test/fakeaudiocapturemodule.h', |
213 'app/webrtc/test/fakeaudiocapturemodule_unittest.cc', | 214 'app/webrtc/test/fakeaudiocapturemodule_unittest.cc', |
214 'app/webrtc/test/fakeconstraints.h', | 215 'app/webrtc/test/fakeconstraints.h', |
215 'app/webrtc/test/fakedatachannelprovider.h', | 216 'app/webrtc/test/fakedatachannelprovider.h', |
216 'app/webrtc/test/fakedtlsidentitystore.h', | 217 'app/webrtc/test/fakedtlsidentitystore.h', |
217 'app/webrtc/test/fakeperiodicvideocapturer.h', | 218 'app/webrtc/test/fakeperiodicvideocapturer.h', |
218 'app/webrtc/test/fakevideotrackrenderer.h', | 219 'app/webrtc/test/fakevideotrackrenderer.h', |
219 'app/webrtc/test/mockpeerconnectionobservers.h', | 220 'app/webrtc/test/mockpeerconnectionobservers.h', |
220 'app/webrtc/test/peerconnectiontestwrapper.h', | 221 'app/webrtc/test/peerconnectiontestwrapper.h', |
221 'app/webrtc/test/peerconnectiontestwrapper.cc', | 222 'app/webrtc/test/peerconnectiontestwrapper.cc', |
222 'app/webrtc/test/testsdpstrings.h', | 223 'app/webrtc/test/testsdpstrings.h', |
223 'app/webrtc/videosource_unittest.cc', | 224 'app/webrtc/videosource_unittest.cc', |
224 'app/webrtc/videotrack_unittest.cc', | 225 'app/webrtc/videotrack_unittest.cc', |
225 'app/webrtc/webrtcsdp_unittest.cc', | 226 'app/webrtc/webrtcsdp_unittest.cc', |
226 'app/webrtc/webrtcsession_unittest.cc', | 227 'app/webrtc/webrtcsession_unittest.cc', |
227 ], | 228 ], |
228 'conditions': [ | 229 'conditions': [ |
229 ['OS=="android"', { | 230 ['OS=="android"', { |
230 'sources': [ | 231 # We want gmock features that use tr1::tuple, but we currently |
231 'app/webrtc/test/androidtestinitializer.cc', | 232 # don't support the variadic templates used by libstdc++'s |
232 'app/webrtc/test/androidtestinitializer.h', | 233 # implementation. gmock supports this scenario by providing its |
233 ], | 234 # own implementation but we must opt in to it. |
234 'dependencies': [ | 235 'defines': [ |
235 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | 236 'GTEST_USE_OWN_TR1_TUPLE=1', |
236 'libjingle.gyp:libjingle_peerconnection_jni', | 237 # GTEST_USE_OWN_TR1_TUPLE only works if GTEST_HAS_TR1_TUPLE is set. |
237 ], | 238 # gmock r625 made it so that GTEST_HAS_TR1_TUPLE is set to 0 |
| 239 # automatically on android, so it has to be set explicitly here. |
| 240 'GTEST_HAS_TR1_TUPLE=1', |
| 241 ], |
238 }], | 242 }], |
239 ], | 243 ], |
240 }, # target libjingle_peerconnection_unittest | 244 }, # target libjingle_peerconnection_unittest |
241 ], | 245 ], |
242 'conditions': [ | 246 'conditions': [ |
243 ['OS=="linux"', { | 247 ['OS=="linux"', { |
244 'variables': { | 248 'variables': { |
245 'junit_jar': '<(DEPTH)/third_party/junit-jar/junit-4.11.jar', | 249 'junit_jar': '<(DEPTH)/third_party/junit-jar/junit-4.11.jar', |
246 }, | 250 }, |
247 'targets': [ | 251 'targets': [ |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 'conditions': [ | 386 'conditions': [ |
383 ['OS=="mac"', { | 387 ['OS=="mac"', { |
384 'xcode_settings': { | 388 'xcode_settings': { |
385 'MACOSX_DEPLOYMENT_TARGET' : '10.8', | 389 'MACOSX_DEPLOYMENT_TARGET' : '10.8', |
386 }, | 390 }, |
387 }], | 391 }], |
388 ], | 392 ], |
389 }, # target apprtc_signaling_gunit_test | 393 }, # target apprtc_signaling_gunit_test |
390 ], | 394 ], |
391 }], | 395 }], |
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 }], | |
403 ['test_isolation_mode != "noop"', { | 396 ['test_isolation_mode != "noop"', { |
404 'targets': [ | 397 'targets': [ |
405 { | 398 { |
406 'target_name': 'libjingle_media_unittest_run', | 399 'target_name': 'libjingle_media_unittest_run', |
407 'type': 'none', | 400 'type': 'none', |
408 'dependencies': [ | 401 'dependencies': [ |
409 'libjingle_media_unittest', | 402 'libjingle_media_unittest', |
410 ], | 403 ], |
411 'includes': [ | 404 'includes': [ |
412 'build/isolate.gypi', | 405 'build/isolate.gypi', |
(...skipping 25 matching lines...) Expand all Loading... |
438 'build/isolate.gypi', | 431 'build/isolate.gypi', |
439 ], | 432 ], |
440 'sources': [ | 433 'sources': [ |
441 'libjingle_peerconnection_unittest.isolate', | 434 'libjingle_peerconnection_unittest.isolate', |
442 ], | 435 ], |
443 }, | 436 }, |
444 ], | 437 ], |
445 }], | 438 }], |
446 ], | 439 ], |
447 } | 440 } |
OLD | NEW |