Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1224)

Unified Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 2267423002: Added GN target for isac_test. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« .gn ('K') | « .gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+ }
+ }
}
« .gn ('K') | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698