Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: third_party/third_party.gyp

Issue 1774123005: Support clang-cl build on Windows. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/gtest.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/third_party.gyp
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index d58c9a71d015693e41e46bcc756c8d5135a88dc0..758d23ef0d0c7717a6f239b5f8952adfed972849 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',
« no previous file with comments | « testing/gtest.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698