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

Side by Side Diff: webrtc/audio/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/api/BUILD.gn ('k') | webrtc/base/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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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 if (is_android) { 10 if (is_android) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", 47 "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
48 "../modules/rtp_rtcp:rtp_rtcp", 48 "../modules/rtp_rtcp:rtp_rtcp",
49 "../system_wrappers", 49 "../system_wrappers",
50 "../voice_engine", 50 "../voice_engine",
51 ] 51 ]
52 } 52 }
53 if (rtc_include_tests) { 53 if (rtc_include_tests) {
54 rtc_source_set("audio_tests") { 54 rtc_source_set("audio_tests") {
55 testonly = true 55 testonly = true
56 56
57 # Skip restricting visibility on mobile platforms since the tests on those
58 # gets additional generated targets which would require many lines here to
59 # cover (which would be confusing to read and hard to maintain).
60 if (!is_android && !is_ios) {
61 visibility = [ "//webrtc:video_engine_tests" ]
62 }
63
57 # TODO(kjellander): Remove (bugs.webrtc.org/6828) 64 # TODO(kjellander): Remove (bugs.webrtc.org/6828)
58 # This needs remote_bitrate_estimator to be moved to webrtc/api first. 65 # This needs remote_bitrate_estimator to be moved to webrtc/api first.
59 check_includes = false 66 check_includes = false
60 67
61 sources = [ 68 sources = [
62 "audio_receive_stream_unittest.cc", 69 "audio_receive_stream_unittest.cc",
63 "audio_send_stream_unittest.cc", 70 "audio_send_stream_unittest.cc",
64 "audio_state_unittest.cc", 71 "audio_state_unittest.cc",
65 ] 72 ]
66 deps = [ 73 deps = [
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "//resources/voice_engine/audio_tiny48.wav", 118 "//resources/voice_engine/audio_tiny48.wav",
112 ] 119 ]
113 120
114 if (!build_with_chromium && is_clang) { 121 if (!build_with_chromium && is_clang) {
115 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) 122 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
116 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 123 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
117 } 124 }
118 } 125 }
119 } 126 }
120 } 127 }
OLDNEW
« no previous file with comments | « webrtc/api/BUILD.gn ('k') | webrtc/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698