Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: webrtc/modules/audio_processing/BUILD.gn

Issue 2828793003: GN: Tighten up test target visibility + refactorings (Closed)
Patch Set: Move out fec_test_helper from rtc_include_tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/audio_mixer/BUILD.gn ('k') | webrtc/modules/bitrate_controller/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//third_party/protobuf/proto_library.gni") 10 import("//third_party/protobuf/proto_library.gni")
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 ":audioproc_unittest_proto", 478 ":audioproc_unittest_proto",
479 ":unpack_aecdump", 479 ":unpack_aecdump",
480 "test/conversational_speech", 480 "test/conversational_speech",
481 "test/py_quality_assessment", 481 "test/py_quality_assessment",
482 ] 482 ]
483 } 483 }
484 } 484 }
485 485
486 rtc_source_set("audio_processing_unittests") { 486 rtc_source_set("audio_processing_unittests") {
487 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 }
488 sources = [ 495 sources = [
489 "aec/echo_cancellation_unittest.cc", 496 "aec/echo_cancellation_unittest.cc",
490 "aec/system_delay_unittest.cc", 497 "aec/system_delay_unittest.cc",
491 "agc/agc_manager_direct_unittest.cc", 498 "agc/agc_manager_direct_unittest.cc",
492 "agc/loudness_histogram_unittest.cc", 499 "agc/loudness_histogram_unittest.cc",
493 "agc/mock_agc.h", 500 "agc/mock_agc.h",
494 "audio_buffer_unittest.cc", 501 "audio_buffer_unittest.cc",
495 "beamformer/array_util_unittest.cc", 502 "beamformer/array_util_unittest.cc",
496 "beamformer/complex_matrix_unittest.cc", 503 "beamformer/complex_matrix_unittest.cc",
497 "beamformer/covariance_matrix_generator_unittest.cc", 504 "beamformer/covariance_matrix_generator_unittest.cc",
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 # Dependency chain (there may also be others): 651 # Dependency chain (there may also be others):
645 # //webrtc/modules/audio_processing:audio_processing_perf_tests --> 652 # //webrtc/modules/audio_processing:audio_processing_perf_tests -->
646 # //webrtc/modules:modules_unittests --[private]--> 653 # //webrtc/modules:modules_unittests --[private]-->
647 # //webrtc/modules:modules_unittests_apk --> 654 # //webrtc/modules:modules_unittests_apk -->
648 # //webrtc/modules:modules_unittests_apk__create --> 655 # //webrtc/modules:modules_unittests_apk__create -->
649 # //webrtc/modules:modules_unittests_apk__create__finalize --> 656 # //webrtc/modules:modules_unittests_apk__create__finalize -->
650 # //webrtc/modules:modules_unittests_apk__create__package --[private]--> 657 # //webrtc/modules:modules_unittests_apk__create__package --[private]-->
651 # //webrtc/modules:_modules_unittests__library 658 # //webrtc/modules:_modules_unittests__library
652 check_includes = false 659 check_includes = false
653 testonly = true 660 testonly = true
661
662 # Skip restricting visibility on mobile platforms since the tests on those
663 # gets additional generated targets which would require many lines here to
664 # cover (which would be confusing to read and hard to maintain).
665 if (!is_android && !is_ios) {
666 visibility = [ "//webrtc:webrtc_perf_tests" ]
667 }
654 sources = [ 668 sources = [
655 "audio_processing_performance_unittest.cc", 669 "audio_processing_performance_unittest.cc",
656 "level_controller/level_controller_complexity_unittest.cc", 670 "level_controller/level_controller_complexity_unittest.cc",
657 "residual_echo_detector_complexity_unittest.cc", 671 "residual_echo_detector_complexity_unittest.cc",
658 ] 672 ]
659 deps = [ 673 deps = [
660 ":audio_processing", 674 ":audio_processing",
661 ":audioproc_test_utils", 675 ":audioproc_test_utils",
662 "../../base:protobuf_utils", 676 "../../base:protobuf_utils",
663 "//testing/gtest", 677 "//testing/gtest",
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 837
824 deps = [ 838 deps = [
825 ":audioproc_debug_proto", 839 ":audioproc_debug_proto",
826 "../..:webrtc_common", 840 "../..:webrtc_common",
827 "../../base:protobuf_utils", 841 "../../base:protobuf_utils",
828 "../../base:rtc_base_approved", 842 "../../base:rtc_base_approved",
829 ] 843 ]
830 } 844 }
831 } 845 }
832 } 846 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_mixer/BUILD.gn ('k') | webrtc/modules/bitrate_controller/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698