Remove FX_LPCWSTR cast to wchar_t* literals
[pdfium.git] / BUILD.gn
index c8703e4..5d0210f 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -11,6 +11,7 @@ config("pdfium_config") {
     "_FXFT_VERSION_=2501",
     "_FPDFSDK_LIB",
     "_NO_GDIPLUS_",  # workaround text rendering issues on Windows
+    "OPJ_STATIC",
   ]
 
   if (pdf_use_skia) {
@@ -657,7 +658,6 @@ static_library("fxge") {
     ]
     configs -= [
       "//build/config/win:lean_and_mean",
-      "//build/config/win:nominmax",
     ]
   }
 }
@@ -773,11 +773,13 @@ static_library("javascript") {
     "//v8",
     "//v8/include",
   ]
-  deps = [
+
+  public_deps = [
     "//v8",
+  ]
+  deps = [
     "//v8:v8_libplatform",
   ]
-  forward_dependent_configs_from = [ "//v8" ]
 }
 
 static_library("jsapi") {
@@ -792,10 +794,10 @@ static_library("jsapi") {
     "//v8",
     "//v8/include",
   ]
-  deps = [
+
+  public_deps = [
     "//v8",
   ]
-  forward_dependent_configs_from = [ "//v8" ]
 }
 
 static_library("formfiller") {