summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2015-02-06 15:51:11 -0800
committerJohn Abd-El-Malek <jam@chromium.org>2015-02-06 15:51:11 -0800
commit385729be5d146a2b0dc10cb7f5c1718316bcb253 (patch)
tree999bee0ce1f1ccfa886cc46e3ef0faee312e92fa /BUILD.gn
parent5963e3a07a5685568a00c32047f86ac7239ab64b (diff)
downloadpdfium-385729be5d146a2b0dc10cb7f5c1718316bcb253.tar.xz
Fix XFA build after combining PDFium into Chromium binary.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/889253003
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 2ff4938696..0d26287d7b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -19,6 +19,9 @@ config("pdfium_config") {
"_FPDFSDK_LIB",
"_NO_GDIPLUS_", # workaround text rendering issues on Windows
"OPJ_STATIC",
+ "PNG_PREFIX",
+ "PNGPREFIX_H",
+ "PNG_USE_READ_MACROS",
]
if (pdf_use_skia) {