pass clangcl compile options to ignore warnings in gflags.cc

R=kjellander@webrtc.org, ajm@webrtc.org
BUG=webrtc:760

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

Cr-Commit-Position: refs/heads/master@{#10440}
This commit is contained in:
Frank Barchard 2015-10-28 10:59:34 -07:00
parent e55c42c13e
commit b608eb865e

View File

@ -66,6 +66,18 @@
}],
# TODO(andrew): Look into fixing this warning upstream:
# http://code.google.com/p/webrtc/issues/detail?id=760
['OS=="win" and clang==1', {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions!': [
'-Wheader-hygiene', # Suppress warning about using namespace.
],
'AdditionalOptions': [
'-Wno-unused-local-typedef', # Suppress unused private typedef.
],
},
},
}],
['clang==1', {
'cflags!': ['-Wheader-hygiene',],
'xcode_settings': {