From 385729be5d146a2b0dc10cb7f5c1718316bcb253 Mon Sep 17 00:00:00 2001 From: John Abd-El-Malek Date: Fri, 6 Feb 2015 15:51:11 -0800 Subject: Fix XFA build after combining PDFium into Chromium binary. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/889253003 --- pdfium.gyp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pdfium.gyp') 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', -- cgit v1.2.3