mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-13 05:39:53 +08:00
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:
parent
b86dbf24d3
commit
811a5ec446
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 1526
|
Version: 1527
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 1526
|
#define LIBYUV_VERSION 1527
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
12
third_party/gflags/gflags.gyp
vendored
12
third_party/gflags/gflags.gyp
vendored
@ -63,6 +63,18 @@
|
|||||||
}],
|
}],
|
||||||
# TODO(andrew): Look into fixing this warning upstream:
|
# TODO(andrew): Look into fixing this warning upstream:
|
||||||
# http://code.google.com/p/webrtc/issues/detail?id=760
|
# 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', {
|
['clang==1', {
|
||||||
'cflags!': ['-Wheader-hygiene',],
|
'cflags!': ['-Wheader-hygiene',],
|
||||||
'xcode_settings': {
|
'xcode_settings': {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user