pass clangcl compile options to ignore warnings in gflags.cc

R=ajm@chromium.org, ajm@google.com
BUG=libyuv:513,webrtc:760

Review URL: https://codereview.chromium.org/1427643003 .
This commit is contained in:
Frank Barchard 2015-10-28 10:58:19 -07:00
parent b86dbf24d3
commit 811a5ec446
3 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1526
Version: 1527
License: BSD
License File: LICENSE

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1526
#define LIBYUV_VERSION 1527
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT

View File

@ -63,6 +63,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': {