summaryrefslogtreecommitdiff
path: root/samples/samples.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/samples.gyp')
-rw-r--r--samples/samples.gyp18
1 files changed, 18 insertions, 0 deletions
diff --git a/samples/samples.gyp b/samples/samples.gyp
index ff7b05823c..31fcbf7c72 100644
--- a/samples/samples.gyp
+++ b/samples/samples.gyp
@@ -5,6 +5,7 @@
{
'variables': {
'pdf_enable_v8%': 1,
+ 'pdf_enable_xfa%': 1,
},
'target_defaults': {
'defines' : [
@@ -27,6 +28,11 @@
'<(DEPTH)/v8/include',
],
}],
+ ['pdf_enable_xfa==1', {
+ 'defines': [
+ 'PDF_ENABLE_XFA',
+ ],
+ }],
],
},
'targets': [
@@ -51,6 +57,11 @@
],
},
'conditions': [
+ ['pdf_enable_xfa==0', {
+ 'dependencies': [
+ '../third_party/third_party.gyp:fx_lpng',
+ ],
+ }],
['pdf_enable_v8==1', {
'dependencies': [
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
@@ -71,6 +82,13 @@
'image_diff_png.h',
'image_diff_png.cc',
],
+ 'conditions': [
+ ['pdf_enable_xfa==0', {
+ 'dependencies': [
+ '../third_party/third_party.gyp:fx_lpng',
+ ],
+ }],
+ ],
},
],
}