From 9f4def68601ec75b85b92077c521b9423b4f7f00 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 30 Oct 2015 11:11:26 -0700 Subject: Turn on chromium_code (except -Wsign-compare, for now) for pdfium BUG=pdfium:29 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1411583005 . --- pdfium.gyp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pdfium.gyp') diff --git a/pdfium.gyp b/pdfium.gyp index db1c52774a..8788794848 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -1,5 +1,6 @@ { 'variables': { + 'chromium_code': 1, 'pdf_use_skia%': 0, 'pdf_enable_v8%': 1, 'conditions': [ @@ -42,6 +43,12 @@ 'msvs_disabled_warnings': [ 4005, 4018, 4146, 4333, 4345, 4267 ], + 'variables': { + 'clang_warning_flags': [ + # TODO(thestig): Fix all instances, remove this, pdfium:29 + '-Wno-sign-compare', + ], + }, }, 'targets': [ { -- cgit v1.2.3