Chromium Code Reviews| Index: webrtc/modules/audio_coding/BUILD.gn |
| diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn |
| index 96dbd5b040f6a070f032611a4b8748de0e78dda2..6cba7ffe3b94152449df068cb0e3a890c3526e26 100644 |
| --- a/webrtc/modules/audio_coding/BUILD.gn |
| +++ b/webrtc/modules/audio_coding/BUILD.gn |
| @@ -1539,4 +1539,33 @@ 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/test", |
| + "codecs/isac/main/include", |
|
kjellander_webrtc
2016/08/23 10:03:31
Sort alphabetically (please fix GYP version too)
ivoc
2016/08/23 11:38:50
Done.
|
| + "codecs/isac/main/util", |
| + "../..", |
|
kjellander_webrtc
2016/08/23 10:03:32
This is not needed for GN.
ivoc
2016/08/23 11:38:50
Done.
|
| + ] |
| + |
| + deps = [ |
| + ":isac", |
| + "../../base:rtc_base", |
|
kjellander_webrtc
2016/08/23 10:03:31
Please add "//build/config/sanitizers:deps" as wel
kjellander_webrtc
2016/08/23 10:03:32
Is rtc_base really needed? rtc_base_approved is us
ivoc
2016/08/23 11:38:50
Done.
ivoc
2016/08/23 11:38:50
According to gn check it has to be rtc_base, becau
|
| + ] |
| + |
| + 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", |
| + ] |
| + } |
| + } |
| } |