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

Side by Side Diff: webrtc/modules/audio_mixer/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, 7 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_device/BUILD.gn ('k') | webrtc/modules/audio_processing/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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 deps = [ 60 deps = [
61 "../../audio/utility", 61 "../../audio/utility",
62 "../../base:rtc_base_approved", 62 "../../base:rtc_base_approved",
63 ] 63 ]
64 } 64 }
65 65
66 if (rtc_include_tests) { 66 if (rtc_include_tests) {
67 rtc_source_set("audio_mixer_unittests") { 67 rtc_source_set("audio_mixer_unittests") {
68 testonly = true 68 testonly = true
69
70 # Skip restricting visibility on mobile platforms since the tests on those
71 # gets additional generated targets which would require many lines here to
72 # cover (which would be confusing to read and hard to maintain).
73 if (!is_android && !is_ios) {
74 visibility = [ "//webrtc/modules:modules_unittests" ]
75 }
69 sources = [ 76 sources = [
70 "audio_frame_manipulator_unittest.cc", 77 "audio_frame_manipulator_unittest.cc",
71 "audio_mixer_impl_unittest.cc", 78 "audio_mixer_impl_unittest.cc",
72 "frame_combiner_unittest.cc", 79 "frame_combiner_unittest.cc",
73 "gain_change_calculator.cc", 80 "gain_change_calculator.cc",
74 "gain_change_calculator.h", 81 "gain_change_calculator.h",
75 "sine_wave_generator.cc", 82 "sine_wave_generator.cc",
76 "sine_wave_generator.h", 83 "sine_wave_generator.h",
77 ] 84 ]
78 deps = [ 85 deps = [
79 ":audio_frame_manipulator", 86 ":audio_frame_manipulator",
80 ":audio_mixer_impl", 87 ":audio_mixer_impl",
81 "../../api:audio_mixer_api", 88 "../../api:audio_mixer_api",
82 "../../audio/utility:audio_frame_operations", 89 "../../audio/utility:audio_frame_operations",
83 "../../base:rtc_base", 90 "../../base:rtc_base",
84 "../../base:rtc_base_approved", 91 "../../base:rtc_base_approved",
85 "../../test:test_support", 92 "../../test:test_support",
86 "//testing/gmock", 93 "//testing/gmock",
87 ] 94 ]
88 } 95 }
89 } 96 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/BUILD.gn ('k') | webrtc/modules/audio_processing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698