diff options
author | Daniel Cheng <dcheng@chromium.org> | 2015-07-10 22:16:19 -0700 |
---|---|---|
committer | Daniel Cheng <dcheng@chromium.org> | 2015-07-11 05:18:17 +0000 |
commit | be8d6f52672bf61324b2ac988ef7776ade9d1628 (patch) | |
tree | 6a4c28fc16b6d8a74f7b9b59af27563ad44b5ec3 /third_party/isimpledom/isimpledom.gyp | |
parent | 59ef9be12ee89bc452b83bec060d90514dc86c66 (diff) | |
download | chromium_src-be8d6f52672bf61324b2ac988ef7776ade9d1628.zip chromium_src-be8d6f52672bf61324b2ac988ef7776ade9d1628.tar.gz chromium_src-be8d6f52672bf61324b2ac988ef7776ade9d1628.tar.bz2 |
Enable -Wextra-tokens on win clang.
This warns on code of the form:
#endif RANDOM_TEXT
MIDL generated code tends to emit code in this pattern, so suppress
this warning when compiling MIDL generated files.
BUG=504663
R=thakis@chromium.org
TBR=dtseng, robertshield, weitaosu
Review URL: https://codereview.chromium.org/1233453008
Cr-Commit-Position: refs/heads/master@{#338435}
Diffstat (limited to 'third_party/isimpledom/isimpledom.gyp')
-rw-r--r-- | third_party/isimpledom/isimpledom.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/isimpledom/isimpledom.gyp b/third_party/isimpledom/isimpledom.gyp index 80a0089..9f3fbee 100644 --- a/third_party/isimpledom/isimpledom.gyp +++ b/third_party/isimpledom/isimpledom.gyp @@ -9,6 +9,10 @@ 'type': 'static_library', 'variables': { 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/isimpledom', + 'clang_warning_flags': [ + # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_" + '-Wno-extra-tokens', + ], }, 'sources': [ 'ISimpleDOMDocument.idl', |