GN: Fix windows clang errors. Attempt 2.

BUG=webrtc:6255
NOTRY=True

Review-Url: https://codereview.webrtc.org/2281513002
Cr-Commit-Position: refs/heads/master@{#13942}
This commit is contained in:
ehmaldonado
2016-08-26 13:31:24 -07:00
committed by Commit bot
parent b4677de9b0
commit d02fe4b53b
11 changed files with 178 additions and 93 deletions

View File

@ -1537,6 +1537,16 @@ if (rtc_include_tests) {
}
}
config("isac_test_warnings_config") {
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("isac_test") {
testonly = true
@ -1557,13 +1567,7 @@ if (rtc_include_tests) {
"//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",
]
}
configs += [ ":isac_test_warnings_config" ]
}
executable("g711_test") {