2013-10-28 16:32:01 +00:00
|
|
|
# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
{
|
|
|
|
|
'targets': [
|
2014-09-10 17:28:19 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'rtc_unittests',
|
2015-03-04 08:47:39 +00:00
|
|
|
'type': '<(gtest_target_type)',
|
2014-09-10 17:28:19 +00:00
|
|
|
'dependencies': [
|
|
|
|
|
'base/base.gyp:rtc_base',
|
|
|
|
|
'base/base_tests.gyp:rtc_base_tests_utils',
|
|
|
|
|
'base/base_tests.gyp:rtc_base_tests',
|
2014-10-02 18:43:47 +00:00
|
|
|
'libjingle/xmllite/xmllite.gyp:rtc_xmllite',
|
2014-10-28 22:20:11 +00:00
|
|
|
'libjingle/xmpp/xmpp.gyp:rtc_xmpp',
|
|
|
|
|
'p2p/p2p.gyp:rtc_p2p',
|
2015-05-15 10:26:52 -07:00
|
|
|
'p2p/p2p.gyp:libstunprober',
|
Reland of move {media,p2p,pc,xmllite,xmpp}_tests.gypi files. (patchset #1 id:1 of https://codereview.webrtc.org/1846693002/ )
The re-land moves the isolate build targets for media.gyp
and pc.gyp into the include_tests==1 condition.
This has been tested in a Chromium checkout and no longer
causes the error that was seen after landing
https://codereview.webrtc.org/1839763004/
Original issue's description:
> Revert of Remove {media,p2p,pc,xmllite,xmpp}_tests.gypi files. (patchset #1 id:1 of https://codereview.webrtc.org/1839763004/ )
>
> Reason for revert:
> Breaks Chromium: https://build.chromium.org/p/chromium.webrtc.fyi/builders/Mac%20Builder/builds/11313/steps/gclient%20runhooks/logs/stdio:
>
> Updating projects from gyp files...
> Using overrides found in /Users/chrome-bot/.gyp/include.gypi
> Traceback (most recent call last):
> File "src/build/gyp_chromium", line 12, in <module>
> execfile(__file__ + '.py')
> File "src/build/gyp_chromium.py", line 341, in <module>
> sys.exit(main())
> File "src/build/gyp_chromium.py", line 328, in main
> gyp_rc = gyp.main(args)
> File "/b/build/slave/Mac_Builder/build/src/tools/gyp/pylib/gyp/__init__.py", line 538, in main
> return gyp_main(args)
> File "/b/build/slave/Mac_Builder/build/src/tools/gyp/pylib/gyp/__init__.py", line 514, in gyp_main
> options.duplicate_basename_check)
> File "/b/build/slave/Mac_Builder/build/src/tools/gyp/pylib/gyp/__init__.py", line 130, in Load
> params['parallel'], params['root_targets'])
> File "/b/build/slave/Mac_Builder/build/src/tools/gyp/pylib/gyp/input.py", line 2800, in Load
> RemoveLinkDependenciesFromNoneTargets(targets)
> File "/b/build/slave/Mac_Builder/build/src/tools/gyp/pylib/gyp/input.py", line 1510, in RemoveLinkDependenciesFromNoneTargets
> if targets[t].get('variables', {}).get('link_dependency', 0):
> KeyError: '/b/build/slave/Mac_Builder/build/src/third_party/webrtc/media/media.gyp:rtc_media_unittests#target'
> Error: Command '/usr/bin/python src/build/gyp_chromium' returned non-zero exit status 1 in /b/build/slave/Mac_Builder/build
> Hook '/usr/bin/python src/build/gyp_chromium' took 20.29 secs
>
> Original issue's description:
> > Remove {media,p2p,pc,xmllite,xmpp}_tests.gypi files.
> >
> > These contributes to circular dependency problems in WebRTC
> > since one have to depend on webrtc.gyp in order to depend on
> > a target in them.
> >
> > This reduces the number of cyclic dependencies in WebRTC from 21
> > to 16.
> >
> > BUG=webrtc:4243
> > NOTRY=True
> > NOPRESUBMIT=True
> >
> > Committed: https://crrev.com/231b69f28dd22f4e2d98e5048f8eaae7b20915e6
> > Cr-Commit-Position: refs/heads/master@{#12166}
>
> TBR=pthatcher@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4243
>
> Committed: https://crrev.com/72644d2cf6b14bbc4a107f79158eaa225f3196b5
> Cr-Commit-Position: refs/heads/master@{#12167}
TBR=pthatcher@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4243
Review URL: https://codereview.webrtc.org/1843193002
Cr-Commit-Position: refs/heads/master@{#12180}
2016-03-31 07:23:49 -07:00
|
|
|
'p2p/p2p.gyp:rtc_p2p_unittest',
|
|
|
|
|
'libjingle/xmllite/xmllite.gyp:rtc_xmllite_unittest',
|
|
|
|
|
'libjingle/xmpp/xmpp.gyp:rtc_xmpp_unittest',
|
2014-09-10 17:28:19 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-05-15 10:26:52 -07:00
|
|
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
2014-09-10 17:28:19 +00:00
|
|
|
],
|
2015-03-04 08:47:39 +00:00
|
|
|
'conditions': [
|
|
|
|
|
['OS=="android"', {
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2016-04-27 01:54:20 -07:00
|
|
|
['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', {
|
2015-12-13 19:58:11 -08:00
|
|
|
'dependencies': [
|
2016-04-27 01:54:20 -07:00
|
|
|
'sdk/sdk_tests.gyp:rtc_sdk_peerconnection_objc_tests',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2015-03-04 08:47:39 +00:00
|
|
|
],
|
2014-09-10 17:28:19 +00:00
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_tests',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'video_engine_tests',
|
|
|
|
|
'video_loopback',
|
2014-08-06 16:26:56 +00:00
|
|
|
'video_replay',
|
2013-12-13 12:48:05 +00:00
|
|
|
'webrtc_perf_tests',
|
2015-10-29 12:41:56 +01:00
|
|
|
'webrtc_nonparallel_tests',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
},
|
2015-09-07 06:04:16 -07:00
|
|
|
{
|
2015-09-17 05:30:24 -07:00
|
|
|
'target_name': 'video_quality_test',
|
2015-02-18 12:46:06 +00:00
|
|
|
'type': 'static_library',
|
|
|
|
|
'sources': [
|
2015-09-17 05:30:24 -07:00
|
|
|
'video/video_quality_test.cc',
|
|
|
|
|
'video/video_quality_test.h',
|
2015-02-18 12:46:06 +00:00
|
|
|
],
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-09-17 05:30:24 -07:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl',
|
2015-02-18 12:46:06 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
|
|
|
|
|
'webrtc',
|
|
|
|
|
],
|
2015-09-17 05:30:24 -07:00
|
|
|
'conditions': [
|
|
|
|
|
['OS=="android"', {
|
|
|
|
|
'dependencies!': [
|
|
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
2015-02-18 12:46:06 +00:00
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'video_loopback',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'sources': [
|
2014-06-05 09:32:51 +00:00
|
|
|
'test/mac/run_test.mm',
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
'test/run_test.h',
|
2015-02-18 12:46:06 +00:00
|
|
|
'video/video_loopback.cc',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
2014-06-05 09:32:51 +00:00
|
|
|
'conditions': [
|
|
|
|
|
['OS=="mac"', {
|
|
|
|
|
'sources!': [
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
2013-10-28 16:32:01 +00:00
|
|
|
'dependencies': [
|
2015-09-17 05:30:24 -07:00
|
|
|
'video_quality_test',
|
2015-02-18 12:46:06 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2016-03-02 10:46:17 -08:00
|
|
|
'test/test.gyp:test_common',
|
2015-02-18 12:46:06 +00:00
|
|
|
'test/test.gyp:test_main',
|
2016-03-02 10:46:17 -08:00
|
|
|
'test/test.gyp:test_renderer',
|
2015-02-18 12:46:06 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
|
|
|
|
},
|
2015-06-26 06:58:16 +02:00
|
|
|
{
|
2015-02-18 12:46:06 +00:00
|
|
|
'target_name': 'screenshare_loopback',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/mac/run_test.mm',
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
'test/run_test.h',
|
|
|
|
|
'video/screenshare_loopback.cc',
|
|
|
|
|
],
|
|
|
|
|
'conditions': [
|
|
|
|
|
['OS=="mac"', {
|
|
|
|
|
'sources!': [
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
2015-09-17 05:30:24 -07:00
|
|
|
'video_quality_test',
|
2013-10-28 16:32:01 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2014-05-13 11:26:40 +00:00
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2016-03-02 10:46:17 -08:00
|
|
|
'test/test.gyp:test_common',
|
2014-11-04 14:57:14 +00:00
|
|
|
'test/test.gyp:test_main',
|
2016-03-02 10:46:17 -08:00
|
|
|
'test/test.gyp:test_renderer',
|
2013-10-28 16:32:01 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
|
|
|
|
},
|
2014-08-06 16:26:56 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'video_replay',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'sources': [
|
|
|
|
|
'test/mac/run_test.mm',
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
'test/run_test.h',
|
|
|
|
|
'video/replay.cc',
|
|
|
|
|
],
|
|
|
|
|
'conditions': [
|
|
|
|
|
['OS=="mac"', {
|
|
|
|
|
'sources!': [
|
|
|
|
|
'test/run_test.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
|
2016-03-02 10:46:17 -08:00
|
|
|
'test/test.gyp:test_common',
|
|
|
|
|
'test/test.gyp:test_renderer',
|
2015-02-11 07:47:00 +00:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture',
|
2015-01-14 09:30:52 +00:00
|
|
|
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
|
2014-08-06 16:26:56 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
2015-10-16 14:35:07 -07:00
|
|
|
# TODO(solenberg): Rename to webrtc_call_tests.
|
2013-10-28 16:32:01 +00:00
|
|
|
'target_name': 'video_engine_tests',
|
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
|
'sources': [
|
2015-09-25 13:58:30 +02:00
|
|
|
'audio/audio_receive_stream_unittest.cc',
|
2015-10-16 14:35:07 -07:00
|
|
|
'audio/audio_send_stream_unittest.cc',
|
2015-11-06 15:34:49 -08:00
|
|
|
'audio/audio_state_unittest.cc',
|
2015-11-12 21:02:42 -08:00
|
|
|
'call/bitrate_allocator_unittest.cc',
|
2015-09-25 13:58:30 +02:00
|
|
|
'call/bitrate_estimator_tests.cc',
|
2015-10-16 14:35:07 -07:00
|
|
|
'call/call_unittest.cc',
|
2015-09-25 13:58:30 +02:00
|
|
|
'call/packet_injection_tests.cc',
|
2016-04-22 12:40:37 -07:00
|
|
|
'call/ringbuffer_unittest.cc',
|
2015-01-29 14:29:45 +00:00
|
|
|
'test/common_unittest.cc',
|
|
|
|
|
'test/testsupport/metrics/video_metrics_unittest.cc',
|
2015-12-09 12:13:30 +01:00
|
|
|
'video/call_stats_unittest.cc',
|
|
|
|
|
'video/encoder_state_feedback_unittest.cc',
|
2014-06-27 08:47:52 +00:00
|
|
|
'video/end_to_end_tests.cc',
|
2015-12-09 12:13:30 +01:00
|
|
|
'video/overuse_frame_detector_unittest.cc',
|
|
|
|
|
'video/payload_router_unittest.cc',
|
|
|
|
|
'video/report_block_stats_unittest.cc',
|
2016-05-02 23:44:01 -07:00
|
|
|
'video/send_delay_stats_unittest.cc',
|
2014-01-07 09:54:34 +00:00
|
|
|
'video/send_statistics_proxy_unittest.cc',
|
2015-12-09 12:13:30 +01:00
|
|
|
'video/stream_synchronization_unittest.cc',
|
2015-06-26 06:58:16 +02:00
|
|
|
'video/video_capture_input_unittest.cc',
|
2015-05-18 19:42:03 +02:00
|
|
|
'video/video_decoder_unittest.cc',
|
2015-05-19 23:09:35 +02:00
|
|
|
'video/video_encoder_unittest.cc',
|
2013-10-28 16:32:01 +00:00
|
|
|
'video/video_send_stream_tests.cc',
|
2015-12-09 12:13:30 +01:00
|
|
|
'video/vie_remb_unittest.cc',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
'dependencies': [
|
2014-12-16 14:48:47 +00:00
|
|
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
2013-10-28 16:32:01 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-02-26 13:59:22 +00:00
|
|
|
'<(webrtc_root)/common.gyp:webrtc_common',
|
2014-09-18 08:58:15 +00:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
|
2015-02-11 07:47:00 +00:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture',
|
2014-12-16 14:48:47 +00:00
|
|
|
'<(webrtc_root)/test/test.gyp:channel_transport',
|
|
|
|
|
'<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
|
2013-12-13 14:31:47 +00:00
|
|
|
'test/metrics.gyp:metrics',
|
2016-03-02 10:46:17 -08:00
|
|
|
'test/test.gyp:test_common',
|
2014-05-14 12:24:04 +00:00
|
|
|
'test/test.gyp:test_main',
|
2013-10-28 16:32:01 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
2014-05-27 18:44:59 +00:00
|
|
|
'conditions': [
|
2016-01-27 01:36:03 -08:00
|
|
|
['rtc_use_h264==1', {
|
|
|
|
|
'defines': [
|
|
|
|
|
'WEBRTC_END_TO_END_H264_TESTS',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2014-09-02 08:40:39 +00:00
|
|
|
['OS=="android"', {
|
2014-05-27 18:44:59 +00:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2016-02-16 22:06:12 -08:00
|
|
|
['OS=="ios"', {
|
|
|
|
|
'mac_bundle_resources': [
|
|
|
|
|
'<(DEPTH)/resources/foreman_cif_short.yuv',
|
|
|
|
|
'<(DEPTH)/resources/voice_engine/audio_long16.pcm',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2015-07-30 12:45:18 +02:00
|
|
|
['enable_protobuf==1', {
|
|
|
|
|
'defines': [
|
|
|
|
|
'ENABLE_RTC_EVENT_LOG',
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'webrtc.gyp:rtc_event_log',
|
|
|
|
|
'webrtc.gyp:rtc_event_log_proto',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
2015-09-25 13:58:30 +02:00
|
|
|
'call/rtc_event_log_unittest.cc',
|
2015-07-30 12:45:18 +02:00
|
|
|
],
|
|
|
|
|
}],
|
2014-05-27 18:44:59 +00:00
|
|
|
],
|
2013-10-28 16:32:01 +00:00
|
|
|
},
|
2013-12-13 12:48:05 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_perf_tests',
|
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
|
'sources': [
|
2015-09-25 13:58:30 +02:00
|
|
|
'call/call_perf_tests.cc',
|
2015-12-21 03:14:00 -08:00
|
|
|
'call/rampup_tests.cc',
|
|
|
|
|
'call/rampup_tests.h',
|
2014-06-09 08:10:28 +00:00
|
|
|
'modules/audio_coding/neteq/test/neteq_performance_unittest.cc',
|
2015-12-20 23:13:40 -08:00
|
|
|
'modules/audio_processing/audio_processing_performance_unittest.cc',
|
2015-04-16 20:20:36 +02:00
|
|
|
'modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc',
|
2013-12-13 12:48:05 +00:00
|
|
|
'video/full_stack.cc',
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
2014-12-16 14:48:47 +00:00
|
|
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
2013-12-13 12:48:05 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-12-20 23:13:40 -08:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:audio_processing',
|
|
|
|
|
'<(webrtc_root)/modules/modules.gyp:audioproc_test_utils',
|
2015-02-11 07:47:00 +00:00
|
|
|
'<(webrtc_root)/modules/modules.gyp:video_capture',
|
2014-12-16 14:48:47 +00:00
|
|
|
'<(webrtc_root)/test/test.gyp:channel_transport',
|
|
|
|
|
'<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
|
2015-09-17 05:30:24 -07:00
|
|
|
'video_quality_test',
|
2015-04-16 20:20:36 +02:00
|
|
|
'modules/modules.gyp:neteq_test_support',
|
|
|
|
|
'modules/modules.gyp:bwe_simulator',
|
2013-12-13 12:48:05 +00:00
|
|
|
'modules/modules.gyp:rtp_rtcp',
|
2016-03-02 10:46:17 -08:00
|
|
|
'test/test.gyp:test_common',
|
2014-05-14 12:24:04 +00:00
|
|
|
'test/test.gyp:test_main',
|
2016-03-02 10:46:17 -08:00
|
|
|
'test/test.gyp:test_renderer',
|
2013-12-13 12:48:05 +00:00
|
|
|
'webrtc',
|
|
|
|
|
],
|
2014-05-30 12:42:10 +00:00
|
|
|
'conditions': [
|
2014-09-01 11:06:37 +00:00
|
|
|
['OS=="android"', {
|
2014-05-30 12:42:10 +00:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
2013-12-13 12:48:05 +00:00
|
|
|
},
|
2015-10-29 12:41:56 +01:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_nonparallel_tests',
|
|
|
|
|
'type': '<(gtest_target_type)',
|
|
|
|
|
'sources': [
|
|
|
|
|
'base/nullsocketserver_unittest.cc',
|
|
|
|
|
'base/physicalsocketserver_unittest.cc',
|
|
|
|
|
'base/socket_unittest.cc',
|
|
|
|
|
'base/socket_unittest.h',
|
|
|
|
|
'base/socketaddress_unittest.cc',
|
|
|
|
|
'base/virtualsocket_unittest.cc',
|
|
|
|
|
],
|
2016-05-04 01:54:35 -07:00
|
|
|
'defines': [
|
|
|
|
|
'GTEST_RELATIVE_PATH',
|
|
|
|
|
],
|
2015-10-29 12:41:56 +01:00
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
'base/base.gyp:rtc_base',
|
|
|
|
|
'test/test.gyp:test_main',
|
|
|
|
|
],
|
|
|
|
|
'conditions': [
|
|
|
|
|
['OS=="android"', {
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['OS=="win"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'base/win32socketserver_unittest.cc',
|
|
|
|
|
],
|
|
|
|
|
'sources!': [
|
|
|
|
|
# TODO(ronghuawu): Fix TestUdpReadyToSendIPv6 on windows bot
|
|
|
|
|
# then reenable these tests.
|
|
|
|
|
# TODO(pbos): Move test disabling to ifdefs within the test files
|
|
|
|
|
# instead of here.
|
|
|
|
|
'base/physicalsocketserver_unittest.cc',
|
|
|
|
|
'base/socket_unittest.cc',
|
|
|
|
|
'base/win32socketserver_unittest.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['OS=="mac"', {
|
|
|
|
|
'sources': [
|
|
|
|
|
'base/macsocketserver_unittest.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
|
|
|
|
|
'defines': [
|
|
|
|
|
'CARBON_DEPRECATED=YES',
|
|
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
'conditions': [
|
2014-09-01 11:06:37 +00:00
|
|
|
['OS=="android"', {
|
2013-10-28 16:32:01 +00:00
|
|
|
'targets': [
|
2015-03-04 08:47:39 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'rtc_unittests_apk_target',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(apk_tests_path):rtc_unittests_apk',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
2014-09-03 14:34:46 +00:00
|
|
|
'target_name': 'video_engine_tests_apk_target',
|
2013-10-28 16:32:01 +00:00
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
2014-09-03 14:34:46 +00:00
|
|
|
'<(apk_tests_path):video_engine_tests_apk',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
},
|
2013-12-13 12:48:05 +00:00
|
|
|
{
|
2014-09-03 14:34:46 +00:00
|
|
|
'target_name': 'webrtc_perf_tests_apk_target',
|
2013-12-13 12:48:05 +00:00
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
2014-09-03 14:34:46 +00:00
|
|
|
'<(apk_tests_path):webrtc_perf_tests_apk',
|
2013-12-13 12:48:05 +00:00
|
|
|
],
|
|
|
|
|
},
|
2015-10-29 12:41:56 +01:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_nonparallel_tests_apk_target',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(apk_tests_path):webrtc_nonparallel_tests_apk',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
2016-04-17 20:08:20 -07:00
|
|
|
'conditions': [
|
|
|
|
|
['test_isolation_mode != "noop"',
|
|
|
|
|
{
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'rtc_unittests_apk_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(apk_tests_path):rtc_unittests_apk',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'rtc_unittests_apk.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'video_engine_tests_apk_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(apk_tests_path):video_engine_tests_apk',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'video_engine_tests_apk.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_perf_tests_apk_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(apk_tests_path):webrtc_perf_tests_apk',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'webrtc_perf_tests_apk.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_nonparallel_tests_apk_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(apk_tests_path):webrtc_nonparallel_tests_apk',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'webrtc_nonparallel_tests_apk.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
],
|
2013-10-28 16:32:01 +00:00
|
|
|
}],
|
|
|
|
|
['test_isolation_mode != "noop"', {
|
|
|
|
|
'targets': [
|
2014-09-30 14:21:10 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'rtc_unittests_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'rtc_unittests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'rtc_unittests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'video_engine_tests_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'video_engine_tests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
2013-10-28 18:10:29 +00:00
|
|
|
'build/isolate.gypi',
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'video_engine_tests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
2015-10-29 15:29:04 +01:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_nonparallel_tests_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'webrtc_nonparallel_tests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'webrtc_nonparallel_tests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-12-13 12:48:05 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'webrtc_perf_tests_run',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'webrtc_perf_tests',
|
|
|
|
|
],
|
|
|
|
|
'includes': [
|
|
|
|
|
'build/isolate.gypi',
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'webrtc_perf_tests.isolate',
|
|
|
|
|
],
|
|
|
|
|
},
|
2013-10-28 16:32:01 +00:00
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
}
|