Disable warnings failing when using Clang on Windows.

This makes it possible to build WebRTC using Clang on Windows.
Depends on https://codereview.webrtc.org/1524703006/

BUG=webrtc:5360, webrtc:5366
NOTRY=True

Review URL: https://codereview.webrtc.org/1522223002

Cr-Commit-Position: refs/heads/master@{#11058}
This commit is contained in:
kjellander
2015-12-16 14:05:29 -08:00
committed by Commit bot
parent 9f58795cec
commit 7cae30cbe1
12 changed files with 180 additions and 4 deletions

View File

@ -25,6 +25,19 @@
'./main/test/simpleKenny.c',
'./main/util/utility.c',
],
'conditions': [
['OS=="win" and clang==1', {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
# Disable warnings failing when compiling with Clang on Windows.
# https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
'-Wno-format',
],
},
},
}],
], # conditions.
},
# ReleaseTest-API
{
@ -63,6 +76,5 @@
'./main/util/utility.c',
],
},
],
}