summaryrefslogtreecommitdiff
path: root/pdfium.gyp
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 /pdfium.gyp
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 'pdfium.gyp')
-rw-r--r--pdfium.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index 426306d2d0..65caf6f4b7 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -15,6 +15,9 @@
'_FPDFSDK_LIB',
'_NO_GDIPLUS_', # workaround text rendering issues on Windows
'OPJ_STATIC',
+ 'PNG_PREFIX',
+ 'PNGPREFIX_H',
+ 'PNG_USE_READ_MACROS',
],
'include_dirs': [
'third_party/freetype/include',