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