summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2016-03-09 09:11:48 -0800
committerOliver Chang <ochang@chromium.org>2016-03-09 09:11:48 -0800
commit2f4232d5b7e0c99b809b67d9ee30aaff3a7d84a5 (patch)
tree95ec8b1a0f113ce4acd90672093de61748c98a09 /third_party
parentf089d470558fe70075478d497799aa8a617b9479 (diff)
downloadpdfium-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.gyp13
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',