| 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 382 # Skip restricting visibility on mobile platforms since the tests on those |
| 383 # gets additional generated targets which would require many lines here to |
| 384 # cover (which would be confusing to read and hard to maintain). |
| 385 if (!is_android && !is_ios) { |
| 386 visibility = [ "//webrtc/modules:modules_tests" ] |
| 387 } |
| 382 sources = [ | 388 sources = [ |
| 383 "codecs/h264/test/h264_impl_unittest.cc", | 389 "codecs/h264/test/h264_impl_unittest.cc", |
| 384 "codecs/test/videoprocessor_integrationtest.cc", | 390 "codecs/test/videoprocessor_integrationtest.cc", |
| 385 "codecs/vp8/test/vp8_impl_unittest.cc", | 391 "codecs/vp8/test/vp8_impl_unittest.cc", |
| 386 "codecs/vp9/test/vp9_impl_unittest.cc", | 392 "codecs/vp9/test/vp9_impl_unittest.cc", |
| 387 ] | 393 ] |
| 388 | 394 |
| 389 deps = [ | 395 deps = [ |
| 390 ":video_codecs_test_framework", | 396 ":video_codecs_test_framework", |
| 391 ":video_coding_videoprocessor_integration_test", | 397 ":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" ] | 478 defines = [ "WEBRTC_VIDEOPROCESSOR_INTEGRATIONTEST_HW_CODECS_ENABLED" ] |
| 473 | 479 |
| 474 if (!build_with_chromium && is_clang) { | 480 if (!build_with_chromium && is_clang) { |
| 475 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 481 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 476 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 482 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 477 } | 483 } |
| 478 } | 484 } |
| 479 | 485 |
| 480 rtc_source_set("video_coding_unittests") { | 486 rtc_source_set("video_coding_unittests") { |
| 481 testonly = true | 487 testonly = true |
| 488 |
| 489 # Skip restricting visibility on mobile platforms since the tests on those |
| 490 # gets additional generated targets which would require many lines here to |
| 491 # cover (which would be confusing to read and hard to maintain). |
| 492 if (!is_android && !is_ios) { |
| 493 visibility = [ "//webrtc/modules:modules_unittests" ] |
| 494 } |
| 482 sources = [ | 495 sources = [ |
| 483 "codecs/test/packet_manipulator_unittest.cc", | 496 "codecs/test/packet_manipulator_unittest.cc", |
| 484 "codecs/test/stats_unittest.cc", | 497 "codecs/test/stats_unittest.cc", |
| 485 "codecs/test/videoprocessor_unittest.cc", | 498 "codecs/test/videoprocessor_unittest.cc", |
| 486 "codecs/vp8/default_temporal_layers_unittest.cc", | 499 "codecs/vp8/default_temporal_layers_unittest.cc", |
| 487 "codecs/vp8/screenshare_layers_unittest.cc", | 500 "codecs/vp8/screenshare_layers_unittest.cc", |
| 488 "codecs/vp8/simulcast_encoder_adapter_unittest.cc", | 501 "codecs/vp8/simulcast_encoder_adapter_unittest.cc", |
| 489 "codecs/vp8/simulcast_unittest.cc", | 502 "codecs/vp8/simulcast_unittest.cc", |
| 490 "codecs/vp8/simulcast_unittest.h", | 503 "codecs/vp8/simulcast_unittest.h", |
| 491 "decoding_state_unittest.cc", | 504 "decoding_state_unittest.cc", |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 } | 569 } |
| 557 | 570 |
| 558 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 571 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
| 559 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 572 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 560 if (!build_with_chromium && is_clang) { | 573 if (!build_with_chromium && is_clang) { |
| 561 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 574 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 562 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 575 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 563 } | 576 } |
| 564 } | 577 } |
| 565 } | 578 } |
| OLD | NEW |