Index: webrtc/audio/BUILD.gn |
diff --git a/webrtc/audio/BUILD.gn b/webrtc/audio/BUILD.gn |
index fcb3372a541570f33156904b3d8c8a56bb3a7a77..4858c46571e06fd2ed04acfb7cb29759702c47a1 100644 |
--- a/webrtc/audio/BUILD.gn |
+++ b/webrtc/audio/BUILD.gn |
@@ -94,12 +94,28 @@ if (rtc_include_tests) { |
sources = [ |
"test/low_bandwidth_audio_test.cc", |
+ "test/low_bandwidth_audio_test.h", |
] |
- deps = [] |
- |
+ deps = [ |
+ "../common_audio", |
+ "../system_wrappers", |
+ "../test:fake_audio_device", |
+ "../test:run_test", |
+ "../test:test_common", |
+ "../test:test_main", |
+ ] |
if (is_android) { |
- deps += [ "//testing/android/native_test:native_test_support" ] |
+ deps += [ "//testing/android/native_test:native_test_native_code" ] |
+ } |
+ |
+ data = [ |
+ "//resources/voice_engine/audio_tiny16.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" ] |
} |
} |
} |