Fix PDFium build with Windows GN.
authorJohn Abd-El-Malek <jam@chromium.org>
Thu, 6 Nov 2014 18:42:39 +0000 (10:42 -0800)
committerJohn Abd-El-Malek <jam@chromium.org>
Thu, 6 Nov 2014 18:42:39 +0000 (10:42 -0800)
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/695183005

BUILD.gn

index b457b11..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",
     ]
   }
 }