diff options
author | Oliver Chang <ochang@chromium.org> | 2016-03-09 09:11:48 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2016-03-09 09:11:48 -0800 |
commit | 2f4232d5b7e0c99b809b67d9ee30aaff3a7d84a5 (patch) | |
tree | 95ec8b1a0f113ce4acd90672093de61748c98a09 /third_party | |
parent | f089d470558fe70075478d497799aa8a617b9479 (diff) | |
download | pdfium-2f4232d5b7e0c99b809b67d9ee30aaff3a7d84a5.tar.xz |
Support clang-cl build on Windows.
R=thakis@chromium.org, tsepez@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1774123005 .
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/third_party.gyp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp index d58c9a71d0..758d23ef0d 100644 --- a/third_party/third_party.gyp +++ b/third_party/third_party.gyp @@ -239,6 +239,12 @@ ], }], ], + 'variables': { + 'clang_warning_flags': [ + # Avoid warning for undefined behaviour. + '-Wno-shift-negative-value', + ], + } }, { 'target_name': 'fx_libopenjpeg', @@ -322,7 +328,12 @@ ], }], ], - + 'variables': { + 'clang_warning_flags': [ + # Avoid warning for undefined behaviour. https://crbug.com/507712 + '-Wno-shift-negative-value', + ] + }, }, { 'target_name': 'pdfium_base', |