blob: a05b2141cc84a6f99d2a02d61a3632033686e3e5 [file] [log] [blame]
pbos@webrtc.org16e03b72013-10-28 16:32:01 +00001# 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.orgb2efb672014-09-10 17:28:19 +000011 'target_name': 'rtc_unittests',
kjellander@webrtc.org7572d852015-03-04 08:47:39 +000012 'type': '<(gtest_target_type)',
henrike@webrtc.orgb2efb672014-09-10 17:28:19 +000013 'dependencies': [
14 'base/base.gyp:rtc_base',
tommi09c60da2016-05-24 11:40:35 -070015 'base/base.gyp:rtc_task_queue',
henrike@webrtc.orgb2efb672014-09-10 17:28:19 +000016 'base/base_tests.gyp:rtc_base_tests_utils',
henrike@webrtc.org269fb4b2014-10-28 22:20:11 +000017 'p2p/p2p.gyp:rtc_p2p',
Guo-wei Shieh37931c42015-05-15 10:26:52 -070018 'p2p/p2p.gyp:libstunprober',
henrike@webrtc.orgb2efb672014-09-10 17:28:19 +000019 '<(DEPTH)/testing/gtest.gyp:gtest',
Guo-wei Shieh37931c42015-05-15 10:26:52 -070020 '<(DEPTH)/testing/gmock.gyp:gmock',
henrike@webrtc.orgb2efb672014-09-10 17:28:19 +000021 ],
kjellander26306b12016-06-02 02:26:01 -070022 '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',
kjellander26306b12016-06-02 02:26:01 -070042 'base/filerotatingstream_unittest.cc',
43 'base/fileutils_unittest.cc',
44 'base/helpers_unittest.cc',
45 'base/httpbase_unittest.cc',
46 'base/httpcommon_unittest.cc',
47 'base/httpserver_unittest.cc',
48 'base/ipaddress_unittest.cc',
49 'base/logging_unittest.cc',
50 'base/md5digest_unittest.cc',
51 'base/messagedigest_unittest.cc',
52 'base/messagequeue_unittest.cc',
53 'base/mod_ops_unittest.cc',
54 'base/multipart_unittest.cc',
55 'base/nat_unittest.cc',
56 'base/network_unittest.cc',
57 'base/onetimeevent_unittest.cc',
58 'base/optional_unittest.cc',
59 'base/optionsfile_unittest.cc',
60 'base/pathutils_unittest.cc',
61 'base/platform_thread_unittest.cc',
62 'base/profiler_unittest.cc',
63 'base/proxy_unittest.cc',
64 'base/proxydetect_unittest.cc',
65 'base/random_unittest.cc',
sprangcd349d92016-07-13 09:11:28 -070066 'base/rate_limiter_unittest.cc',
kjellander26306b12016-06-02 02:26:01 -070067 'base/rate_statistics_unittest.cc',
68 'base/ratelimiter_unittest.cc',
69 'base/ratetracker_unittest.cc',
70 'base/referencecountedsingletonfactory_unittest.cc',
71 'base/rollingaccumulator_unittest.cc',
72 'base/rtccertificate_unittest.cc',
73 'base/rtccertificategenerator_unittest.cc',
74 'base/scopedptrcollection_unittest.cc',
perkj9c16fe82016-07-12 15:04:07 -070075 'base/sequenced_task_checker_unittest.cc',
kjellander26306b12016-06-02 02:26:01 -070076 'base/sha1digest_unittest.cc',
77 'base/sharedexclusivelock_unittest.cc',
78 'base/signalthread_unittest.cc',
79 'base/sigslot_unittest.cc',
80 'base/sigslottester.h',
81 'base/sigslottester.h.pump',
82 'base/stream_unittest.cc',
83 'base/stringencode_unittest.cc',
84 'base/stringutils_unittest.cc',
85 'base/swap_queue_unittest.cc',
86 # TODO(ronghuawu): Reenable this test.
87 # 'systeminfo_unittest.cc',
88 'base/task_queue_unittest.cc',
89 'base/task_unittest.cc',
90 'base/testclient_unittest.cc',
91 'base/thread_checker_unittest.cc',
92 'base/thread_unittest.cc',
nisse191b3592016-06-22 08:36:53 -070093 'base/timestampaligner_unittest.cc',
kjellander26306b12016-06-02 02:26:01 -070094 'base/timeutils_unittest.cc',
95 'base/urlencode_unittest.cc',
96 'base/versionparsing_unittest.cc',
97 # TODO(ronghuawu): Reenable this test.
98 # 'windowpicker_unittest.cc',
99 'p2p/base/dtlstransportchannel_unittest.cc',
100 'p2p/base/fakeportallocator.h',
101 'p2p/base/faketransportcontroller.h',
102 'p2p/base/p2ptransportchannel_unittest.cc',
103 'p2p/base/port_unittest.cc',
104 'p2p/base/portallocator_unittest.cc',
105 'p2p/base/pseudotcp_unittest.cc',
106 'p2p/base/relayport_unittest.cc',
107 'p2p/base/relayserver_unittest.cc',
108 'p2p/base/stun_unittest.cc',
109 'p2p/base/stunport_unittest.cc',
110 'p2p/base/stunrequest_unittest.cc',
111 'p2p/base/stunserver_unittest.cc',
112 'p2p/base/testrelayserver.h',
113 'p2p/base/teststunserver.h',
114 'p2p/base/testturnserver.h',
115 'p2p/base/transport_unittest.cc',
116 'p2p/base/transportcontroller_unittest.cc',
117 'p2p/base/transportdescriptionfactory_unittest.cc',
118 'p2p/base/tcpport_unittest.cc',
119 'p2p/base/turnport_unittest.cc',
Taylor Brandstetter734262c2016-08-01 16:37:14 -0700120 'p2p/base/turnserver_unittest.cc',
kjellander26306b12016-06-02 02:26:01 -0700121 'p2p/client/basicportallocator_unittest.cc',
122 'p2p/stunprober/stunprober_unittest.cc',
123 ],
kjellander@webrtc.org7572d852015-03-04 08:47:39 +0000124 'conditions': [
kjellander26306b12016-06-02 02:26:01 -0700125 ['OS=="linux"', {
126 'sources': [
127 'base/latebindingsymboltable_unittest.cc',
128 # TODO(ronghuawu): Reenable this test.
129 # 'linux_unittest.cc',
130 'base/linuxfdwalk_unittest.cc',
131 ],
132 }],
133 ['OS=="win"', {
134 'sources': [
135 'base/win32_unittest.cc',
136 'base/win32regkey_unittest.cc',
137 'base/win32window_unittest.cc',
138 'base/win32windowpicker_unittest.cc',
139 'base/winfirewall_unittest.cc',
140 ],
kjellander26306b12016-06-02 02:26:01 -0700141 }],
142 ['OS=="win" and clang==1', {
143 'msvs_settings': {
144 'VCCLCompilerTool': {
145 'AdditionalOptions': [
146 # Disable warnings failing when compiling with Clang on Windows.
147 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
148 '-Wno-missing-braces',
149 '-Wno-sign-compare',
150 '-Wno-unused-const-variable',
151 ],
152 },
153 },
154 }],
155 ['OS=="mac"', {
156 'sources': [
157 'base/macutils_unittest.cc',
158 ],
159 }],
160 ['os_posix==1', {
161 'sources': [
162 'base/ssladapter_unittest.cc',
163 'base/sslidentity_unittest.cc',
164 'base/sslstreamadapter_unittest.cc',
165 ],
166 }],
167 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
168 'defines': [
169 'CARBON_DEPRECATED=YES',
170 ],
171 }],
172 ['use_quic==1', {
173 'sources': [
174 'p2p/quic/quicconnectionhelper_unittest.cc',
175 'p2p/quic/quicsession_unittest.cc',
176 'p2p/quic/quictransport_unittest.cc',
177 'p2p/quic/quictransportchannel_unittest.cc',
178 'p2p/quic/reliablequicstream_unittest.cc',
179 ],
180 }],
kjellander@webrtc.org7572d852015-03-04 08:47:39 +0000181 ['OS=="android"', {
182 'dependencies': [
183 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
184 ],
185 }],
tkchin9eeb6242016-04-27 01:54:20 -0700186 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', {
kjellander3bcedd32016-06-08 01:14:15 -0700187 'includes': [
188 'build/objc_common.gypi',
tkchin9eeb6242016-04-27 01:54:20 -0700189 ],
kjellander3bcedd32016-06-08 01:14:15 -0700190 'dependencies': [
191 'sdk/sdk.gyp:rtc_sdk_peerconnection_objc',
192 'system_wrappers/system_wrappers.gyp:metrics_default',
193 ],
194 'sources': [
195 'sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm',
196 'sdk/objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm',
197 'sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm',
198 'sdk/objc/Framework/UnitTests/RTCIceServerTest.mm',
199 'sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm',
200 'sdk/objc/Framework/UnitTests/RTCSessionDescriptionTest.mm',
201 ],
202 'xcode_settings': {
203 # |-ObjC| flag needed to make sure category method implementations
204 # are included:
205 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
206 'OTHER_LDFLAGS': ['-ObjC'],
207 },
tkchin9eeb6242016-04-27 01:54:20 -0700208 }],
kjellander@webrtc.org7572d852015-03-04 08:47:39 +0000209 ],
henrike@webrtc.orgb2efb672014-09-10 17:28:19 +0000210 },
211 {
tommi32e80e42016-05-24 05:47:57 -0700212 'target_name': 'xmllite_xmpp_unittests',
213 'type': '<(gtest_target_type)',
214 'dependencies': [
215 'base/base_tests.gyp:rtc_base_tests_utils', # needed for main()
216 'libjingle/xmllite/xmllite.gyp:rtc_xmllite',
217 'libjingle/xmpp/xmpp.gyp:rtc_xmpp',
tommi32e80e42016-05-24 05:47:57 -0700218 '<(DEPTH)/testing/gtest.gyp:gtest',
219 ],
kjellander26306b12016-06-02 02:26:01 -0700220 'sources': [
221 'libjingle/xmllite/qname_unittest.cc',
222 'libjingle/xmllite/xmlbuilder_unittest.cc',
223 'libjingle/xmllite/xmlelement_unittest.cc',
224 'libjingle/xmllite/xmlnsstack_unittest.cc',
225 'libjingle/xmllite/xmlparser_unittest.cc',
226 'libjingle/xmllite/xmlprinter_unittest.cc',
227 'libjingle/xmpp/fakexmppclient.h',
228 'libjingle/xmpp/hangoutpubsubclient_unittest.cc',
229 'libjingle/xmpp/jid_unittest.cc',
230 'libjingle/xmpp/mucroomconfigtask_unittest.cc',
231 'libjingle/xmpp/mucroomdiscoverytask_unittest.cc',
232 'libjingle/xmpp/mucroomlookuptask_unittest.cc',
233 'libjingle/xmpp/mucroomuniquehangoutidtask_unittest.cc',
234 'libjingle/xmpp/pingtask_unittest.cc',
235 'libjingle/xmpp/pubsubclient_unittest.cc',
236 'libjingle/xmpp/pubsubtasks_unittest.cc',
237 'libjingle/xmpp/util_unittest.cc',
238 'libjingle/xmpp/util_unittest.h',
239 'libjingle/xmpp/xmppengine_unittest.cc',
240 'libjingle/xmpp/xmpplogintask_unittest.cc',
241 'libjingle/xmpp/xmppstanzaparser_unittest.cc',
242 ],
tommi32e80e42016-05-24 05:47:57 -0700243 },
244 {
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000245 'target_name': 'webrtc_tests',
246 'type': 'none',
247 'dependencies': [
248 'video_engine_tests',
249 'video_loopback',
pbos@webrtc.org4b5625e2014-08-06 16:26:56 +0000250 'video_replay',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000251 'webrtc_perf_tests',
Peter Boström95192fb2015-10-29 12:41:56 +0100252 'webrtc_nonparallel_tests',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000253 ],
254 },
255 {
ivica5d6a06c2015-09-17 05:30:24 -0700256 'target_name': 'video_quality_test',
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000257 'type': 'static_library',
258 'sources': [
ivica5d6a06c2015-09-17 05:30:24 -0700259 'video/video_quality_test.cc',
260 'video/video_quality_test.h',
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000261 ],
262 'dependencies': [
263 '<(DEPTH)/testing/gtest.gyp:gtest',
ivica5d6a06c2015-09-17 05:30:24 -0700264 '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl',
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000265 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
266 'webrtc',
267 ],
ivica5d6a06c2015-09-17 05:30:24 -0700268 'conditions': [
269 ['OS=="android"', {
270 'dependencies!': [
271 '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_impl',
272 ],
273 }],
274 ],
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000275 },
276 {
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000277 'target_name': 'video_loopback',
278 'type': 'executable',
279 'sources': [
mflodman@webrtc.orgeae79242014-06-05 09:32:51 +0000280 'test/mac/run_test.mm',
281 'test/run_test.cc',
282 'test/run_test.h',
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000283 'video/video_loopback.cc',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000284 ],
mflodman@webrtc.orgeae79242014-06-05 09:32:51 +0000285 'conditions': [
286 ['OS=="mac"', {
287 'sources!': [
288 'test/run_test.cc',
289 ],
290 }],
291 ],
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000292 'dependencies': [
ivica5d6a06c2015-09-17 05:30:24 -0700293 'video_quality_test',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000294 '<(DEPTH)/testing/gtest.gyp:gtest',
pbos@webrtc.org023b1012014-05-13 11:26:40 +0000295 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
kjellander0e739342016-03-02 10:46:17 -0800296 'test/test.gyp:test_common',
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000297 'test/test.gyp:test_main',
kjellander0e739342016-03-02 10:46:17 -0800298 'test/test.gyp:test_renderer',
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000299 'webrtc',
300 ],
301 },
Peter Boström4b91bd02015-06-26 06:58:16 +0200302 {
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000303 'target_name': 'screenshare_loopback',
304 'type': 'executable',
305 'sources': [
306 'test/mac/run_test.mm',
307 'test/run_test.cc',
308 'test/run_test.h',
309 'video/screenshare_loopback.cc',
310 ],
311 'conditions': [
312 ['OS=="mac"', {
313 'sources!': [
314 'test/run_test.cc',
315 ],
316 }],
317 ],
318 'dependencies': [
ivica5d6a06c2015-09-17 05:30:24 -0700319 'video_quality_test',
sprang@webrtc.org131bea82015-02-18 12:46:06 +0000320 '<(DEPTH)/testing/gtest.gyp:gtest',
321 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
kjellander0e739342016-03-02 10:46:17 -0800322 'test/test.gyp:test_common',
stefan@webrtc.orgb3265ac2014-11-04 14:57:14 +0000323 'test/test.gyp:test_main',
kjellander0e739342016-03-02 10:46:17 -0800324 'test/test.gyp:test_renderer',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000325 'webrtc',
326 ],
327 },
328 {
pbos@webrtc.org4b5625e2014-08-06 16:26:56 +0000329 'target_name': 'video_replay',
330 'type': 'executable',
331 'sources': [
332 'test/mac/run_test.mm',
333 'test/run_test.cc',
334 'test/run_test.h',
335 'video/replay.cc',
336 ],
337 'conditions': [
338 ['OS=="mac"', {
339 'sources!': [
340 'test/run_test.cc',
341 ],
342 }],
343 ],
344 'dependencies': [
345 '<(DEPTH)/testing/gtest.gyp:gtest',
346 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
kjellander0e739342016-03-02 10:46:17 -0800347 'test/test.gyp:test_common',
348 'test/test.gyp:test_renderer',
kjellander@webrtc.orgf58fe0a2015-02-11 07:47:00 +0000349 '<(webrtc_root)/modules/modules.gyp:video_capture',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000350 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
pbos@webrtc.org4b5625e2014-08-06 16:26:56 +0000351 'webrtc',
352 ],
353 },
354 {
solenbergc7a8b082015-10-16 14:35:07 -0700355 # TODO(solenberg): Rename to webrtc_call_tests.
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000356 'target_name': 'video_engine_tests',
357 'type': '<(gtest_target_type)',
358 'sources': [
Peter Boström5c389d32015-09-25 13:58:30 +0200359 'audio/audio_receive_stream_unittest.cc',
solenbergc7a8b082015-10-16 14:35:07 -0700360 'audio/audio_send_stream_unittest.cc',
solenberg566ef242015-11-06 15:34:49 -0800361 'audio/audio_state_unittest.cc',
mflodman0e7e2592015-11-12 21:02:42 -0800362 'call/bitrate_allocator_unittest.cc',
Peter Boström5c389d32015-09-25 13:58:30 +0200363 'call/bitrate_estimator_tests.cc',
solenbergc7a8b082015-10-16 14:35:07 -0700364 'call/call_unittest.cc',
Peter Boström5c389d32015-09-25 13:58:30 +0200365 'call/packet_injection_tests.cc',
terelius4311ba52016-04-22 12:40:37 -0700366 'call/ringbuffer_unittest.cc',
kjellander@webrtc.orga33f05e2015-01-29 14:29:45 +0000367 'test/common_unittest.cc',
368 'test/testsupport/metrics/video_metrics_unittest.cc',
Peter Boström7623ce42015-12-09 12:13:30 +0100369 'video/call_stats_unittest.cc',
370 'video/encoder_state_feedback_unittest.cc',
pbos@webrtc.org994d0b72014-06-27 08:47:52 +0000371 'video/end_to_end_tests.cc',
Peter Boström7623ce42015-12-09 12:13:30 +0100372 'video/overuse_frame_detector_unittest.cc',
373 'video/payload_router_unittest.cc',
374 'video/report_block_stats_unittest.cc',
asapersson35151f32016-05-02 23:44:01 -0700375 'video/send_delay_stats_unittest.cc',
sprang@webrtc.orgccd42842014-01-07 09:54:34 +0000376 'video/send_statistics_proxy_unittest.cc',
asapersson0e9d6d92016-05-23 06:07:55 -0700377 'video/stats_counter_unittest.cc',
Peter Boström7623ce42015-12-09 12:13:30 +0100378 'video/stream_synchronization_unittest.cc',
Peter Boström4b91bd02015-06-26 06:58:16 +0200379 'video/video_capture_input_unittest.cc',
Peter Boström7252a2b2015-05-18 19:42:03 +0200380 'video/video_decoder_unittest.cc',
Peter Boström4d71ede2015-05-19 23:09:35 +0200381 'video/video_encoder_unittest.cc',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000382 'video/video_send_stream_tests.cc',
Peter Boström7623ce42015-12-09 12:13:30 +0100383 'video/vie_remb_unittest.cc',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000384 ],
385 'dependencies': [
pbos@webrtc.org451a1332014-12-16 14:48:47 +0000386 '<(DEPTH)/testing/gmock.gyp:gmock',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000387 '<(DEPTH)/testing/gtest.gyp:gtest',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000388 '<(webrtc_root)/common.gyp:webrtc_common',
andresp@webrtc.orgab071da2014-09-18 08:58:15 +0000389 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
kjellander@webrtc.orgf58fe0a2015-02-11 07:47:00 +0000390 '<(webrtc_root)/modules/modules.gyp:video_capture',
pbos@webrtc.org451a1332014-12-16 14:48:47 +0000391 '<(webrtc_root)/test/test.gyp:channel_transport',
392 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
pbos@webrtc.org0a222eb2013-12-13 14:31:47 +0000393 'test/metrics.gyp:metrics',
kjellander0e739342016-03-02 10:46:17 -0800394 'test/test.gyp:test_common',
andresp@webrtc.orga36ad692014-05-14 12:24:04 +0000395 'test/test.gyp:test_main',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000396 'webrtc',
397 ],
fischman@webrtc.org033aa222014-05-27 18:44:59 +0000398 'conditions': [
hbosbab934b2016-01-27 01:36:03 -0800399 ['rtc_use_h264==1', {
400 'defines': [
401 'WEBRTC_END_TO_END_H264_TESTS',
402 ],
403 }],
kjellander@webrtc.org76a42572014-09-02 08:40:39 +0000404 ['OS=="android"', {
fischman@webrtc.org033aa222014-05-27 18:44:59 +0000405 'dependencies': [
406 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
407 ],
408 }],
kjellander02060002016-02-16 22:06:12 -0800409 ['OS=="ios"', {
410 'mac_bundle_resources': [
411 '<(DEPTH)/resources/foreman_cif_short.yuv',
412 '<(DEPTH)/resources/voice_engine/audio_long16.pcm',
413 ],
414 }],
Bjorn Terelius36411852015-07-30 12:45:18 +0200415 ['enable_protobuf==1', {
416 'defines': [
417 'ENABLE_RTC_EVENT_LOG',
418 ],
419 'dependencies': [
420 'webrtc.gyp:rtc_event_log',
tereliusd5c1a0b2016-05-13 00:42:59 -0700421 'webrtc.gyp:rtc_event_log_parser',
Bjorn Terelius36411852015-07-30 12:45:18 +0200422 'webrtc.gyp:rtc_event_log_proto',
423 ],
424 'sources': [
Peter Boström5c389d32015-09-25 13:58:30 +0200425 'call/rtc_event_log_unittest.cc',
tereliusd5c1a0b2016-05-13 00:42:59 -0700426 'call/rtc_event_log_unittest_helper.cc'
Bjorn Terelius36411852015-07-30 12:45:18 +0200427 ],
428 }],
fischman@webrtc.org033aa222014-05-27 18:44:59 +0000429 ],
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000430 },
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000431 {
432 'target_name': 'webrtc_perf_tests',
433 'type': '<(gtest_target_type)',
434 'sources': [
Peter Boström5c389d32015-09-25 13:58:30 +0200435 'call/call_perf_tests.cc',
stefanff483612015-12-21 03:14:00 -0800436 'call/rampup_tests.cc',
437 'call/rampup_tests.h',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000438 'modules/audio_coding/neteq/test/neteq_performance_unittest.cc',
peah9fca7e12015-12-20 23:13:40 -0800439 'modules/audio_processing/audio_processing_performance_unittest.cc',
peahca4cac72016-06-29 15:26:12 -0700440 'modules/audio_processing/level_controller/level_controller_complexity_unittest.cc',
Stefan Holmer09bdc1e2015-04-16 20:20:36 +0200441 'modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000442 'video/full_stack.cc',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000443 ],
444 'dependencies': [
pbos@webrtc.org451a1332014-12-16 14:48:47 +0000445 '<(DEPTH)/testing/gmock.gyp:gmock',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000446 '<(DEPTH)/testing/gtest.gyp:gtest',
peah9fca7e12015-12-20 23:13:40 -0800447 '<(webrtc_root)/modules/modules.gyp:audio_processing',
448 '<(webrtc_root)/modules/modules.gyp:audioproc_test_utils',
kjellander@webrtc.orgf58fe0a2015-02-11 07:47:00 +0000449 '<(webrtc_root)/modules/modules.gyp:video_capture',
pbos@webrtc.org451a1332014-12-16 14:48:47 +0000450 '<(webrtc_root)/test/test.gyp:channel_transport',
451 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
ivica5d6a06c2015-09-17 05:30:24 -0700452 'video_quality_test',
Stefan Holmer09bdc1e2015-04-16 20:20:36 +0200453 'modules/modules.gyp:neteq_test_support',
454 'modules/modules.gyp:bwe_simulator',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000455 'modules/modules.gyp:rtp_rtcp',
kjellander0e739342016-03-02 10:46:17 -0800456 'test/test.gyp:test_common',
andresp@webrtc.orga36ad692014-05-14 12:24:04 +0000457 'test/test.gyp:test_main',
kjellander0e739342016-03-02 10:46:17 -0800458 'test/test.gyp:test_renderer',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000459 'webrtc',
460 ],
pbos@webrtc.orgb4e3c252014-05-30 12:42:10 +0000461 'conditions': [
kjellander@webrtc.org3bd41562014-09-01 11:06:37 +0000462 ['OS=="android"', {
pbos@webrtc.orgb4e3c252014-05-30 12:42:10 +0000463 'dependencies': [
464 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
465 ],
466 }],
467 ],
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000468 },
Peter Boström95192fb2015-10-29 12:41:56 +0100469 {
470 'target_name': 'webrtc_nonparallel_tests',
471 'type': '<(gtest_target_type)',
472 'sources': [
473 'base/nullsocketserver_unittest.cc',
Danil Chapovalove51e1192016-08-03 15:14:33 +0200474 'base/physicalsocketserver_unittest.cc',
475 'base/socket_unittest.cc',
476 'base/socket_unittest.h',
Peter Boström95192fb2015-10-29 12:41:56 +0100477 'base/socketaddress_unittest.cc',
478 'base/virtualsocket_unittest.cc',
479 ],
phoglundc6c00b32016-05-04 01:54:35 -0700480 'defines': [
481 'GTEST_RELATIVE_PATH',
482 ],
Peter Boström95192fb2015-10-29 12:41:56 +0100483 'dependencies': [
484 '<(DEPTH)/testing/gtest.gyp:gtest',
485 'base/base.gyp:rtc_base',
486 'test/test.gyp:test_main',
487 ],
488 'conditions': [
489 ['OS=="android"', {
490 'dependencies': [
491 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
492 ],
493 }],
494 ['OS=="win"', {
495 'sources': [
Danil Chapovalove51e1192016-08-03 15:14:33 +0200496 'base/win32socketserver_unittest.cc',
Peter Boström95192fb2015-10-29 12:41:56 +0100497 ],
498 }],
499 ['OS=="mac"', {
500 'sources': [
501 'base/macsocketserver_unittest.cc',
502 ],
503 }],
504 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
505 'defines': [
506 'CARBON_DEPRECATED=YES',
507 ],
508 }],
509 ],
510 },
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000511 ],
512 'conditions': [
kjellander@webrtc.org3bd41562014-09-01 11:06:37 +0000513 ['OS=="android"', {
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000514 'targets': [
515 {
kjellander@webrtc.org7572d852015-03-04 08:47:39 +0000516 'target_name': 'rtc_unittests_apk_target',
517 'type': 'none',
518 'dependencies': [
kjellander208d1982016-05-31 04:01:38 -0700519 '<(android_tests_path):rtc_unittests_apk',
kjellander@webrtc.org7572d852015-03-04 08:47:39 +0000520 ],
521 },
522 {
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000523 'target_name': 'video_engine_tests_apk_target',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000524 'type': 'none',
525 'dependencies': [
kjellander208d1982016-05-31 04:01:38 -0700526 '<(android_tests_path):video_engine_tests_apk',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000527 ],
528 },
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000529 {
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000530 'target_name': 'webrtc_perf_tests_apk_target',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000531 'type': 'none',
532 'dependencies': [
kjellander208d1982016-05-31 04:01:38 -0700533 '<(android_tests_path):webrtc_perf_tests_apk',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000534 ],
535 },
Peter Boström95192fb2015-10-29 12:41:56 +0100536 {
537 'target_name': 'webrtc_nonparallel_tests_apk_target',
538 'type': 'none',
539 'dependencies': [
kjellander208d1982016-05-31 04:01:38 -0700540 '<(android_tests_path):webrtc_nonparallel_tests_apk',
Peter Boström95192fb2015-10-29 12:41:56 +0100541 ],
542 },
magjedce17e012016-06-01 00:43:59 -0700543 {
544 'target_name': 'android_junit_tests_target',
545 'type': 'none',
546 'dependencies': [
547 '<(android_tests_path):android_junit_tests',
548 ],
549 },
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000550 ],
kjellandere532aec2016-04-17 20:08:20 -0700551 'conditions': [
552 ['test_isolation_mode != "noop"',
553 {
554 'targets': [
555 {
556 'target_name': 'rtc_unittests_apk_run',
557 'type': 'none',
558 'dependencies': [
kjellander208d1982016-05-31 04:01:38 -0700559 '<(android_tests_path):rtc_unittests_apk',
kjellandere532aec2016-04-17 20:08:20 -0700560 ],
561 'includes': [
562 'build/isolate.gypi',
563 ],
564 'sources': [
565 'rtc_unittests_apk.isolate',
566 ],
567 },
568 {
569 'target_name': 'video_engine_tests_apk_run',
570 'type': 'none',
571 'dependencies': [
kjellander208d1982016-05-31 04:01:38 -0700572 '<(android_tests_path):video_engine_tests_apk',
kjellandere532aec2016-04-17 20:08:20 -0700573 ],
574 'includes': [
575 'build/isolate.gypi',
576 ],
577 'sources': [
578 'video_engine_tests_apk.isolate',
579 ],
580 },
581 {
582 'target_name': 'webrtc_perf_tests_apk_run',
583 'type': 'none',
584 'dependencies': [
kjellander208d1982016-05-31 04:01:38 -0700585 '<(android_tests_path):webrtc_perf_tests_apk',
kjellandere532aec2016-04-17 20:08:20 -0700586 ],
587 'includes': [
588 'build/isolate.gypi',
589 ],
590 'sources': [
591 'webrtc_perf_tests_apk.isolate',
592 ],
593 },
594 {
595 'target_name': 'webrtc_nonparallel_tests_apk_run',
596 'type': 'none',
597 'dependencies': [
kjellander208d1982016-05-31 04:01:38 -0700598 '<(android_tests_path):webrtc_nonparallel_tests_apk',
kjellandere532aec2016-04-17 20:08:20 -0700599 ],
600 'includes': [
601 'build/isolate.gypi',
602 ],
603 'sources': [
604 'webrtc_nonparallel_tests_apk.isolate',
605 ],
606 },
607 ],
608 },
609 ],
610 ],
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000611 }],
612 ['test_isolation_mode != "noop"', {
613 'targets': [
614 {
henrike@webrtc.org792d1a02014-09-30 14:21:10 +0000615 'target_name': 'rtc_unittests_run',
616 'type': 'none',
617 'dependencies': [
618 'rtc_unittests',
619 ],
620 'includes': [
621 'build/isolate.gypi',
henrike@webrtc.org792d1a02014-09-30 14:21:10 +0000622 ],
623 'sources': [
624 'rtc_unittests.isolate',
625 ],
626 },
627 {
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000628 'target_name': 'video_engine_tests_run',
629 'type': 'none',
630 'dependencies': [
631 'video_engine_tests',
632 ],
633 'includes': [
pbos@webrtc.org0803c032013-10-28 18:10:29 +0000634 'build/isolate.gypi',
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000635 ],
636 'sources': [
637 'video_engine_tests.isolate',
638 ],
639 },
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000640 {
Peter Boström4f4f7562015-10-29 15:29:04 +0100641 'target_name': 'webrtc_nonparallel_tests_run',
642 'type': 'none',
643 'dependencies': [
644 'webrtc_nonparallel_tests',
645 ],
646 'includes': [
647 'build/isolate.gypi',
648 ],
649 'sources': [
650 'webrtc_nonparallel_tests.isolate',
651 ],
652 },
653 {
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000654 'target_name': 'webrtc_perf_tests_run',
655 'type': 'none',
656 'dependencies': [
657 'webrtc_perf_tests',
658 ],
659 'includes': [
660 'build/isolate.gypi',
pbos@webrtc.org1d096902013-12-13 12:48:05 +0000661 ],
662 'sources': [
663 'webrtc_perf_tests.isolate',
664 ],
665 },
pbos@webrtc.org16e03b72013-10-28 16:32:01 +0000666 ],
667 }],
668 ],
669}