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