summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
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',