diff options
author | jaepark <jaepark@google.com> | 2016-08-17 12:36:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-17 12:36:14 -0700 |
commit | 70ba38a9a1af0240529a96904dfdb8868b868719 (patch) | |
tree | b35b27824997dc065628526b2fa0edfa20202b06 /pdfium.gyp | |
parent | 611adb8c91c1d40c95097bb04b4f9eba03b599f9 (diff) | |
download | pdfium-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.gyp | 4 |
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', ], }], |