| OLD | NEW |
| 1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 { | 8 { |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'rtc_unittests', | |
| 12 'type': '<(gtest_target_type)', | |
| 13 'dependencies': [ | |
| 14 'base/base.gyp:rtc_base', | |
| 15 'base/base.gyp:rtc_task_queue', | |
| 16 'base/base_tests.gyp:rtc_base_tests_utils', | |
| 17 'p2p/p2p.gyp:rtc_p2p', | |
| 18 'p2p/p2p.gyp:libstunprober', | |
| 19 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 20 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 21 ], | |
| 22 'sources': [ | |
| 23 'base/array_view_unittest.cc', | |
| 24 'base/atomicops_unittest.cc', | |
| 25 'base/autodetectproxy_unittest.cc', | |
| 26 'base/bandwidthsmoother_unittest.cc', | |
| 27 'base/base64_unittest.cc', | |
| 28 'base/basictypes_unittest.cc', | |
| 29 'base/bind_unittest.cc', | |
| 30 'base/bitbuffer_unittest.cc', | |
| 31 'base/buffer_unittest.cc', | |
| 32 'base/bufferqueue_unittest.cc', | |
| 33 'base/bytebuffer_unittest.cc', | |
| 34 'base/byteorder_unittest.cc', | |
| 35 'base/callback_unittest.cc', | |
| 36 'base/copyonwritebuffer_unittest.cc', | |
| 37 'base/crc32_unittest.cc', | |
| 38 'base/criticalsection_unittest.cc', | |
| 39 'base/event_tracer_unittest.cc', | |
| 40 'base/event_unittest.cc', | |
| 41 'base/exp_filter_unittest.cc', | |
| 42 'base/file_unittest.cc', | |
| 43 'base/filerotatingstream_unittest.cc', | |
| 44 'base/fileutils_unittest.cc', | |
| 45 'base/helpers_unittest.cc', | |
| 46 'base/httpbase_unittest.cc', | |
| 47 'base/httpcommon_unittest.cc', | |
| 48 'base/httpserver_unittest.cc', | |
| 49 'base/ipaddress_unittest.cc', | |
| 50 'base/logging_unittest.cc', | |
| 51 'base/md5digest_unittest.cc', | |
| 52 'base/messagedigest_unittest.cc', | |
| 53 'base/messagequeue_unittest.cc', | |
| 54 'base/mod_ops_unittest.cc', | |
| 55 'base/multipart_unittest.cc', | |
| 56 'base/nat_unittest.cc', | |
| 57 'base/network_unittest.cc', | |
| 58 'base/onetimeevent_unittest.cc', | |
| 59 'base/optional_unittest.cc', | |
| 60 'base/optionsfile_unittest.cc', | |
| 61 'base/pathutils_unittest.cc', | |
| 62 'base/platform_thread_unittest.cc', | |
| 63 'base/profiler_unittest.cc', | |
| 64 'base/proxy_unittest.cc', | |
| 65 'base/proxydetect_unittest.cc', | |
| 66 'base/random_unittest.cc', | |
| 67 'base/rate_limiter_unittest.cc', | |
| 68 'base/rate_statistics_unittest.cc', | |
| 69 'base/ratelimiter_unittest.cc', | |
| 70 'base/ratetracker_unittest.cc', | |
| 71 'base/referencecountedsingletonfactory_unittest.cc', | |
| 72 'base/rollingaccumulator_unittest.cc', | |
| 73 'base/rtccertificate_unittest.cc', | |
| 74 'base/rtccertificategenerator_unittest.cc', | |
| 75 'base/scopedptrcollection_unittest.cc', | |
| 76 'base/sequenced_task_checker_unittest.cc', | |
| 77 'base/sha1digest_unittest.cc', | |
| 78 'base/sharedexclusivelock_unittest.cc', | |
| 79 'base/signalthread_unittest.cc', | |
| 80 'base/sigslot_unittest.cc', | |
| 81 'base/sigslottester.h', | |
| 82 'base/sigslottester.h.pump', | |
| 83 'base/stream_unittest.cc', | |
| 84 'base/stringencode_unittest.cc', | |
| 85 'base/stringutils_unittest.cc', | |
| 86 'base/swap_queue_unittest.cc', | |
| 87 # TODO(ronghuawu): Reenable this test. | |
| 88 # 'systeminfo_unittest.cc', | |
| 89 'base/task_queue_unittest.cc', | |
| 90 'base/task_unittest.cc', | |
| 91 'base/testclient_unittest.cc', | |
| 92 'base/thread_checker_unittest.cc', | |
| 93 'base/thread_unittest.cc', | |
| 94 'base/timestampaligner_unittest.cc', | |
| 95 'base/timeutils_unittest.cc', | |
| 96 'base/urlencode_unittest.cc', | |
| 97 'base/versionparsing_unittest.cc', | |
| 98 # TODO(ronghuawu): Reenable this test. | |
| 99 # 'windowpicker_unittest.cc', | |
| 100 'p2p/base/dtlstransportchannel_unittest.cc', | |
| 101 'p2p/base/fakeportallocator.h', | |
| 102 'p2p/base/faketransportcontroller.h', | |
| 103 'p2p/base/p2ptransportchannel_unittest.cc', | |
| 104 'p2p/base/port_unittest.cc', | |
| 105 'p2p/base/portallocator_unittest.cc', | |
| 106 'p2p/base/pseudotcp_unittest.cc', | |
| 107 'p2p/base/relayport_unittest.cc', | |
| 108 'p2p/base/relayserver_unittest.cc', | |
| 109 'p2p/base/stun_unittest.cc', | |
| 110 'p2p/base/stunport_unittest.cc', | |
| 111 'p2p/base/stunrequest_unittest.cc', | |
| 112 'p2p/base/stunserver_unittest.cc', | |
| 113 'p2p/base/testrelayserver.h', | |
| 114 'p2p/base/teststunserver.h', | |
| 115 'p2p/base/testturnserver.h', | |
| 116 'p2p/base/transport_unittest.cc', | |
| 117 'p2p/base/transportcontroller_unittest.cc', | |
| 118 'p2p/base/transportdescriptionfactory_unittest.cc', | |
| 119 'p2p/base/tcpport_unittest.cc', | |
| 120 'p2p/base/turnport_unittest.cc', | |
| 121 'p2p/base/turnserver_unittest.cc', | |
| 122 'p2p/client/basicportallocator_unittest.cc', | |
| 123 'p2p/stunprober/stunprober_unittest.cc', | |
| 124 ], | |
| 125 'conditions': [ | |
| 126 ['OS=="linux"', { | |
| 127 'sources': [ | |
| 128 'base/latebindingsymboltable_unittest.cc', | |
| 129 # TODO(ronghuawu): Reenable this test. | |
| 130 # 'linux_unittest.cc', | |
| 131 'base/linuxfdwalk_unittest.cc', | |
| 132 ], | |
| 133 }], | |
| 134 ['OS=="win"', { | |
| 135 'sources': [ | |
| 136 'base/win32_unittest.cc', | |
| 137 'base/win32regkey_unittest.cc', | |
| 138 'base/win32window_unittest.cc', | |
| 139 'base/win32windowpicker_unittest.cc', | |
| 140 'base/winfirewall_unittest.cc', | |
| 141 ], | |
| 142 }], | |
| 143 ['OS=="win" and clang==1', { | |
| 144 'msvs_settings': { | |
| 145 'VCCLCompilerTool': { | |
| 146 'AdditionalOptions': [ | |
| 147 # Disable warnings failing when compiling with Clang on Windows. | |
| 148 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 | |
| 149 '-Wno-missing-braces', | |
| 150 '-Wno-sign-compare', | |
| 151 '-Wno-unused-const-variable', | |
| 152 ], | |
| 153 }, | |
| 154 }, | |
| 155 }], | |
| 156 ['OS=="mac"', { | |
| 157 'sources': [ | |
| 158 'base/macutils_unittest.cc', | |
| 159 ], | |
| 160 }], | |
| 161 ['os_posix==1', { | |
| 162 'sources': [ | |
| 163 'base/ssladapter_unittest.cc', | |
| 164 'base/sslidentity_unittest.cc', | |
| 165 'base/sslstreamadapter_unittest.cc', | |
| 166 ], | |
| 167 }], | |
| 168 ['use_quic==1', { | |
| 169 'sources': [ | |
| 170 'p2p/quic/quicconnectionhelper_unittest.cc', | |
| 171 'p2p/quic/quicsession_unittest.cc', | |
| 172 'p2p/quic/quictransport_unittest.cc', | |
| 173 'p2p/quic/quictransportchannel_unittest.cc', | |
| 174 'p2p/quic/reliablequicstream_unittest.cc', | |
| 175 ], | |
| 176 }], | |
| 177 ['OS=="android"', { | |
| 178 'dependencies': [ | |
| 179 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | |
| 180 ], | |
| 181 }], | |
| 182 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { | |
| 183 'includes': [ | |
| 184 'build/objc_common.gypi', | |
| 185 ], | |
| 186 'dependencies': [ | |
| 187 'sdk/sdk.gyp:rtc_sdk_peerconnection_objc', | |
| 188 'system_wrappers/system_wrappers.gyp:metrics_default', | |
| 189 ], | |
| 190 'sources': [ | |
| 191 'sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm', | |
| 192 'sdk/objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm', | |
| 193 'sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm', | |
| 194 'sdk/objc/Framework/UnitTests/RTCIceServerTest.mm', | |
| 195 'sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm', | |
| 196 'sdk/objc/Framework/UnitTests/RTCSessionDescriptionTest.mm', | |
| 197 ], | |
| 198 'xcode_settings': { | |
| 199 # |-ObjC| flag needed to make sure category method implementations | |
| 200 # are included: | |
| 201 # https://developer.apple.com/library/mac/qa/qa1490/_index.html | |
| 202 'OTHER_LDFLAGS': ['-ObjC'], | |
| 203 }, | |
| 204 }], | |
| 205 ], | |
| 206 }, | |
| 207 { | |
| 208 'target_name': 'xmllite_xmpp_unittests', | |
| 209 'type': '<(gtest_target_type)', | |
| 210 'dependencies': [ | |
| 211 'base/base_tests.gyp:rtc_base_tests_utils', # needed for main() | |
| 212 'libjingle/xmllite/xmllite.gyp:rtc_xmllite', | |
| 213 'libjingle/xmpp/xmpp.gyp:rtc_xmpp', | |
| 214 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 215 ], | |
| 216 'sources': [ | |
| 217 'libjingle/xmllite/qname_unittest.cc', | |
| 218 'libjingle/xmllite/xmlbuilder_unittest.cc', | |
| 219 'libjingle/xmllite/xmlelement_unittest.cc', | |
| 220 'libjingle/xmllite/xmlnsstack_unittest.cc', | |
| 221 'libjingle/xmllite/xmlparser_unittest.cc', | |
| 222 'libjingle/xmllite/xmlprinter_unittest.cc', | |
| 223 'libjingle/xmpp/fakexmppclient.h', | |
| 224 'libjingle/xmpp/hangoutpubsubclient_unittest.cc', | |
| 225 'libjingle/xmpp/jid_unittest.cc', | |
| 226 'libjingle/xmpp/mucroomconfigtask_unittest.cc', | |
| 227 'libjingle/xmpp/mucroomdiscoverytask_unittest.cc', | |
| 228 'libjingle/xmpp/mucroomlookuptask_unittest.cc', | |
| 229 'libjingle/xmpp/mucroomuniquehangoutidtask_unittest.cc', | |
| 230 'libjingle/xmpp/pingtask_unittest.cc', | |
| 231 'libjingle/xmpp/pubsubclient_unittest.cc', | |
| 232 'libjingle/xmpp/pubsubtasks_unittest.cc', | |
| 233 'libjingle/xmpp/util_unittest.cc', | |
| 234 'libjingle/xmpp/util_unittest.h', | |
| 235 'libjingle/xmpp/xmppengine_unittest.cc', | |
| 236 'libjingle/xmpp/xmpplogintask_unittest.cc', | |
| 237 'libjingle/xmpp/xmppstanzaparser_unittest.cc', | |
| 238 ], | |
| 239 }, | |
| 240 { | |
| 241 'target_name': 'webrtc_tests', | |
| 242 'type': 'none', | |
| 243 'dependencies': [ | |
| 244 'video_engine_tests', | |
| 245 'video_loopback', | |
| 246 'video_replay', | |
| 247 'webrtc_perf_tests', | |
| 248 'webrtc_nonparallel_tests', | |
| 249 ], | |
| 250 }, | |
| 251 { | |
| 252 'target_name': 'video_quality_test', | 11 'target_name': 'video_quality_test', |
| 253 'type': 'static_library', | 12 'type': 'static_library', |
| 254 'sources': [ | 13 'sources': [ |
| 255 'video/video_quality_test.cc', | 14 'video/video_quality_test.cc', |
| 256 'video/video_quality_test.h', | 15 'video/video_quality_test.h', |
| 257 ], | 16 ], |
| 258 'dependencies': [ | 17 'dependencies': [ |
| 259 '<(DEPTH)/testing/gtest.gyp:gtest', | 18 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 260 '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl', | 19 '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl', |
| 261 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 20 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 262 'webrtc', | 21 'webrtc', |
| 263 ], | 22 ], |
| 264 'conditions': [ | 23 'conditions': [ |
| 265 ['OS=="android"', { | 24 ['OS=="android"', { |
| 266 'dependencies!': [ | 25 'dependencies!': [ |
| 267 '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_im
pl', | 26 '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_im
pl', |
| 268 ], | 27 ], |
| 269 }], | 28 }], |
| 270 ], | 29 ], |
| 271 }, | 30 }, |
| 272 { | 31 { |
| 273 'target_name': 'video_loopback', | |
| 274 'type': 'executable', | |
| 275 'sources': [ | |
| 276 'test/run_test.h', | |
| 277 'video/video_loopback.cc', | |
| 278 ], | |
| 279 'conditions': [ | |
| 280 ['OS=="mac"', { | |
| 281 'sources': [ | |
| 282 'test/mac/run_test.mm', | |
| 283 ], | |
| 284 }, { | |
| 285 'sources': [ | |
| 286 'test/run_test.cc', | |
| 287 ], | |
| 288 }], | |
| 289 ], | |
| 290 'dependencies': [ | |
| 291 'video_quality_test', | |
| 292 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 293 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 294 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default', | |
| 295 'test/test.gyp:field_trial', | |
| 296 'test/test.gyp:test_common', | |
| 297 'test/test.gyp:test_renderer', | |
| 298 ], | |
| 299 }, | |
| 300 { | |
| 301 'target_name': 'screenshare_loopback', | 32 'target_name': 'screenshare_loopback', |
| 302 'type': 'executable', | 33 'type': 'executable', |
| 303 'sources': [ | 34 'sources': [ |
| 304 'test/mac/run_test.mm', | 35 'test/mac/run_test.mm', |
| 305 'test/run_test.cc', | 36 'test/run_test.cc', |
| 306 'test/run_test.h', | 37 'test/run_test.h', |
| 307 'video/screenshare_loopback.cc', | 38 'video/screenshare_loopback.cc', |
| 308 ], | 39 ], |
| 309 'conditions': [ | 40 'conditions': [ |
| 310 ['OS=="mac"', { | 41 ['OS=="mac"', { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 'dependencies': [ | 73 'dependencies': [ |
| 343 '<(DEPTH)/testing/gtest.gyp:gtest', | 74 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 344 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | 75 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 345 'test/test.gyp:test_common', | 76 'test/test.gyp:test_common', |
| 346 'test/test.gyp:test_renderer', | 77 'test/test.gyp:test_renderer', |
| 347 '<(webrtc_root)/modules/modules.gyp:video_capture', | 78 '<(webrtc_root)/modules/modules.gyp:video_capture', |
| 348 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa
ult', | 79 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa
ult', |
| 349 'webrtc', | 80 'webrtc', |
| 350 ], | 81 ], |
| 351 }, | 82 }, |
| 352 { | |
| 353 # TODO(solenberg): Rename to webrtc_call_tests. | |
| 354 'target_name': 'video_engine_tests', | |
| 355 'type': '<(gtest_target_type)', | |
| 356 'sources': [ | |
| 357 'audio/audio_receive_stream_unittest.cc', | |
| 358 'audio/audio_send_stream_unittest.cc', | |
| 359 'audio/audio_state_unittest.cc', | |
| 360 'call/bitrate_allocator_unittest.cc', | |
| 361 'call/bitrate_estimator_tests.cc', | |
| 362 'call/call_unittest.cc', | |
| 363 'call/packet_injection_tests.cc', | |
| 364 'call/ringbuffer_unittest.cc', | |
| 365 'video/call_stats_unittest.cc', | |
| 366 'video/encoder_state_feedback_unittest.cc', | |
| 367 'video/end_to_end_tests.cc', | |
| 368 'video/overuse_frame_detector_unittest.cc', | |
| 369 'video/payload_router_unittest.cc', | |
| 370 'video/report_block_stats_unittest.cc', | |
| 371 'video/send_delay_stats_unittest.cc', | |
| 372 'video/send_statistics_proxy_unittest.cc', | |
| 373 'video/stats_counter_unittest.cc', | |
| 374 'video/stream_synchronization_unittest.cc', | |
| 375 'video/video_decoder_unittest.cc', | |
| 376 'video/video_encoder_unittest.cc', | |
| 377 'video/video_send_stream_tests.cc', | |
| 378 'video/vie_encoder_unittest.cc', | |
| 379 'video/vie_remb_unittest.cc', | |
| 380 ], | |
| 381 'dependencies': [ | |
| 382 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 383 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 384 '<(webrtc_root)/api/api.gyp:call_api', | |
| 385 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 386 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', | |
| 387 '<(webrtc_root)/modules/modules.gyp:video_capture', | |
| 388 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine', | |
| 389 'test/test.gyp:test_common', | |
| 390 'test/test.gyp:test_main', | |
| 391 'test/test.gyp:test_support', | |
| 392 'webrtc', | |
| 393 ], | |
| 394 'conditions': [ | |
| 395 ['rtc_use_h264==1', { | |
| 396 'defines': [ | |
| 397 'WEBRTC_END_TO_END_H264_TESTS', | |
| 398 ], | |
| 399 }], | |
| 400 ['OS=="android"', { | |
| 401 'dependencies': [ | |
| 402 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | |
| 403 ], | |
| 404 }], | |
| 405 ['OS=="ios"', { | |
| 406 'mac_bundle_resources': [ | |
| 407 '<(DEPTH)/resources/foreman_cif_short.yuv', | |
| 408 '<(DEPTH)/resources/voice_engine/audio_long16.pcm', | |
| 409 ], | |
| 410 }], | |
| 411 ['enable_protobuf==1', { | |
| 412 'defines': [ | |
| 413 'ENABLE_RTC_EVENT_LOG', | |
| 414 ], | |
| 415 'dependencies': [ | |
| 416 'webrtc.gyp:rtc_event_log', | |
| 417 'webrtc.gyp:rtc_event_log_parser', | |
| 418 'webrtc.gyp:rtc_event_log_proto', | |
| 419 ], | |
| 420 'sources': [ | |
| 421 'call/rtc_event_log_unittest.cc', | |
| 422 'call/rtc_event_log_unittest_helper.cc' | |
| 423 ], | |
| 424 }], | |
| 425 ], | |
| 426 }, | |
| 427 { | |
| 428 'target_name': 'webrtc_perf_tests', | |
| 429 'type': '<(gtest_target_type)', | |
| 430 'sources': [ | |
| 431 'call/call_perf_tests.cc', | |
| 432 'call/rampup_tests.cc', | |
| 433 'call/rampup_tests.h', | |
| 434 'modules/audio_coding/neteq/test/neteq_performance_unittest.cc', | |
| 435 'modules/audio_processing/audio_processing_performance_unittest.cc', | |
| 436 'modules/audio_processing/level_controller/level_controller_complexity_u
nittest.cc', | |
| 437 'modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc', | |
| 438 'video/full_stack.cc', | |
| 439 ], | |
| 440 'dependencies': [ | |
| 441 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 442 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 443 '<(webrtc_root)/modules/modules.gyp:audio_processing', | |
| 444 '<(webrtc_root)/modules/modules.gyp:audioproc_test_utils', | |
| 445 '<(webrtc_root)/modules/modules.gyp:video_capture', | |
| 446 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine', | |
| 447 'video_quality_test', | |
| 448 'modules/modules.gyp:neteq_test_support', | |
| 449 'modules/modules.gyp:bwe_simulator', | |
| 450 'modules/modules.gyp:rtp_rtcp', | |
| 451 'test/test.gyp:test_common', | |
| 452 'test/test.gyp:test_main', | |
| 453 'test/test.gyp:test_renderer', | |
| 454 'webrtc', | |
| 455 ], | |
| 456 'conditions': [ | |
| 457 ['enable_intelligibility_enhancer==1', { | |
| 458 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=1',], | |
| 459 }, { | |
| 460 'defines': ['WEBRTC_INTELLIGIBILITY_ENHANCER=0',], | |
| 461 }], | |
| 462 | |
| 463 ['OS=="android"', { | |
| 464 'dependencies': [ | |
| 465 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | |
| 466 ], | |
| 467 }], | |
| 468 ], | |
| 469 }, | |
| 470 { | |
| 471 'target_name': 'webrtc_nonparallel_tests', | |
| 472 'type': '<(gtest_target_type)', | |
| 473 'sources': [ | |
| 474 'base/nullsocketserver_unittest.cc', | |
| 475 'base/physicalsocketserver_unittest.cc', | |
| 476 'base/socket_unittest.cc', | |
| 477 'base/socket_unittest.h', | |
| 478 'base/socketaddress_unittest.cc', | |
| 479 'base/virtualsocket_unittest.cc', | |
| 480 ], | |
| 481 'defines': [ | |
| 482 'GTEST_RELATIVE_PATH', | |
| 483 ], | |
| 484 'dependencies': [ | |
| 485 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 486 'base/base.gyp:rtc_base', | |
| 487 'test/test.gyp:test_main', | |
| 488 ], | |
| 489 'conditions': [ | |
| 490 ['OS=="android"', { | |
| 491 'dependencies': [ | |
| 492 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | |
| 493 ], | |
| 494 }], | |
| 495 ['OS=="win"', { | |
| 496 'sources': [ | |
| 497 'base/win32socketserver_unittest.cc', | |
| 498 ], | |
| 499 }], | |
| 500 ['OS=="mac"', { | |
| 501 'sources': [ | |
| 502 'base/macsocketserver_unittest.cc', | |
| 503 ], | |
| 504 }], | |
| 505 ], | |
| 506 }, | |
| 507 ], | |
| 508 'conditions': [ | |
| 509 ['OS=="android"', { | |
| 510 'targets': [ | |
| 511 { | |
| 512 'target_name': 'rtc_unittests_apk_target', | |
| 513 'type': 'none', | |
| 514 'dependencies': [ | |
| 515 '<(android_tests_path):rtc_unittests_apk', | |
| 516 ], | |
| 517 }, | |
| 518 { | |
| 519 'target_name': 'video_engine_tests_apk_target', | |
| 520 'type': 'none', | |
| 521 'dependencies': [ | |
| 522 '<(android_tests_path):video_engine_tests_apk', | |
| 523 ], | |
| 524 }, | |
| 525 { | |
| 526 'target_name': 'webrtc_perf_tests_apk_target', | |
| 527 'type': 'none', | |
| 528 'dependencies': [ | |
| 529 '<(android_tests_path):webrtc_perf_tests_apk', | |
| 530 ], | |
| 531 }, | |
| 532 { | |
| 533 'target_name': 'webrtc_nonparallel_tests_apk_target', | |
| 534 'type': 'none', | |
| 535 'dependencies': [ | |
| 536 '<(android_tests_path):webrtc_nonparallel_tests_apk', | |
| 537 ], | |
| 538 }, | |
| 539 { | |
| 540 'target_name': 'android_junit_tests_target', | |
| 541 'type': 'none', | |
| 542 'dependencies': [ | |
| 543 '<(android_tests_path):android_junit_tests', | |
| 544 ], | |
| 545 }, | |
| 546 ], | |
| 547 'conditions': [ | |
| 548 ['test_isolation_mode != "noop"', | |
| 549 { | |
| 550 'targets': [ | |
| 551 { | |
| 552 'target_name': 'rtc_unittests_apk_run', | |
| 553 'type': 'none', | |
| 554 'dependencies': [ | |
| 555 '<(android_tests_path):rtc_unittests_apk', | |
| 556 ], | |
| 557 'includes': [ | |
| 558 'build/isolate.gypi', | |
| 559 ], | |
| 560 'sources': [ | |
| 561 'rtc_unittests_apk.isolate', | |
| 562 ], | |
| 563 }, | |
| 564 { | |
| 565 'target_name': 'video_engine_tests_apk_run', | |
| 566 'type': 'none', | |
| 567 'dependencies': [ | |
| 568 '<(android_tests_path):video_engine_tests_apk', | |
| 569 ], | |
| 570 'includes': [ | |
| 571 'build/isolate.gypi', | |
| 572 ], | |
| 573 'sources': [ | |
| 574 'video_engine_tests_apk.isolate', | |
| 575 ], | |
| 576 }, | |
| 577 { | |
| 578 'target_name': 'webrtc_perf_tests_apk_run', | |
| 579 'type': 'none', | |
| 580 'dependencies': [ | |
| 581 '<(android_tests_path):webrtc_perf_tests_apk', | |
| 582 ], | |
| 583 'includes': [ | |
| 584 'build/isolate.gypi', | |
| 585 ], | |
| 586 'sources': [ | |
| 587 'webrtc_perf_tests_apk.isolate', | |
| 588 ], | |
| 589 }, | |
| 590 { | |
| 591 'target_name': 'webrtc_nonparallel_tests_apk_run', | |
| 592 'type': 'none', | |
| 593 'dependencies': [ | |
| 594 '<(android_tests_path):webrtc_nonparallel_tests_apk', | |
| 595 ], | |
| 596 'includes': [ | |
| 597 'build/isolate.gypi', | |
| 598 ], | |
| 599 'sources': [ | |
| 600 'webrtc_nonparallel_tests_apk.isolate', | |
| 601 ], | |
| 602 }, | |
| 603 ], | |
| 604 }, | |
| 605 ], | |
| 606 ], | |
| 607 }], | |
| 608 ['test_isolation_mode != "noop"', { | |
| 609 'targets': [ | |
| 610 { | |
| 611 'target_name': 'rtc_unittests_run', | |
| 612 'type': 'none', | |
| 613 'dependencies': [ | |
| 614 'rtc_unittests', | |
| 615 ], | |
| 616 'includes': [ | |
| 617 'build/isolate.gypi', | |
| 618 ], | |
| 619 'sources': [ | |
| 620 'rtc_unittests.isolate', | |
| 621 ], | |
| 622 }, | |
| 623 { | |
| 624 'target_name': 'video_engine_tests_run', | |
| 625 'type': 'none', | |
| 626 'dependencies': [ | |
| 627 'video_engine_tests', | |
| 628 ], | |
| 629 'includes': [ | |
| 630 'build/isolate.gypi', | |
| 631 ], | |
| 632 'sources': [ | |
| 633 'video_engine_tests.isolate', | |
| 634 ], | |
| 635 }, | |
| 636 { | |
| 637 'target_name': 'webrtc_nonparallel_tests_run', | |
| 638 'type': 'none', | |
| 639 'dependencies': [ | |
| 640 'webrtc_nonparallel_tests', | |
| 641 ], | |
| 642 'includes': [ | |
| 643 'build/isolate.gypi', | |
| 644 ], | |
| 645 'sources': [ | |
| 646 'webrtc_nonparallel_tests.isolate', | |
| 647 ], | |
| 648 }, | |
| 649 { | |
| 650 'target_name': 'webrtc_perf_tests_run', | |
| 651 'type': 'none', | |
| 652 'dependencies': [ | |
| 653 'webrtc_perf_tests', | |
| 654 ], | |
| 655 'includes': [ | |
| 656 'build/isolate.gypi', | |
| 657 ], | |
| 658 'sources': [ | |
| 659 'webrtc_perf_tests.isolate', | |
| 660 ], | |
| 661 }, | |
| 662 ], | |
| 663 }], | |
| 664 ], | 83 ], |
| 665 } | 84 } |
| OLD | NEW |