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 import("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 | 10 |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 "../../rtc_base:rtc_base_approved", | 272 "../../rtc_base:rtc_base_approved", |
273 "../../system_wrappers", | 273 "../../system_wrappers", |
274 ] | 274 ] |
275 if (rtc_build_libvpx) { | 275 if (rtc_build_libvpx) { |
276 deps += [ rtc_libvpx_dir ] | 276 deps += [ rtc_libvpx_dir ] |
277 } | 277 } |
278 } | 278 } |
279 | 279 |
280 if (rtc_include_tests) { | 280 if (rtc_include_tests) { |
281 if (is_ios || is_mac) { | 281 if (is_ios || is_mac) { |
282 rtc_static_library("objc_codec_test") { | 282 rtc_static_library("codec_test_objc") { |
283 sources = [ | 283 sources = [ |
284 "codecs/test/objc_codec_h264_test.h", | 284 "codecs/test/objc_codec_h264_test.h", |
285 "codecs/test/objc_codec_h264_test.mm", | 285 "codecs/test/objc_codec_h264_test.mm", |
286 ] | 286 ] |
287 deps = [ | 287 deps = [ |
288 "../../api:video_frame_api", | 288 "../../api:video_frame_api", |
289 "../../api/video_codecs:video_codecs_api", | 289 "../../api/video_codecs:video_codecs_api", |
290 "../../media:rtc_audio_video", | 290 "../../media:rtc_audio_video", |
291 "../../modules:module_api", | 291 "../../modules:module_api", |
292 "../../sdk:objc_common", | 292 "../../sdk:common_objc", |
293 "../../sdk:objc_peerconnection", | 293 "../../sdk:peerconnection_objc", |
294 "../../sdk:objc_peerconnectionfactory", | 294 "../../sdk:peerconnectionfactory_objc", |
295 "../../sdk:objc_videotoolbox", | 295 "../../sdk:videotoolbox_objc", |
296 "../../sdk:objc_videotracksource", | 296 "../../sdk:videotracksource_objc", |
297 ] | 297 ] |
298 | 298 |
299 if (!build_with_chromium && is_clang) { | 299 if (!build_with_chromium && is_clang) { |
300 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 300 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
301 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 301 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
302 } | 302 } |
303 } | 303 } |
304 } | 304 } |
305 | 305 |
306 rtc_source_set("simulcast_test_utility") { | 306 rtc_source_set("simulcast_test_utility") { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 | 421 |
422 deps += [ | 422 deps += [ |
423 "../../rtc_base:rtc_base_approved", | 423 "../../rtc_base:rtc_base_approved", |
424 "../../sdk/android:libjingle_peerconnection_jni", | 424 "../../sdk/android:libjingle_peerconnection_jni", |
425 "//base", | 425 "//base", |
426 ] | 426 ] |
427 } | 427 } |
428 | 428 |
429 if (is_ios || is_mac) { | 429 if (is_ios || is_mac) { |
430 deps += [ | 430 deps += [ |
431 ":objc_codec_test", | 431 ":codec_test_objc", |
432 "../../media:rtc_media_base", | 432 "../../media:rtc_media_base", |
433 "../../sdk:objc_videotoolbox", | 433 "../../sdk:videotoolbox_objc", |
434 ] | 434 ] |
435 } | 435 } |
436 } | 436 } |
437 | 437 |
438 rtc_source_set("video_coding_modules_tests") { | 438 rtc_source_set("video_coding_modules_tests") { |
439 testonly = true | 439 testonly = true |
440 | 440 |
441 # Skip restricting visibility on mobile platforms since the tests on those | 441 # Skip restricting visibility on mobile platforms since the tests on those |
442 # gets additional generated targets which would require many lines here to | 442 # gets additional generated targets which would require many lines here to |
443 # cover (which would be confusing to read and hard to maintain). | 443 # cover (which would be confusing to read and hard to maintain). |
(...skipping 16 matching lines...) Expand all Loading... |
460 "../../api:video_frame_api", | 460 "../../api:video_frame_api", |
461 "../../common_video:common_video", | 461 "../../common_video:common_video", |
462 "../../rtc_base:rtc_base_approved", | 462 "../../rtc_base:rtc_base_approved", |
463 "../../test:field_trial", | 463 "../../test:field_trial", |
464 "../../test:test_support", | 464 "../../test:test_support", |
465 "../../test:video_test_common", | 465 "../../test:video_test_common", |
466 "../video_capture", | 466 "../video_capture", |
467 ] | 467 ] |
468 | 468 |
469 if (is_ios || is_mac) { | 469 if (is_ios || is_mac) { |
470 deps += [ ":objc_codec_test" ] | 470 deps += [ ":codec_test_objc" ] |
471 } | 471 } |
472 | 472 |
473 if (rtc_use_h264) { | 473 if (rtc_use_h264) { |
474 defines = [ "WEBRTC_USE_H264" ] | 474 defines = [ "WEBRTC_USE_H264" ] |
475 } | 475 } |
476 | 476 |
477 if (!build_with_chromium && is_clang) { | 477 if (!build_with_chromium && is_clang) { |
478 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 478 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
479 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 479 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
480 } | 480 } |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 "../../sdk/android:libjingle_peerconnection_jni", | 528 "../../sdk/android:libjingle_peerconnection_jni", |
529 "//base", | 529 "//base", |
530 "//testing/android/native_test:native_test_support", | 530 "//testing/android/native_test:native_test_support", |
531 ] | 531 ] |
532 | 532 |
533 shard_timeout = 900 | 533 shard_timeout = 900 |
534 } | 534 } |
535 | 535 |
536 if (is_ios || is_mac) { | 536 if (is_ios || is_mac) { |
537 deps += [ | 537 deps += [ |
538 ":objc_codec_test", | 538 ":codec_test_objc", |
539 ":plot_videoprocessor_integrationtest_bundle_data", | 539 ":plot_videoprocessor_integrationtest_bundle_data", |
540 ] | 540 ] |
541 } | 541 } |
542 | 542 |
543 # TODO(brandtr): Remove this define when the modules_tests target properly | 543 # TODO(brandtr): Remove this define when the modules_tests target properly |
544 # loads the Java classes mentioned above. | 544 # loads the Java classes mentioned above. |
545 defines = [ "WEBRTC_VIDEOPROCESSOR_INTEGRATIONTEST_HW_CODECS_ENABLED" ] | 545 defines = [ "WEBRTC_VIDEOPROCESSOR_INTEGRATIONTEST_HW_CODECS_ENABLED" ] |
546 | 546 |
547 if (!build_with_chromium && is_clang) { | 547 if (!build_with_chromium && is_clang) { |
548 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 548 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 } | 637 } |
638 | 638 |
639 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 639 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
640 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 640 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
641 if (!build_with_chromium && is_clang) { | 641 if (!build_with_chromium && is_clang) { |
642 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 642 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
643 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 643 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
644 } | 644 } |
645 } | 645 } |
646 } | 646 } |
OLD | NEW |