Index: webrtc/modules/audio_coding/BUILD.gn |
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn |
index 5cd6a6d79f2b17e7609f3e73cb020d4b2a9574b8..ce8ab6f73b3e751428b22292cee461edb98b8f6f 100644 |
--- a/webrtc/modules/audio_coding/BUILD.gn |
+++ b/webrtc/modules/audio_coding/BUILD.gn |
@@ -1540,6 +1540,35 @@ if (rtc_include_tests) { |
} |
} |
+ executable("isac_test") { |
+ testonly = true |
+ |
+ sources = [ |
+ "codecs/isac/main/test/simpleKenny.c", |
+ "codecs/isac/main/util/utility.c", |
+ ] |
+ |
+ include_dirs = [ |
+ "codecs/isac/main/include", |
+ "codecs/isac/main/test", |
+ "codecs/isac/main/util", |
+ ] |
+ |
+ deps = [ |
+ ":isac", |
+ "../../base:rtc_base", |
+ "//build/config/sanitizers:deps", |
+ ] |
+ |
+ if (is_win && is_clang) { |
+ cflags = [ |
+ # Disable warnings failing when compiling with Clang on Windows. |
+ # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
+ "-Wno-format", |
+ ] |
+ } |
+ } |
+ |
executable("g711_test") { |
testonly = true |