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

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

Issue 2828793003: GN: Tighten up test target visibility + refactorings (Closed)
Patch Set: Disable Win compile warning 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
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 if (!is_android && !is_ios) { # Generated targets makes this check break.
489 visibility = [ "//webrtc/modules:modules_unittests" ]
490 }
488 sources = [ 491 sources = [
489 "aec/echo_cancellation_unittest.cc", 492 "aec/echo_cancellation_unittest.cc",
490 "aec/system_delay_unittest.cc", 493 "aec/system_delay_unittest.cc",
491 "agc/agc_manager_direct_unittest.cc", 494 "agc/agc_manager_direct_unittest.cc",
492 "agc/loudness_histogram_unittest.cc", 495 "agc/loudness_histogram_unittest.cc",
493 "agc/mock_agc.h", 496 "agc/mock_agc.h",
494 "audio_buffer_unittest.cc", 497 "audio_buffer_unittest.cc",
495 "beamformer/array_util_unittest.cc", 498 "beamformer/array_util_unittest.cc",
496 "beamformer/complex_matrix_unittest.cc", 499 "beamformer/complex_matrix_unittest.cc",
497 "beamformer/covariance_matrix_generator_unittest.cc", 500 "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): 647 # Dependency chain (there may also be others):
645 # //webrtc/modules/audio_processing:audio_processing_perf_tests --> 648 # //webrtc/modules/audio_processing:audio_processing_perf_tests -->
646 # //webrtc/modules:modules_unittests --[private]--> 649 # //webrtc/modules:modules_unittests --[private]-->
647 # //webrtc/modules:modules_unittests_apk --> 650 # //webrtc/modules:modules_unittests_apk -->
648 # //webrtc/modules:modules_unittests_apk__create --> 651 # //webrtc/modules:modules_unittests_apk__create -->
649 # //webrtc/modules:modules_unittests_apk__create__finalize --> 652 # //webrtc/modules:modules_unittests_apk__create__finalize -->
650 # //webrtc/modules:modules_unittests_apk__create__package --[private]--> 653 # //webrtc/modules:modules_unittests_apk__create__package --[private]-->
651 # //webrtc/modules:_modules_unittests__library 654 # //webrtc/modules:_modules_unittests__library
652 check_includes = false 655 check_includes = false
653 testonly = true 656 testonly = true
657 if (!is_android && !is_ios) { # Generated targets makes this check break.
658 visibility = [ "//webrtc:webrtc_perf_tests" ]
659 }
654 sources = [ 660 sources = [
655 "audio_processing_performance_unittest.cc", 661 "audio_processing_performance_unittest.cc",
656 "level_controller/level_controller_complexity_unittest.cc", 662 "level_controller/level_controller_complexity_unittest.cc",
657 "residual_echo_detector_complexity_unittest.cc", 663 "residual_echo_detector_complexity_unittest.cc",
658 ] 664 ]
659 deps = [ 665 deps = [
660 ":audio_processing", 666 ":audio_processing",
661 ":audioproc_test_utils", 667 ":audioproc_test_utils",
662 "../../base:protobuf_utils", 668 "../../base:protobuf_utils",
663 "//testing/gtest", 669 "//testing/gtest",
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 829
824 deps = [ 830 deps = [
825 ":audioproc_debug_proto", 831 ":audioproc_debug_proto",
826 "../..:webrtc_common", 832 "../..:webrtc_common",
827 "../../base:protobuf_utils", 833 "../../base:protobuf_utils",
828 "../../base:rtc_base_approved", 834 "../../base:rtc_base_approved",
829 ] 835 ]
830 } 836 }
831 } 837 }
832 } 838 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698