Port https://codereview.chromium.org/398163006 to gn.
[pdfium.git] / BUILD.gn
index 3e1b89c..288365d 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -38,10 +38,13 @@ config("pdfium_config") {
       "/wd4146",
       "/wd4333",
       "/wd4345",
+      "/wd4267",
       # TODO(thestig): Fix all instances, remove this, pdfium:29
       "/wd4245",
+      "/wd4310",
       "/wd4389",
       "/wd4701",
+      "/wd4702",
       "/wd4706",
       "/wd4800",
     ]
@@ -355,7 +358,6 @@ static_library("fxcodec") {
     "core/include/fxcodec/fx_codec.h",
     "core/include/fxcodec/fx_codec_def.h",
     "core/include/fxcodec/fx_codec_flate.h",
-    "core/include/fxcodec/fx_codec_provider.h",
     "core/src/fxcodec/codec/codec_int.h",
     "core/src/fxcodec/codec/fx_codec.cpp",
     "core/src/fxcodec/codec/fx_codec_fax.cpp",