Convert GN visibility to be a list.
[pdfium.git] / BUILD.gn
index 7f5c821..c4c802e 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -116,7 +116,7 @@ static_library("pdfium") {
 }
 
 # Targets below this are only visible within this file.
-visibility = ":*"
+visibility = [ ":*" ]
 
 component("safemath") {
   sources = [
@@ -803,10 +803,12 @@ static_library("javascript") {
   }
   configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
   include_dirs = [
+    "//v8",
     "//v8/include",
   ]
   deps = [
     "//v8",
+    "//v8:v8_libplatform",
   ]
   forward_dependent_configs_from = [ "//v8" ]
 }
@@ -823,6 +825,7 @@ static_library("jsapi") {
   }
   configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
   include_dirs = [
+    "//v8",
     "//v8/include",
   ]
   deps = [