Perform better input checks in early steps of parser.
[pdfium.git] / BUILD.gn
index ff72a1d..9ecd708 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -127,7 +127,7 @@ component("safemath") {
     "third_party/numerics/safe_conversions_impl.h",
     "third_party/numerics/safe_math.h",
     "third_party/numerics/safe_math_impl.h",
-  ],
+  ]
 }
 
 static_library("fdrm") {
@@ -525,7 +525,6 @@ static_library("fxcrt") {
     "core/src/fxcrt/fx_basic_list.cpp",
     "core/src/fxcrt/fx_basic_maps.cpp",
     "core/src/fxcrt/fx_basic_memmgr.cpp",
-    "core/src/fxcrt/fx_basic_memmgr_mini.cpp",
     "core/src/fxcrt/fx_basic_plex.cpp",
     "core/src/fxcrt/fx_basic_utf.cpp",
     "core/src/fxcrt/fx_basic_util.cpp",
@@ -535,7 +534,6 @@ static_library("fxcrt") {
     "core/src/fxcrt/fx_unicode.cpp",
     "core/src/fxcrt/fx_xml_composer.cpp",
     "core/src/fxcrt/fx_xml_parser.cpp",
-    "core/src/fxcrt/mem_int.h",
     "core/src/fxcrt/plex.h",
     "core/src/fxcrt/xml_int.h",
   ]
@@ -805,6 +803,7 @@ static_library("javascript") {
   }
   configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
   include_dirs = [
+    "//v8",
     "//v8/include",
   ]
   deps = [
@@ -825,6 +824,7 @@ static_library("jsapi") {
   }
   configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
   include_dirs = [
+    "//v8",
     "//v8/include",
   ]
   deps = [