Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(716)

Unified Diff: samples/samples.gyp

Issue 1480403002: Allow building non-XFA (master) on the XFA branch. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: warning Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/pdfium_test.cc ('k') | testing/embedder_test.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/samples.gyp
diff --git a/samples/samples.gyp b/samples/samples.gyp
index ff7b05823c88cd505f1a62ecc94981561d96f4f8..31fcbf7c72ffa457df2cc94f488fea5204922693 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',
+ ],
+ }],
+ ],
},
],
}
« no previous file with comments | « samples/pdfium_test.cc ('k') | testing/embedder_test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698