OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. | 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. |
10 | 10 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 } | 225 } |
226 | 226 |
227 rtc_source_set("video_stream_api") { | 227 rtc_source_set("video_stream_api") { |
228 sources = [ | 228 sources = [ |
229 "video_receive_stream.h", | 229 "video_receive_stream.h", |
230 "video_send_stream.h", | 230 "video_send_stream.h", |
231 ] | 231 ] |
232 deps = [ | 232 deps = [ |
233 ":webrtc_common", | 233 ":webrtc_common", |
234 "api:transport_api", | 234 "api:transport_api", |
235 "base:rtc_base_approved", | |
236 "common_video:common_video", | 235 "common_video:common_video", |
| 236 "rtc_base:rtc_base_approved", |
237 ] | 237 ] |
238 } | 238 } |
239 | 239 |
240 if (!build_with_chromium) { | 240 if (!build_with_chromium) { |
241 # Target to build all the WebRTC production code. | 241 # Target to build all the WebRTC production code. |
242 rtc_static_library("webrtc") { | 242 rtc_static_library("webrtc") { |
243 # Only the root target should depend on this. | 243 # Only the root target should depend on this. |
244 visibility = [ "//:default" ] | 244 visibility = [ "//:default" ] |
245 | 245 |
246 sources = [] | 246 sources = [] |
247 complete_static_lib = true | 247 complete_static_lib = true |
248 defines = [] | 248 defines = [] |
249 | 249 |
250 deps = [ | 250 deps = [ |
251 ":webrtc_common", | 251 ":webrtc_common", |
252 "api", | 252 "api", |
253 "api:transport_api", | 253 "api:transport_api", |
254 "audio", | 254 "audio", |
255 "base", | |
256 "call", | 255 "call", |
257 "common_audio", | 256 "common_audio", |
258 "common_video", | 257 "common_video", |
259 "logging", | 258 "logging", |
260 "media", | 259 "media", |
261 "modules", | 260 "modules", |
262 "modules/video_capture:video_capture_internal_impl", | 261 "modules/video_capture:video_capture_internal_impl", |
263 "ortc", | 262 "ortc", |
264 "p2p", | 263 "p2p", |
265 "pc", | 264 "pc", |
(...skipping 18 matching lines...) Expand all Loading... |
284 testonly = true | 283 testonly = true |
285 | 284 |
286 # Only the root target should depend on this. | 285 # Only the root target should depend on this. |
287 visibility = [ "//:default" ] | 286 visibility = [ "//:default" ] |
288 | 287 |
289 deps = [ | 288 deps = [ |
290 ":rtc_unittests", | 289 ":rtc_unittests", |
291 ":video_engine_tests", | 290 ":video_engine_tests", |
292 ":webrtc_nonparallel_tests", | 291 ":webrtc_nonparallel_tests", |
293 ":webrtc_perf_tests", | 292 ":webrtc_perf_tests", |
294 "base:rtc_base_tests_utils", | |
295 "common_audio:common_audio_unittests", | 293 "common_audio:common_audio_unittests", |
296 "common_video:common_video_unittests", | 294 "common_video:common_video_unittests", |
297 "media:rtc_media_unittests", | 295 "media:rtc_media_unittests", |
298 "modules:modules_tests", | 296 "modules:modules_tests", |
299 "modules:modules_unittests", | 297 "modules:modules_unittests", |
300 "modules/audio_coding:audio_coding_tests", | 298 "modules/audio_coding:audio_coding_tests", |
301 "modules/audio_processing:audio_processing_tests", | 299 "modules/audio_processing:audio_processing_tests", |
302 "modules/remote_bitrate_estimator:bwe_simulations_tests", | 300 "modules/remote_bitrate_estimator:bwe_simulations_tests", |
303 "modules/rtp_rtcp:test_packet_masks_metrics", | 301 "modules/rtp_rtcp:test_packet_masks_metrics", |
304 "modules/video_capture:video_capture_internal_impl", | 302 "modules/video_capture:video_capture_internal_impl", |
305 "modules/video_coding:plot_videoprocessor_integrationtest", | 303 "modules/video_coding:plot_videoprocessor_integrationtest", |
306 "ortc:ortc_unittests", | 304 "ortc:ortc_unittests", |
307 "pc:peerconnection_unittests", | 305 "pc:peerconnection_unittests", |
308 "pc:rtc_pc_unittests", | 306 "pc:rtc_pc_unittests", |
| 307 "rtc_base:rtc_base_tests_utils", |
309 "stats:rtc_stats_unittests", | 308 "stats:rtc_stats_unittests", |
310 "system_wrappers:system_wrappers_unittests", | 309 "system_wrappers:system_wrappers_unittests", |
311 "test", | 310 "test", |
312 "video:screenshare_loopback", | 311 "video:screenshare_loopback", |
313 "video:video_loopback", | 312 "video:video_loopback", |
314 "voice_engine:voice_engine_unittests", | 313 "voice_engine:voice_engine_unittests", |
315 ] | 314 ] |
316 if (is_android) { | 315 if (is_android) { |
317 deps += [ | 316 deps += [ |
318 ":android_junit_tests", | 317 ":android_junit_tests", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 rtc_test("rtc_unittests") { | 385 rtc_test("rtc_unittests") { |
387 testonly = true | 386 testonly = true |
388 sources = [ | 387 sources = [ |
389 "config_unittest.cc", | 388 "config_unittest.cc", |
390 ] | 389 ] |
391 | 390 |
392 deps = [ | 391 deps = [ |
393 ":webrtc_common", | 392 ":webrtc_common", |
394 "api:rtc_api_unittests", | 393 "api:rtc_api_unittests", |
395 "api/audio_codecs/test:audio_codecs_api_unittests", | 394 "api/audio_codecs/test:audio_codecs_api_unittests", |
396 "base:rtc_base_approved_unittests", | |
397 "base:rtc_base_tests_main", | |
398 "base:rtc_base_tests_utils", | |
399 "base:rtc_base_unittests", | |
400 "base:rtc_numerics_unittests", | |
401 "base:rtc_task_queue_unittests", | |
402 "base:sequenced_task_checker_unittests", | |
403 "base:weak_ptr_unittests", | |
404 "p2p:libstunprober_unittests", | 395 "p2p:libstunprober_unittests", |
405 "p2p:rtc_p2p_unittests", | 396 "p2p:rtc_p2p_unittests", |
| 397 "rtc_base:rtc_base_approved_unittests", |
| 398 "rtc_base:rtc_base_tests_main", |
| 399 "rtc_base:rtc_base_tests_utils", |
| 400 "rtc_base:rtc_base_unittests", |
| 401 "rtc_base:rtc_numerics_unittests", |
| 402 "rtc_base:rtc_task_queue_unittests", |
| 403 "rtc_base:sequenced_task_checker_unittests", |
| 404 "rtc_base:weak_ptr_unittests", |
406 "system_wrappers:metrics_default", | 405 "system_wrappers:metrics_default", |
407 ] | 406 ] |
408 | 407 |
409 if (rtc_enable_protobuf) { | 408 if (rtc_enable_protobuf) { |
410 deps += [ "logging:rtc_event_log_tests" ] | 409 deps += [ "logging:rtc_event_log_tests" ] |
411 } | 410 } |
412 | 411 |
413 if (is_android) { | 412 if (is_android) { |
414 deps += [ "//testing/android/native_test:native_test_support" ] | 413 deps += [ "//testing/android/native_test:native_test_support" ] |
415 shard_timeout = 900 | 414 shard_timeout = 900 |
(...skipping 17 matching lines...) Expand all Loading... |
433 outputs = [ | 432 outputs = [ |
434 "{{bundle_resources_dir}}/{{source_file_part}}", | 433 "{{bundle_resources_dir}}/{{source_file_part}}", |
435 ] | 434 ] |
436 } | 435 } |
437 } | 436 } |
438 | 437 |
439 rtc_test("video_engine_tests") { | 438 rtc_test("video_engine_tests") { |
440 testonly = true | 439 testonly = true |
441 deps = [ | 440 deps = [ |
442 "audio:audio_tests", | 441 "audio:audio_tests", |
443 "base:rtc_base_tests_utils", | |
444 | 442 |
445 # TODO(eladalon): call_tests aren't actually video-specific, so we | 443 # TODO(eladalon): call_tests aren't actually video-specific, so we |
446 # should move them to a more appropriate test suite. | 444 # should move them to a more appropriate test suite. |
447 "call:call_tests", | 445 "call:call_tests", |
448 "modules/video_capture", | 446 "modules/video_capture", |
| 447 "rtc_base:rtc_base_tests_utils", |
449 "test:test_common", | 448 "test:test_common", |
450 "test:test_main", | 449 "test:test_main", |
451 "test:video_test_common", | 450 "test:video_test_common", |
452 "video:video_tests", | 451 "video:video_tests", |
453 ] | 452 ] |
454 data = video_engine_tests_resources | 453 data = video_engine_tests_resources |
455 if (!build_with_chromium && is_clang) { | 454 if (!build_with_chromium && is_clang) { |
456 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 455 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
457 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 456 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
458 } | 457 } |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 shard_timeout = 2700 | 509 shard_timeout = 2700 |
511 } | 510 } |
512 if (is_ios) { | 511 if (is_ios) { |
513 deps += [ ":webrtc_perf_tests_bundle_data" ] | 512 deps += [ ":webrtc_perf_tests_bundle_data" ] |
514 } | 513 } |
515 } | 514 } |
516 | 515 |
517 rtc_test("webrtc_nonparallel_tests") { | 516 rtc_test("webrtc_nonparallel_tests") { |
518 testonly = true | 517 testonly = true |
519 deps = [ | 518 deps = [ |
520 "base:rtc_base_nonparallel_tests", | 519 "rtc_base:rtc_base_nonparallel_tests", |
521 ] | 520 ] |
522 if (is_android) { | 521 if (is_android) { |
523 deps += [ "//testing/android/native_test:native_test_support" ] | 522 deps += [ "//testing/android/native_test:native_test_support" ] |
524 shard_timeout = 900 | 523 shard_timeout = 900 |
525 } | 524 } |
526 } | 525 } |
527 | 526 |
528 if (is_android) { | 527 if (is_android) { |
529 junit_binary("android_junit_tests") { | 528 junit_binary("android_junit_tests") { |
530 java_files = [ | 529 java_files = [ |
531 "examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java"
, | 530 "examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java"
, |
532 "examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java", | 531 "examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java", |
533 "examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java"
, | 532 "examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java"
, |
534 "sdk/android/tests/src/org/webrtc/CameraEnumerationTest.java", | 533 "sdk/android/tests/src/org/webrtc/CameraEnumerationTest.java", |
535 ] | 534 ] |
536 | 535 |
537 deps = [ | 536 deps = [ |
538 "//base:base_java_test_support", | 537 "//base:base_java_test_support", |
539 "//webrtc/examples:AppRTCMobile_javalib", | 538 "//webrtc/examples:AppRTCMobile_javalib", |
540 "//webrtc/sdk/android:libjingle_peerconnection_java", | 539 "//webrtc/sdk/android:libjingle_peerconnection_java", |
541 ] | 540 ] |
542 } | 541 } |
543 } | 542 } |
544 } | 543 } |
OLD | NEW |