OLD | NEW |
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 Loading... |
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", | |
117 "//third_party/gflags", | 115 "//third_party/gflags", |
118 ] | 116 ] |
119 if (is_android) { | 117 if (is_android) { |
120 deps += [ "//testing/android/native_test:native_test_native_code" ] | 118 deps += [ "//testing/android/native_test:native_test_native_code" ] |
121 } | 119 } |
122 | 120 |
123 data = [ | 121 data = [ |
124 "//resources/voice_engine/audio_tiny16.wav", | 122 "//resources/voice_engine/audio_tiny16.wav", |
125 "//resources/voice_engine/audio_tiny48.wav", | 123 "//resources/voice_engine/audio_tiny48.wav", |
126 "//resources/voice_engine/audio_dtx16.wav", | |
127 ] | 124 ] |
128 | 125 |
129 if (!build_with_chromium && is_clang) { | 126 if (!build_with_chromium && is_clang) { |
130 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) | 127 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) |
131 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 128 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
132 } | 129 } |
133 } | 130 } |
134 } | 131 } |
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 } | |
171 } | 132 } |
OLD | NEW |