summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-05-22 14:22:16 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-05-22 14:22:16 -0700
commit3ce25e68aa8f6d4b880ce4e0e9f123d117fcbd0c (patch)
tree4d2abc2176515f9176771a4544777c4fbd2785c8
parentf05b6115f6b5b7a47f2c8834779987cdd3e8d52e (diff)
downloadpdfium-chromium/2014.tar.xz
Revert the changes to pdfium.gyp in 4db62f5. To completely fix all the errors on all platforms we'd have to make changes to third party libraries. Some of those libraries are already shipped in chrome, and if we are going to want to share them we don't want them to diverge.chromium/2014chromium/2013
-rw-r--r--pdfium.gyp7
1 files changed, 7 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index 732c2abe67..8cf3950a68 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -1,5 +1,6 @@
{
'variables': {
+ 'win_third_party_warn_as_error': 'false',
'pdf_use_skia%': 0,
},
'target_defaults': {
@@ -36,8 +37,14 @@
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
},
}],
+ ['clang==1', {
+ 'cflags!': [
+ '-Werror',
+ ],
+ }],
],
'msvs_disabled_warnings': [
4005, 4018, 4146, 4333, 4345