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

Side by Side Diff: webrtc/audio/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) 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 "../modules/pacing:pacing", 46 "../modules/pacing:pacing",
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 if (!is_android && !is_ios) { # Generated targets makes this check break.
57 visibility = [ "//webrtc:video_engine_tests" ]
58 }
56 59
57 # TODO(kjellander): Remove (bugs.webrtc.org/6828) 60 # TODO(kjellander): Remove (bugs.webrtc.org/6828)
58 # This needs remote_bitrate_estimator to be moved to webrtc/api first. 61 # This needs remote_bitrate_estimator to be moved to webrtc/api first.
59 check_includes = false 62 check_includes = false
60 63
61 sources = [ 64 sources = [
62 "audio_receive_stream_unittest.cc", 65 "audio_receive_stream_unittest.cc",
63 "audio_send_stream_unittest.cc", 66 "audio_send_stream_unittest.cc",
64 "audio_state_unittest.cc", 67 "audio_state_unittest.cc",
65 ] 68 ]
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "//resources/voice_engine/audio_tiny48.wav", 114 "//resources/voice_engine/audio_tiny48.wav",
112 ] 115 ]
113 116
114 if (!build_with_chromium && is_clang) { 117 if (!build_with_chromium && is_clang) {
115 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) 118 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
116 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 119 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
117 } 120 }
118 } 121 }
119 } 122 }
120 } 123 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698