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

Unified Diff: pdfium.gyp

Issue 1502343007: XFA: Hide xfa targets in gyp (similar to GN) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years 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 | « build/all.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdfium.gyp
diff --git a/pdfium.gyp b/pdfium.gyp
index 82a170dbe2ecde0341dbe5885fc400137abc5673..934916fc3c82869c500ad62f7241052a878ac697 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -651,24 +651,6 @@
],
},
{
- 'target_name': 'fpdfxfa',
- 'type': 'static_library',
- 'dependencies': [
- 'javascript',
- 'xfa.gyp:xfa',
- ],
- 'sources': [
- 'fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp',
- 'fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp',
- 'fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp',
- 'fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp',
- 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h',
- 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h',
- 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h',
- 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h',
- ],
- },
- {
'target_name': 'javascript',
'type': 'static_library',
'sources': [
@@ -875,4 +857,28 @@
],
},
],
+ 'conditions': [
+ ['pdf_enable_xfa==1', {
+ 'targets': [
+ {
+ 'target_name': 'fpdfxfa',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'javascript',
+ 'xfa.gyp:xfa',
+ ],
+ 'sources': [
+ 'fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp',
+ 'fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp',
+ 'fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp',
+ 'fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp',
+ 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h',
+ 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h',
+ 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h',
+ 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h',
+ ],
+ },
+ ]
+ }],
+ ]
}
« no previous file with comments | « build/all.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698