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:
@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user