Merge to XFA: Kill multi-byte comments in fxet_list.h
[pdfium.git] / BUILD.gn
index 2ff4938..ff0ff97 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -19,6 +19,9 @@ config("pdfium_config") {
     "_FPDFSDK_LIB",
     "_NO_GDIPLUS_",  # workaround text rendering issues on Windows
     "OPJ_STATIC",
+    "PNG_PREFIX",
+    "PNGPREFIX_H",
+    "PNG_USE_READ_MACROS",
   ]
 
   if (pdf_use_skia) {
@@ -812,9 +815,6 @@ static_library("javascript") {
   public_deps = [
     "//v8",
   ]
-  deps = [
-    "//v8:v8_libplatform",
-  ]
 }
 
 static_library("jsapi") {