From 173f919d0ec99a1a973c9d3a82b474f761d5bce1 Mon Sep 17 00:00:00 2001
From: John Abd-El-Malek <jam@chromium.org>
Date: Thu, 6 Nov 2014 10:42:39 -0800
Subject: Fix PDFium build with Windows GN.

R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/695183005
---
 BUILD.gn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BUILD.gn b/BUILD.gn
index b457b114f1..5d0210ff34 100644
--- 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",
     ]
   }
 }
-- 
cgit v1.2.3