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

Side by Side Diff: webrtc/audio/BUILD.gn

Issue 2931873002: Test and fix for huge bwe drop after alr state. (Closed)
Patch Set: fix_for_unittest Created 3 years, 6 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/BUILD.gn ('k') | webrtc/audio/test/audio_bwe_integration_test.h » ('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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 "test/low_bandwidth_audio_test.cc", 105 "test/low_bandwidth_audio_test.cc",
106 "test/low_bandwidth_audio_test.h", 106 "test/low_bandwidth_audio_test.h",
107 ] 107 ]
108 108
109 deps = [ 109 deps = [
110 "../common_audio", 110 "../common_audio",
111 "../system_wrappers", 111 "../system_wrappers",
112 "../test:fake_audio_device", 112 "../test:fake_audio_device",
113 "../test:test_common", 113 "../test:test_common",
114 "../test:test_main", 114 "../test:test_main",
115 "//testing/gmock",
116 "//testing/gtest",
115 "//third_party/gflags", 117 "//third_party/gflags",
116 ] 118 ]
117 if (is_android) { 119 if (is_android) {
118 deps += [ "//testing/android/native_test:native_test_native_code" ] 120 deps += [ "//testing/android/native_test:native_test_native_code" ]
119 } 121 }
120 122
121 data = [ 123 data = [
122 "//resources/voice_engine/audio_tiny16.wav", 124 "//resources/voice_engine/audio_tiny16.wav",
123 "//resources/voice_engine/audio_tiny48.wav", 125 "//resources/voice_engine/audio_tiny48.wav",
126 "//resources/voice_engine/audio_dtx16.wav",
124 ] 127 ]
125 128
126 if (!build_with_chromium && is_clang) { 129 if (!build_with_chromium && is_clang) {
127 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) 130 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
128 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 131 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
129 } 132 }
130 } 133 }
131 } 134 }
135
136 rtc_source_set("audio_perf_tests") {
137 testonly = true
138
139 # Skip restricting visibility on mobile platforms since the tests on those
140 # gets additional generated targets which would require many lines here to
141 # cover (which would be confusing to read and hard to maintain).
142 if (!is_android && !is_ios) {
143 visibility = [ "//webrtc:webrtc_perf_tests" ]
144 }
145 sources = [
146 "test/audio_bwe_integration_test.cc",
147 "test/audio_bwe_integration_test.h",
148 ]
149 deps = [
150 "../base:rtc_base_approved",
151 "../common_audio",
152 "../system_wrappers",
153 "../test:fake_audio_device",
154 "../test:field_trial",
155 "../test:test_common",
156 "../test:test_main",
157 "//testing/gmock",
158 "//testing/gtest",
159 "//third_party/gflags",
160 ]
161
162 data = [
163 "//resources/voice_engine/audio_dtx16.wav",
164 ]
165
166 if (!build_with_chromium && is_clang) {
167 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
168 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
169 }
170 }
132 } 171 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/audio/test/audio_bwe_integration_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698