pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 1 | # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 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 |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | { |
| 9 | 'targets': [ |
| 10 | { |
henrike@webrtc.org | 51b64e4 | 2014-09-10 17:28:19 | [diff] [blame] | 11 | 'target_name': 'rtc_unittests', |
kjellander@webrtc.org | b4d93a7 | 2015-03-04 08:47:39 | [diff] [blame] | 12 | 'type': '<(gtest_target_type)', |
henrike@webrtc.org | 51b64e4 | 2014-09-10 17:28:19 | [diff] [blame] | 13 | 'dependencies': [ |
| 14 | 'base/base.gyp:rtc_base', |
| 15 | 'base/base_tests.gyp:rtc_base_tests_utils', |
| 16 | 'base/base_tests.gyp:rtc_base_tests', |
henrike@webrtc.org | be9a70f | 2014-10-02 18:43:47 | [diff] [blame] | 17 | 'libjingle/xmllite/xmllite.gyp:rtc_xmllite', |
henrike@webrtc.org | 1a02faa | 2014-10-28 22:20:11 | [diff] [blame] | 18 | 'libjingle/xmpp/xmpp.gyp:rtc_xmpp', |
| 19 | 'p2p/p2p.gyp:rtc_p2p', |
Guo-wei Shieh | f0bd134 | 2015-05-15 17:26:52 | [diff] [blame] | 20 | 'p2p/p2p.gyp:libstunprober', |
kjellander | e1e16f0 | 2016-03-31 14:23:49 | [diff] [blame] | 21 | 'p2p/p2p.gyp:rtc_p2p_unittest', |
| 22 | 'libjingle/xmllite/xmllite.gyp:rtc_xmllite_unittest', |
| 23 | 'libjingle/xmpp/xmpp.gyp:rtc_xmpp_unittest', |
henrike@webrtc.org | 51b64e4 | 2014-09-10 17:28:19 | [diff] [blame] | 24 | '<(DEPTH)/testing/gtest.gyp:gtest', |
Guo-wei Shieh | f0bd134 | 2015-05-15 17:26:52 | [diff] [blame] | 25 | '<(DEPTH)/testing/gmock.gyp:gmock', |
henrike@webrtc.org | 51b64e4 | 2014-09-10 17:28:19 | [diff] [blame] | 26 | ], |
kjellander@webrtc.org | b4d93a7 | 2015-03-04 08:47:39 | [diff] [blame] | 27 | 'conditions': [ |
| 28 | ['OS=="android"', { |
| 29 | 'dependencies': [ |
| 30 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 31 | ], |
| 32 | }], |
hjon | da83020 | 2015-12-14 03:58:11 | [diff] [blame] | 33 | ['OS=="ios"', { |
| 34 | 'dependencies': [ |
tkchin | 6ca529d | 2016-01-28 01:50:11 | [diff] [blame] | 35 | 'api/api_tests.gyp:rtc_api_objc_tests', |
hjon | da83020 | 2015-12-14 03:58:11 | [diff] [blame] | 36 | ] |
| 37 | }] |
kjellander@webrtc.org | b4d93a7 | 2015-03-04 08:47:39 | [diff] [blame] | 38 | ], |
henrike@webrtc.org | 51b64e4 | 2014-09-10 17:28:19 | [diff] [blame] | 39 | }, |
| 40 | { |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 41 | 'target_name': 'webrtc_tests', |
| 42 | 'type': 'none', |
| 43 | 'dependencies': [ |
| 44 | 'video_engine_tests', |
| 45 | 'video_loopback', |
pbos@webrtc.org | ac772a4 | 2014-08-06 16:26:56 | [diff] [blame] | 46 | 'video_replay', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 47 | 'webrtc_perf_tests', |
Peter Boström | 54ad7e0 | 2015-10-29 11:41:56 | [diff] [blame] | 48 | 'webrtc_nonparallel_tests', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 49 | ], |
| 50 | }, |
| 51 | { |
ivica | da8e7c9 | 2015-09-17 12:30:24 | [diff] [blame] | 52 | 'target_name': 'video_quality_test', |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 53 | 'type': 'static_library', |
| 54 | 'sources': [ |
ivica | da8e7c9 | 2015-09-17 12:30:24 | [diff] [blame] | 55 | 'video/video_quality_test.cc', |
| 56 | 'video/video_quality_test.h', |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 57 | ], |
| 58 | 'dependencies': [ |
| 59 | '<(DEPTH)/testing/gtest.gyp:gtest', |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 60 | '<(webrtc_root)/modules/modules.gyp:video_render', |
ivica | da8e7c9 | 2015-09-17 12:30:24 | [diff] [blame] | 61 | '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl', |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 62 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 63 | 'webrtc', |
| 64 | ], |
ivica | da8e7c9 | 2015-09-17 12:30:24 | [diff] [blame] | 65 | 'conditions': [ |
| 66 | ['OS=="android"', { |
| 67 | 'dependencies!': [ |
| 68 | '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl', |
| 69 | ], |
| 70 | }], |
| 71 | ], |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 72 | }, |
| 73 | { |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 74 | 'target_name': 'video_loopback', |
| 75 | 'type': 'executable', |
| 76 | 'sources': [ |
mflodman@webrtc.org | 59a001f | 2014-06-05 09:32:51 | [diff] [blame] | 77 | 'test/mac/run_test.mm', |
| 78 | 'test/run_test.cc', |
| 79 | 'test/run_test.h', |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 80 | 'video/video_loopback.cc', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 81 | ], |
mflodman@webrtc.org | 59a001f | 2014-06-05 09:32:51 | [diff] [blame] | 82 | 'conditions': [ |
| 83 | ['OS=="mac"', { |
| 84 | 'sources!': [ |
| 85 | 'test/run_test.cc', |
| 86 | ], |
| 87 | }], |
| 88 | ], |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 89 | 'dependencies': [ |
ivica | da8e7c9 | 2015-09-17 12:30:24 | [diff] [blame] | 90 | 'video_quality_test', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 91 | '<(DEPTH)/testing/gtest.gyp:gtest', |
pbos@webrtc.org | 11de507 | 2014-05-13 11:26:40 | [diff] [blame] | 92 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
kjellander | 4bd2aae | 2016-03-02 18:46:17 | [diff] [blame] | 93 | 'test/test.gyp:test_common', |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 94 | 'test/test.gyp:test_main', |
kjellander | 4bd2aae | 2016-03-02 18:46:17 | [diff] [blame] | 95 | 'test/test.gyp:test_renderer', |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 96 | 'webrtc', |
| 97 | ], |
| 98 | }, |
Peter Boström | d5d98ba | 2015-06-26 04:58:16 | [diff] [blame] | 99 | { |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 100 | 'target_name': 'screenshare_loopback', |
| 101 | 'type': 'executable', |
| 102 | 'sources': [ |
| 103 | 'test/mac/run_test.mm', |
| 104 | 'test/run_test.cc', |
| 105 | 'test/run_test.h', |
| 106 | 'video/screenshare_loopback.cc', |
| 107 | ], |
| 108 | 'conditions': [ |
| 109 | ['OS=="mac"', { |
| 110 | 'sources!': [ |
| 111 | 'test/run_test.cc', |
| 112 | ], |
| 113 | }], |
| 114 | ], |
| 115 | 'dependencies': [ |
ivica | da8e7c9 | 2015-09-17 12:30:24 | [diff] [blame] | 116 | 'video_quality_test', |
sprang@webrtc.org | 5fbd940 | 2015-02-18 12:46:06 | [diff] [blame] | 117 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 118 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
kjellander | 4bd2aae | 2016-03-02 18:46:17 | [diff] [blame] | 119 | 'test/test.gyp:test_common', |
stefan@webrtc.org | 8d28158 | 2014-11-04 14:57:14 | [diff] [blame] | 120 | 'test/test.gyp:test_main', |
kjellander | 4bd2aae | 2016-03-02 18:46:17 | [diff] [blame] | 121 | 'test/test.gyp:test_renderer', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 122 | 'webrtc', |
| 123 | ], |
| 124 | }, |
| 125 | { |
pbos@webrtc.org | ac772a4 | 2014-08-06 16:26:56 | [diff] [blame] | 126 | 'target_name': 'video_replay', |
| 127 | 'type': 'executable', |
| 128 | 'sources': [ |
| 129 | 'test/mac/run_test.mm', |
| 130 | 'test/run_test.cc', |
| 131 | 'test/run_test.h', |
| 132 | 'video/replay.cc', |
| 133 | ], |
| 134 | 'conditions': [ |
| 135 | ['OS=="mac"', { |
| 136 | 'sources!': [ |
| 137 | 'test/run_test.cc', |
| 138 | ], |
| 139 | }], |
| 140 | ], |
| 141 | 'dependencies': [ |
| 142 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 143 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
kjellander | 4bd2aae | 2016-03-02 18:46:17 | [diff] [blame] | 144 | 'test/test.gyp:test_common', |
| 145 | 'test/test.gyp:test_renderer', |
kjellander@webrtc.org | 12971d4 | 2015-02-11 07:47:00 | [diff] [blame] | 146 | '<(webrtc_root)/modules/modules.gyp:video_capture', |
| 147 | '<(webrtc_root)/modules/modules.gyp:video_render', |
andresp@webrtc.org | 20349b9 | 2015-01-14 09:30:52 | [diff] [blame] | 148 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default', |
pbos@webrtc.org | ac772a4 | 2014-08-06 16:26:56 | [diff] [blame] | 149 | 'webrtc', |
| 150 | ], |
| 151 | }, |
| 152 | { |
solenberg | f707c68 | 2015-10-16 21:35:07 | [diff] [blame] | 153 | # TODO(solenberg): Rename to webrtc_call_tests. |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 154 | 'target_name': 'video_engine_tests', |
| 155 | 'type': '<(gtest_target_type)', |
| 156 | 'sources': [ |
Peter Boström | bf9f73c | 2015-09-25 11:58:30 | [diff] [blame] | 157 | 'audio/audio_receive_stream_unittest.cc', |
solenberg | f707c68 | 2015-10-16 21:35:07 | [diff] [blame] | 158 | 'audio/audio_send_stream_unittest.cc', |
solenberg | b0f22c5 | 2015-11-06 23:34:49 | [diff] [blame] | 159 | 'audio/audio_state_unittest.cc', |
mflodman | 1b78cc3 | 2015-11-13 05:02:42 | [diff] [blame] | 160 | 'call/bitrate_allocator_unittest.cc', |
Peter Boström | bf9f73c | 2015-09-25 11:58:30 | [diff] [blame] | 161 | 'call/bitrate_estimator_tests.cc', |
solenberg | f707c68 | 2015-10-16 21:35:07 | [diff] [blame] | 162 | 'call/call_unittest.cc', |
Peter Boström | bf9f73c | 2015-09-25 11:58:30 | [diff] [blame] | 163 | 'call/packet_injection_tests.cc', |
kjellander@webrtc.org | 6ae75ba | 2015-01-29 14:29:45 | [diff] [blame] | 164 | 'test/common_unittest.cc', |
| 165 | 'test/testsupport/metrics/video_metrics_unittest.cc', |
Peter Boström | e8f0735 | 2015-12-09 11:13:30 | [diff] [blame] | 166 | 'video/call_stats_unittest.cc', |
| 167 | 'video/encoder_state_feedback_unittest.cc', |
pbos@webrtc.org | eb67a6b | 2014-06-27 08:47:52 | [diff] [blame] | 168 | 'video/end_to_end_tests.cc', |
Peter Boström | e8f0735 | 2015-12-09 11:13:30 | [diff] [blame] | 169 | 'video/overuse_frame_detector_unittest.cc', |
| 170 | 'video/payload_router_unittest.cc', |
| 171 | 'video/report_block_stats_unittest.cc', |
sprang@webrtc.org | 49812e6 | 2014-01-07 09:54:34 | [diff] [blame] | 172 | 'video/send_statistics_proxy_unittest.cc', |
Peter Boström | e8f0735 | 2015-12-09 11:13:30 | [diff] [blame] | 173 | 'video/stream_synchronization_unittest.cc', |
Peter Boström | d5d98ba | 2015-06-26 04:58:16 | [diff] [blame] | 174 | 'video/video_capture_input_unittest.cc', |
Peter Boström | 5691fcf | 2015-05-18 17:42:03 | [diff] [blame] | 175 | 'video/video_decoder_unittest.cc', |
Peter Boström | 6859ada | 2015-05-19 21:09:35 | [diff] [blame] | 176 | 'video/video_encoder_unittest.cc', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 177 | 'video/video_send_stream_tests.cc', |
Peter Boström | e8f0735 | 2015-12-09 11:13:30 | [diff] [blame] | 178 | 'video/vie_remb_unittest.cc', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 179 | ], |
| 180 | 'dependencies': [ |
pbos@webrtc.org | 3b44b3c | 2014-12-16 14:48:47 | [diff] [blame] | 181 | '<(DEPTH)/testing/gmock.gyp:gmock', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 182 | '<(DEPTH)/testing/gtest.gyp:gtest', |
kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 183 | '<(webrtc_root)/common.gyp:webrtc_common', |
andresp@webrtc.org | 0ab271b | 2014-09-18 08:58:15 | [diff] [blame] | 184 | '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', |
kjellander@webrtc.org | 12971d4 | 2015-02-11 07:47:00 | [diff] [blame] | 185 | '<(webrtc_root)/modules/modules.gyp:video_capture', |
| 186 | '<(webrtc_root)/modules/modules.gyp:video_render', |
pbos@webrtc.org | 3b44b3c | 2014-12-16 14:48:47 | [diff] [blame] | 187 | '<(webrtc_root)/test/test.gyp:channel_transport', |
| 188 | '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine', |
pbos@webrtc.org | f64791e | 2013-12-13 14:31:47 | [diff] [blame] | 189 | 'test/metrics.gyp:metrics', |
kjellander | 4bd2aae | 2016-03-02 18:46:17 | [diff] [blame] | 190 | 'test/test.gyp:test_common', |
andresp@webrtc.org | 0b8a1c4 | 2014-05-14 12:24:04 | [diff] [blame] | 191 | 'test/test.gyp:test_main', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 192 | 'webrtc', |
| 193 | ], |
fischman@webrtc.org | 487dfb0 | 2014-05-27 18:44:59 | [diff] [blame] | 194 | 'conditions': [ |
hbos | 65451ba | 2016-01-27 09:36:03 | [diff] [blame] | 195 | ['rtc_use_h264==1', { |
| 196 | 'defines': [ |
| 197 | 'WEBRTC_END_TO_END_H264_TESTS', |
| 198 | ], |
| 199 | }], |
kjellander@webrtc.org | 606c1cd | 2014-09-02 08:40:39 | [diff] [blame] | 200 | ['OS=="android"', { |
fischman@webrtc.org | 487dfb0 | 2014-05-27 18:44:59 | [diff] [blame] | 201 | 'dependencies': [ |
| 202 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 203 | ], |
| 204 | }], |
kjellander | c9c53c4 | 2016-02-17 06:06:12 | [diff] [blame] | 205 | ['OS=="ios"', { |
| 206 | 'mac_bundle_resources': [ |
| 207 | '<(DEPTH)/resources/foreman_cif_short.yuv', |
| 208 | '<(DEPTH)/resources/voice_engine/audio_long16.pcm', |
| 209 | ], |
| 210 | }], |
Bjorn Terelius | bd3fce5 | 2015-07-30 10:45:18 | [diff] [blame] | 211 | ['enable_protobuf==1', { |
| 212 | 'defines': [ |
| 213 | 'ENABLE_RTC_EVENT_LOG', |
| 214 | ], |
| 215 | 'dependencies': [ |
| 216 | 'webrtc.gyp:rtc_event_log', |
| 217 | 'webrtc.gyp:rtc_event_log_proto', |
| 218 | ], |
| 219 | 'sources': [ |
Peter Boström | bf9f73c | 2015-09-25 11:58:30 | [diff] [blame] | 220 | 'call/rtc_event_log_unittest.cc', |
Bjorn Terelius | bd3fce5 | 2015-07-30 10:45:18 | [diff] [blame] | 221 | ], |
| 222 | }], |
fischman@webrtc.org | 487dfb0 | 2014-05-27 18:44:59 | [diff] [blame] | 223 | ], |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 224 | }, |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 225 | { |
| 226 | 'target_name': 'webrtc_perf_tests', |
| 227 | 'type': '<(gtest_target_type)', |
| 228 | 'sources': [ |
Peter Boström | bf9f73c | 2015-09-25 11:58:30 | [diff] [blame] | 229 | 'call/call_perf_tests.cc', |
stefan | 19cc283 | 2015-12-21 11:14:00 | [diff] [blame] | 230 | 'call/rampup_tests.cc', |
| 231 | 'call/rampup_tests.h', |
henrik.lundin@webrtc.org | e5abc85 | 2014-06-09 08:10:28 | [diff] [blame] | 232 | 'modules/audio_coding/neteq/test/neteq_performance_unittest.cc', |
peah | 33ae23e | 2015-12-21 07:13:40 | [diff] [blame] | 233 | 'modules/audio_processing/audio_processing_performance_unittest.cc', |
Stefan Holmer | e38f07f | 2015-04-16 18:20:36 | [diff] [blame] | 234 | 'modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 235 | 'video/full_stack.cc', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 236 | ], |
| 237 | 'dependencies': [ |
pbos@webrtc.org | 3b44b3c | 2014-12-16 14:48:47 | [diff] [blame] | 238 | '<(DEPTH)/testing/gmock.gyp:gmock', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 239 | '<(DEPTH)/testing/gtest.gyp:gtest', |
peah | 33ae23e | 2015-12-21 07:13:40 | [diff] [blame] | 240 | '<(webrtc_root)/modules/modules.gyp:audio_processing', |
| 241 | '<(webrtc_root)/modules/modules.gyp:audioproc_test_utils', |
kjellander@webrtc.org | 12971d4 | 2015-02-11 07:47:00 | [diff] [blame] | 242 | '<(webrtc_root)/modules/modules.gyp:video_capture', |
pbos@webrtc.org | 3b44b3c | 2014-12-16 14:48:47 | [diff] [blame] | 243 | '<(webrtc_root)/test/test.gyp:channel_transport', |
| 244 | '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine', |
ivica | da8e7c9 | 2015-09-17 12:30:24 | [diff] [blame] | 245 | 'video_quality_test', |
Stefan Holmer | e38f07f | 2015-04-16 18:20:36 | [diff] [blame] | 246 | 'modules/modules.gyp:neteq_test_support', |
| 247 | 'modules/modules.gyp:bwe_simulator', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 248 | 'modules/modules.gyp:rtp_rtcp', |
kjellander | 4bd2aae | 2016-03-02 18:46:17 | [diff] [blame] | 249 | 'test/test.gyp:test_common', |
andresp@webrtc.org | 0b8a1c4 | 2014-05-14 12:24:04 | [diff] [blame] | 250 | 'test/test.gyp:test_main', |
kjellander | 4bd2aae | 2016-03-02 18:46:17 | [diff] [blame] | 251 | 'test/test.gyp:test_renderer', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 252 | 'webrtc', |
| 253 | ], |
pbos@webrtc.org | 858611f | 2014-05-30 12:42:10 | [diff] [blame] | 254 | 'conditions': [ |
kjellander@webrtc.org | b9d6b2b | 2014-09-01 11:06:37 | [diff] [blame] | 255 | ['OS=="android"', { |
pbos@webrtc.org | 858611f | 2014-05-30 12:42:10 | [diff] [blame] | 256 | 'dependencies': [ |
| 257 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 258 | ], |
| 259 | }], |
| 260 | ], |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 261 | }, |
Peter Boström | 54ad7e0 | 2015-10-29 11:41:56 | [diff] [blame] | 262 | { |
| 263 | 'target_name': 'webrtc_nonparallel_tests', |
| 264 | 'type': '<(gtest_target_type)', |
| 265 | 'sources': [ |
| 266 | 'base/nullsocketserver_unittest.cc', |
| 267 | 'base/physicalsocketserver_unittest.cc', |
| 268 | 'base/socket_unittest.cc', |
| 269 | 'base/socket_unittest.h', |
| 270 | 'base/socketaddress_unittest.cc', |
| 271 | 'base/virtualsocket_unittest.cc', |
| 272 | ], |
| 273 | 'defines': [ |
| 274 | 'GTEST_RELATIVE_PATH', |
| 275 | ], |
| 276 | 'dependencies': [ |
| 277 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 278 | 'base/base.gyp:rtc_base', |
| 279 | 'test/test.gyp:test_main', |
| 280 | ], |
| 281 | 'conditions': [ |
| 282 | ['OS=="android"', { |
| 283 | 'dependencies': [ |
| 284 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 285 | ], |
| 286 | }], |
| 287 | ['OS=="win"', { |
| 288 | 'sources': [ |
| 289 | 'base/win32socketserver_unittest.cc', |
| 290 | ], |
| 291 | 'sources!': [ |
| 292 | # TODO(ronghuawu): Fix TestUdpReadyToSendIPv6 on windows bot |
| 293 | # then reenable these tests. |
| 294 | # TODO(pbos): Move test disabling to ifdefs within the test files |
| 295 | # instead of here. |
| 296 | 'base/physicalsocketserver_unittest.cc', |
| 297 | 'base/socket_unittest.cc', |
| 298 | 'base/win32socketserver_unittest.cc', |
| 299 | ], |
| 300 | }], |
| 301 | ['OS=="mac"', { |
| 302 | 'sources': [ |
| 303 | 'base/macsocketserver_unittest.cc', |
| 304 | ], |
| 305 | }], |
| 306 | ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { |
| 307 | 'defines': [ |
| 308 | 'CARBON_DEPRECATED=YES', |
| 309 | ], |
| 310 | }], |
| 311 | ], |
| 312 | }, |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 313 | ], |
| 314 | 'conditions': [ |
kjellander@webrtc.org | b9d6b2b | 2014-09-01 11:06:37 | [diff] [blame] | 315 | ['OS=="android"', { |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 316 | 'targets': [ |
| 317 | { |
kjellander@webrtc.org | b4d93a7 | 2015-03-04 08:47:39 | [diff] [blame] | 318 | 'target_name': 'rtc_unittests_apk_target', |
| 319 | 'type': 'none', |
| 320 | 'dependencies': [ |
| 321 | '<(apk_tests_path):rtc_unittests_apk', |
| 322 | ], |
| 323 | }, |
| 324 | { |
kjellander@webrtc.org | 5191730 | 2014-09-03 14:34:46 | [diff] [blame] | 325 | 'target_name': 'video_engine_tests_apk_target', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 326 | 'type': 'none', |
| 327 | 'dependencies': [ |
kjellander@webrtc.org | 5191730 | 2014-09-03 14:34:46 | [diff] [blame] | 328 | '<(apk_tests_path):video_engine_tests_apk', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 329 | ], |
| 330 | }, |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 331 | { |
kjellander@webrtc.org | 5191730 | 2014-09-03 14:34:46 | [diff] [blame] | 332 | 'target_name': 'webrtc_perf_tests_apk_target', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 333 | 'type': 'none', |
| 334 | 'dependencies': [ |
kjellander@webrtc.org | 5191730 | 2014-09-03 14:34:46 | [diff] [blame] | 335 | '<(apk_tests_path):webrtc_perf_tests_apk', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 336 | ], |
| 337 | }, |
Peter Boström | 54ad7e0 | 2015-10-29 11:41:56 | [diff] [blame] | 338 | { |
| 339 | 'target_name': 'webrtc_nonparallel_tests_apk_target', |
| 340 | 'type': 'none', |
| 341 | 'dependencies': [ |
| 342 | '<(apk_tests_path):webrtc_nonparallel_tests_apk', |
| 343 | ], |
| 344 | }, |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 345 | ], |
kjellander | 60cf421 | 2016-04-18 03:08:20 | [diff] [blame] | 346 | 'conditions': [ |
| 347 | ['test_isolation_mode != "noop"', |
| 348 | { |
| 349 | 'targets': [ |
| 350 | { |
| 351 | 'target_name': 'rtc_unittests_apk_run', |
| 352 | 'type': 'none', |
| 353 | 'dependencies': [ |
| 354 | '<(apk_tests_path):rtc_unittests_apk', |
| 355 | ], |
| 356 | 'includes': [ |
| 357 | 'build/isolate.gypi', |
| 358 | ], |
| 359 | 'sources': [ |
| 360 | 'rtc_unittests_apk.isolate', |
| 361 | ], |
| 362 | }, |
| 363 | { |
| 364 | 'target_name': 'video_engine_tests_apk_run', |
| 365 | 'type': 'none', |
| 366 | 'dependencies': [ |
| 367 | '<(apk_tests_path):video_engine_tests_apk', |
| 368 | ], |
| 369 | 'includes': [ |
| 370 | 'build/isolate.gypi', |
| 371 | ], |
| 372 | 'sources': [ |
| 373 | 'video_engine_tests_apk.isolate', |
| 374 | ], |
| 375 | }, |
| 376 | { |
| 377 | 'target_name': 'webrtc_perf_tests_apk_run', |
| 378 | 'type': 'none', |
| 379 | 'dependencies': [ |
| 380 | '<(apk_tests_path):webrtc_perf_tests_apk', |
| 381 | ], |
| 382 | 'includes': [ |
| 383 | 'build/isolate.gypi', |
| 384 | ], |
| 385 | 'sources': [ |
| 386 | 'webrtc_perf_tests_apk.isolate', |
| 387 | ], |
| 388 | }, |
| 389 | { |
| 390 | 'target_name': 'webrtc_nonparallel_tests_apk_run', |
| 391 | 'type': 'none', |
| 392 | 'dependencies': [ |
| 393 | '<(apk_tests_path):webrtc_nonparallel_tests_apk', |
| 394 | ], |
| 395 | 'includes': [ |
| 396 | 'build/isolate.gypi', |
| 397 | ], |
| 398 | 'sources': [ |
| 399 | 'webrtc_nonparallel_tests_apk.isolate', |
| 400 | ], |
| 401 | }, |
| 402 | ], |
| 403 | }, |
| 404 | ], |
| 405 | ], |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 406 | }], |
| 407 | ['test_isolation_mode != "noop"', { |
| 408 | 'targets': [ |
| 409 | { |
henrike@webrtc.org | 309cc9c | 2014-09-30 14:21:10 | [diff] [blame] | 410 | 'target_name': 'rtc_unittests_run', |
| 411 | 'type': 'none', |
| 412 | 'dependencies': [ |
| 413 | 'rtc_unittests', |
| 414 | ], |
| 415 | 'includes': [ |
| 416 | 'build/isolate.gypi', |
henrike@webrtc.org | 309cc9c | 2014-09-30 14:21:10 | [diff] [blame] | 417 | ], |
| 418 | 'sources': [ |
| 419 | 'rtc_unittests.isolate', |
| 420 | ], |
| 421 | }, |
| 422 | { |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 423 | 'target_name': 'video_engine_tests_run', |
| 424 | 'type': 'none', |
| 425 | 'dependencies': [ |
| 426 | 'video_engine_tests', |
| 427 | ], |
| 428 | 'includes': [ |
pbos@webrtc.org | 800bc1a | 2013-10-28 18:10:29 | [diff] [blame] | 429 | 'build/isolate.gypi', |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 430 | ], |
| 431 | 'sources': [ |
| 432 | 'video_engine_tests.isolate', |
| 433 | ], |
| 434 | }, |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 435 | { |
Peter Boström | 1e609b8 | 2015-10-29 14:29:04 | [diff] [blame] | 436 | 'target_name': 'webrtc_nonparallel_tests_run', |
| 437 | 'type': 'none', |
| 438 | 'dependencies': [ |
| 439 | 'webrtc_nonparallel_tests', |
| 440 | ], |
| 441 | 'includes': [ |
| 442 | 'build/isolate.gypi', |
| 443 | ], |
| 444 | 'sources': [ |
| 445 | 'webrtc_nonparallel_tests.isolate', |
| 446 | ], |
| 447 | }, |
| 448 | { |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 449 | 'target_name': 'webrtc_perf_tests_run', |
| 450 | 'type': 'none', |
| 451 | 'dependencies': [ |
| 452 | 'webrtc_perf_tests', |
| 453 | ], |
| 454 | 'includes': [ |
| 455 | 'build/isolate.gypi', |
pbos@webrtc.org | f94ccd4 | 2013-12-13 12:48:05 | [diff] [blame] | 456 | ], |
| 457 | 'sources': [ |
| 458 | 'webrtc_perf_tests.isolate', |
| 459 | ], |
| 460 | }, |
pbos@webrtc.org | 24e2089 | 2013-10-28 16:32:01 | [diff] [blame] | 461 | ], |
| 462 | }], |
| 463 | ], |
| 464 | } |