aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2015-10-28 10:59:34 -0700
committerFrank Barchard <fbarchard@google.com>2015-10-28 17:59:48 +0000
commitb608eb865e9fa0c9e3e78f1ff036341622ee7819 (patch)
treefec7d4bfe34067aa05af6d8f51859a88296ed5c0 /third_party
parente55c42c13ee2620b46376ab708e7d4c0d698cf51 (diff)
downloadwebrtc-b608eb865e9fa0c9e3e78f1ff036341622ee7819.tar.gz
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}
Diffstat (limited to 'third_party')
-rw-r--r--third_party/gflags/gflags.gyp12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/gflags/gflags.gyp b/third_party/gflags/gflags.gyp
index 60e136a5d9..76d2448b7e 100644
--- a/third_party/gflags/gflags.gyp
+++ b/third_party/gflags/gflags.gyp
@@ -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': {