Index: third_party/gflags/gflags.gyp |
diff --git a/third_party/gflags/gflags.gyp b/third_party/gflags/gflags.gyp |
index 60e136a5d9f5ec57f36d06ccc6b1612251439153..76d2448b7e6db73cc3009a04933475000b238432 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': { |