| Index: webrtc/audio/BUILD.gn
|
| diff --git a/webrtc/audio/BUILD.gn b/webrtc/audio/BUILD.gn
|
| index 1757e4e0dd108c8953a2de56dcd5927ba4ecbc89..48a6706f2d16a11e990f98ee77c60b0639b0dde1 100644
|
| --- a/webrtc/audio/BUILD.gn
|
| +++ b/webrtc/audio/BUILD.gn
|
| @@ -112,6 +112,8 @@ if (rtc_include_tests) {
|
| "../test:fake_audio_device",
|
| "../test:test_common",
|
| "../test:test_main",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| "//third_party/gflags",
|
| ]
|
| if (is_android) {
|
| @@ -121,6 +123,7 @@ if (rtc_include_tests) {
|
| data = [
|
| "//resources/voice_engine/audio_tiny16.wav",
|
| "//resources/voice_engine/audio_tiny48.wav",
|
| + "//resources/voice_engine/audio_dtx16.wav",
|
| ]
|
|
|
| if (!build_with_chromium && is_clang) {
|
| @@ -129,4 +132,40 @@ if (rtc_include_tests) {
|
| }
|
| }
|
| }
|
| +
|
| + rtc_source_set("audio_perf_tests") {
|
| + testonly = true
|
| +
|
| + # Skip restricting visibility on mobile platforms since the tests on those
|
| + # gets additional generated targets which would require many lines here to
|
| + # cover (which would be confusing to read and hard to maintain).
|
| + if (!is_android && !is_ios) {
|
| + visibility = [ "//webrtc:webrtc_perf_tests" ]
|
| + }
|
| + sources = [
|
| + "test/audio_bwe_integration_test.cc",
|
| + "test/audio_bwe_integration_test.h",
|
| + ]
|
| + deps = [
|
| + "../base:rtc_base_approved",
|
| + "../common_audio",
|
| + "../system_wrappers",
|
| + "../test:fake_audio_device",
|
| + "../test:field_trial",
|
| + "../test:test_common",
|
| + "../test:test_main",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + "//third_party/gflags",
|
| + ]
|
| +
|
| + data = [
|
| + "//resources/voice_engine/audio_dtx16.wav",
|
| + ]
|
| +
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| + }
|
| + }
|
| }
|
|
|