From 476ac131cfd55842383f65418658a5f1103785b4 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 5 Nov 2015 20:07:27 -0800 Subject: Merge to XFA: The chromium_code whack-a-mole CLs. BUG=pdfium:29 TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1411583005 . Review URL: https://codereview.chromium.org/1431563002 . Review URL: https://codereview.chromium.org/1419943006 . Review URL: https://codereview.chromium.org/1415483003 . Review URL: https://codereview.chromium.org/1414073005 . Review URL: https://codereview.chromium.org/1415883010 . (cherry picked from commit 9f4def68601ec75b85b92077c521b9423b4f7f00) (cherry picked from commit 23e20f2d3ce5b416e1c7f7f1c2d68c90ddf2d4ad) (cherry picked from commit a6e2a4eca1be4daf14fae4e2427a6ca76269db43) (cherry picked from commit bfba4cb7f22fc19a5e71559f09f2cde19fbb6a79) (cherry picked from commit 81edc51ef8242205c5a1192bc33bf16d8c96120b) (cherry picked from commit 1630dffdc1d554d8f2319e83cdbd7b12f480362d) Review URL: https://codereview.chromium.org/1421963005 . --- pdfium.gyp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'pdfium.gyp') diff --git a/pdfium.gyp b/pdfium.gyp index 1445871499..cc3b225623 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -1,5 +1,7 @@ { 'variables': { + # TODO(thakis): Enable this, pdfium:29 + #'chromium_code': 1, 'pdf_use_skia%': 0, 'pdf_enable_v8%': 1, 'pdf_enable_xfa%': 1, @@ -48,8 +50,18 @@ }], ], 'msvs_disabled_warnings': [ - 4005, 4018, 4146, 4333, 4345, 4267 + 4005, 4018, 4146, 4333, 4345, 4267, + # TODO(thestig): Fix all instances, remove this, pdfium:29 + 4245, 4310, 4389, 4701, 4702, 4706, 4800, ], + 'variables': { + 'clang_warning_flags': [ + # TODO(thestig): Fix all instances, remove this, pdfium:29 + '-Wno-sign-compare', + ], + # Make sure Chromium's build/common.gypi doesn't re-add the flag on linux. + 'cflags_cc!': [ '-Wsign-compare' ], + }, }, 'targets': [ { -- cgit v1.2.3