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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 "../../test:test_support", | 389 "../../test:test_support", |
390 "../../test:video_test_common", | 390 "../../test:video_test_common", |
391 "../../test:video_test_support", | 391 "../../test:video_test_support", |
392 ] | 392 ] |
393 } | 393 } |
394 | 394 |
395 rtc_source_set("video_coding_videoprocessor_integration_test") { | 395 rtc_source_set("video_coding_videoprocessor_integration_test") { |
396 testonly = true | 396 testonly = true |
397 | 397 |
398 sources = [ | 398 sources = [ |
| 399 "codecs/test/videoprocessor_integrationtest.cc", |
399 "codecs/test/videoprocessor_integrationtest.h", | 400 "codecs/test/videoprocessor_integrationtest.h", |
400 ] | 401 ] |
401 | 402 |
402 deps = [ | 403 deps = [ |
403 ":video_codecs_test_framework", | 404 ":video_codecs_test_framework", |
404 ":video_coding", | 405 ":video_coding", |
405 ":video_coding_utility", | 406 ":video_coding_utility", |
406 ":webrtc_h264", | 407 ":webrtc_h264", |
407 ":webrtc_vp8", | 408 ":webrtc_vp8", |
408 ":webrtc_vp9", | 409 ":webrtc_vp9", |
(...skipping 20 matching lines...) Expand all Loading... |
429 ] | 430 ] |
430 } | 431 } |
431 | 432 |
432 if (is_ios || is_mac) { | 433 if (is_ios || is_mac) { |
433 deps += [ | 434 deps += [ |
434 ":codec_test_objc", | 435 ":codec_test_objc", |
435 "../../media:rtc_media_base", | 436 "../../media:rtc_media_base", |
436 "../../sdk:videotoolbox_objc", | 437 "../../sdk:videotoolbox_objc", |
437 ] | 438 ] |
438 } | 439 } |
| 440 |
| 441 if (!build_with_chromium && is_clang) { |
| 442 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 443 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 444 } |
439 } | 445 } |
440 | 446 |
441 rtc_source_set("video_coding_modules_tests") { | 447 rtc_source_set("video_coding_modules_tests") { |
442 testonly = true | 448 testonly = true |
443 | 449 |
444 # Skip restricting visibility on mobile platforms since the tests on those | 450 # Skip restricting visibility on mobile platforms since the tests on those |
445 # gets additional generated targets which would require many lines here to | 451 # gets additional generated targets which would require many lines here to |
446 # cover (which would be confusing to read and hard to maintain). | 452 # cover (which would be confusing to read and hard to maintain). |
447 if (!is_android && !is_ios) { | 453 if (!is_android && !is_ios) { |
448 visibility = [ "..:modules_tests" ] | 454 visibility = [ "..:modules_tests" ] |
449 } | 455 } |
450 sources = [ | 456 sources = [ |
451 "codecs/h264/test/h264_impl_unittest.cc", | 457 "codecs/h264/test/h264_impl_unittest.cc", |
452 "codecs/test/videoprocessor_integrationtest.cc", | 458 "codecs/test/videoprocessor_integrationtest_libvpx.cc", |
| 459 "codecs/test/videoprocessor_integrationtest_openh264.cc", |
453 "codecs/vp8/test/vp8_impl_unittest.cc", | 460 "codecs/vp8/test/vp8_impl_unittest.cc", |
454 "codecs/vp9/test/vp9_impl_unittest.cc", | 461 "codecs/vp9/test/vp9_impl_unittest.cc", |
455 ] | 462 ] |
456 | 463 |
457 deps = [ | 464 deps = [ |
458 ":video_codecs_test_framework", | 465 ":video_codecs_test_framework", |
459 ":video_coding_videoprocessor_integration_test", | 466 ":video_coding_videoprocessor_integration_test", |
460 ":webrtc_h264", | 467 ":webrtc_h264", |
461 ":webrtc_vp8", | 468 ":webrtc_vp8", |
462 ":webrtc_vp9", | 469 ":webrtc_vp9", |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 } | 647 } |
641 | 648 |
642 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 649 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
643 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 650 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
644 if (!build_with_chromium && is_clang) { | 651 if (!build_with_chromium && is_clang) { |
645 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 652 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
646 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 653 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
647 } | 654 } |
648 } | 655 } |
649 } | 656 } |
OLD | NEW |