summaryrefslogtreecommitdiff
path: root/samples/samples.gyp
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2015-02-17 13:26:45 -0800
committerJohn Abd-El-Malek <jam@chromium.org>2015-02-17 13:26:45 -0800
commitca6c0d3262d994fbb008ee1ae5ff19c1612bc982 (patch)
tree78b3c156cadf29152a39f67a76e7853394a55e9a /samples/samples.gyp
parent54d8c39002a0f8e3925de888226d22f157987a34 (diff)
downloadpdfium-ca6c0d3262d994fbb008ee1ae5ff19c1612bc982.tar.xz
Fix pdfium_test build inside Chromium.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/925763003
Diffstat (limited to 'samples/samples.gyp')
-rw-r--r--samples/samples.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/samples.gyp b/samples/samples.gyp
index c972142ed2..97497ee2d9 100644
--- a/samples/samples.gyp
+++ b/samples/samples.gyp
@@ -14,6 +14,11 @@
'<(DEPTH)/v8',
'<(DEPTH)/v8/include',
],
+ 'defines' : [
+ 'PNG_PREFIX',
+ 'PNGPREFIX_H',
+ 'PNG_USE_READ_MACROS',
+ ],
},
'targets': [
{