Turn on chromium_code (except -Wsign-compare, for now) for pdfium
[pdfium.git] / pdfium.gyp
index db1c527..8788794 100644 (file)
@@ -1,5 +1,6 @@
 {
   'variables': {
+    'chromium_code': 1,
     'pdf_use_skia%': 0,
     'pdf_enable_v8%': 1,
     'conditions': [
     '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': [
     {