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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 if (is_ios || is_mac) { | 371 if (is_ios || is_mac) { |
372 deps += [ | 372 deps += [ |
373 "../../media:rtc_media_base", | 373 "../../media:rtc_media_base", |
374 "../../sdk:webrtc_h264_video_toolbox", | 374 "../../sdk:webrtc_h264_video_toolbox", |
375 ] | 375 ] |
376 } | 376 } |
377 } | 377 } |
378 | 378 |
379 rtc_source_set("video_coding_modules_tests") { | 379 rtc_source_set("video_coding_modules_tests") { |
380 testonly = true | 380 testonly = true |
381 | 381 if (!is_android && !is_ios) { # Generated targets makes this check break. |
| 382 visibility = [ "//webrtc/modules:modules_tests" ] |
| 383 } |
382 sources = [ | 384 sources = [ |
383 "codecs/h264/test/h264_impl_unittest.cc", | 385 "codecs/h264/test/h264_impl_unittest.cc", |
384 "codecs/test/videoprocessor_integrationtest.cc", | 386 "codecs/test/videoprocessor_integrationtest.cc", |
385 "codecs/vp8/test/vp8_impl_unittest.cc", | 387 "codecs/vp8/test/vp8_impl_unittest.cc", |
386 "codecs/vp9/test/vp9_impl_unittest.cc", | 388 "codecs/vp9/test/vp9_impl_unittest.cc", |
387 ] | 389 ] |
388 | 390 |
389 deps = [ | 391 deps = [ |
390 ":video_codecs_test_framework", | 392 ":video_codecs_test_framework", |
391 ":video_coding_videoprocessor_integration_test", | 393 ":video_coding_videoprocessor_integration_test", |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 defines = [ "WEBRTC_VIDEOPROCESSOR_INTEGRATIONTEST_HW_CODECS_ENABLED" ] | 474 defines = [ "WEBRTC_VIDEOPROCESSOR_INTEGRATIONTEST_HW_CODECS_ENABLED" ] |
473 | 475 |
474 if (!build_with_chromium && is_clang) { | 476 if (!build_with_chromium && is_clang) { |
475 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 477 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
476 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 478 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
477 } | 479 } |
478 } | 480 } |
479 | 481 |
480 rtc_source_set("video_coding_unittests") { | 482 rtc_source_set("video_coding_unittests") { |
481 testonly = true | 483 testonly = true |
| 484 if (!is_android && !is_ios) { # Generated targets makes this check break. |
| 485 visibility = [ "//webrtc/modules:modules_unittests" ] |
| 486 } |
482 sources = [ | 487 sources = [ |
483 "codecs/test/packet_manipulator_unittest.cc", | 488 "codecs/test/packet_manipulator_unittest.cc", |
484 "codecs/test/stats_unittest.cc", | 489 "codecs/test/stats_unittest.cc", |
485 "codecs/test/videoprocessor_unittest.cc", | 490 "codecs/test/videoprocessor_unittest.cc", |
486 "codecs/vp8/default_temporal_layers_unittest.cc", | 491 "codecs/vp8/default_temporal_layers_unittest.cc", |
487 "codecs/vp8/screenshare_layers_unittest.cc", | 492 "codecs/vp8/screenshare_layers_unittest.cc", |
488 "codecs/vp8/simulcast_encoder_adapter_unittest.cc", | 493 "codecs/vp8/simulcast_encoder_adapter_unittest.cc", |
489 "codecs/vp8/simulcast_unittest.cc", | 494 "codecs/vp8/simulcast_unittest.cc", |
490 "codecs/vp8/simulcast_unittest.h", | 495 "codecs/vp8/simulcast_unittest.h", |
491 "decoding_state_unittest.cc", | 496 "decoding_state_unittest.cc", |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 } | 561 } |
557 | 562 |
558 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 563 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
559 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 564 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
560 if (!build_with_chromium && is_clang) { | 565 if (!build_with_chromium && is_clang) { |
561 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 566 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
562 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 567 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
563 } | 568 } |
564 } | 569 } |
565 } | 570 } |
OLD | NEW |