summaryrefslogtreecommitdiff
path: root/pdfium.gyp
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-08-17 12:36:14 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-17 12:36:14 -0700
commit70ba38a9a1af0240529a96904dfdb8868b868719 (patch)
treeb35b27824997dc065628526b2fa0edfa20202b06 /pdfium.gyp
parent611adb8c91c1d40c95097bb04b4f9eba03b599f9 (diff)
downloadpdfium-70ba38a9a1af0240529a96904dfdb8868b868719.tar.xz
Build CPDFSDK_XFAAnnotHandler only when PDF_ENABLE_XFA.
Also, remove the #ifdef PDF_ENABLE_XFA that wraps the whole file. Review-Url: https://codereview.chromium.org/2253193002
Diffstat (limited to 'pdfium.gyp')
-rw-r--r--pdfium.gyp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index d5f870ca7e..329764fd4c 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -95,7 +95,6 @@
'fpdfsdk/include/cpdfsdk_datetime.h',
'fpdfsdk/include/cpdfsdk_interform.h',
'fpdfsdk/include/cpdfsdk_widget.h',
- 'fpdfsdk/include/cpdfsdk_xfaannothandler.h',
'fpdfsdk/include/fsdk_actionhandler.h',
'fpdfsdk/include/fsdk_pauseadapter.h',
'fpdfsdk/include/ipdfsdk_annothandler.h',
@@ -109,7 +108,6 @@
'fpdfsdk/cpdfsdk_datetime.cpp',
'fpdfsdk/cpdfsdk_interform.cpp',
'fpdfsdk/cpdfsdk_widget.cpp',
- 'fpdfsdk/cpdfsdk_xfaannothandler.cpp',
'fpdfsdk/fpdfdoc.cpp',
'fpdfsdk/fpdfeditimg.cpp',
'fpdfsdk/fpdfeditpage.cpp',
@@ -151,7 +149,9 @@
'fpdfxfa',
],
'sources': [
+ 'fpdfsdk/cpdfsdk_xfaannothandler.cpp',
'fpdfsdk/cpdfsdk_xfawidget.cpp',
+ 'fpdfsdk/include/cpdfsdk_xfaannothandler.h',
'fpdfsdk/include/cpdfsdk_xfawidget.h',
],
}],