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 /BUILD.gn | |
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 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -73,7 +73,6 @@ static_library("pdfium") { "fpdfsdk/cpdfsdk_datetime.cpp", "fpdfsdk/cpdfsdk_interform.cpp", "fpdfsdk/cpdfsdk_widget.cpp", - "fpdfsdk/cpdfsdk_xfaannothandler.cpp", "fpdfsdk/fpdf_dataavail.cpp", "fpdfsdk/fpdf_ext.cpp", "fpdfsdk/fpdf_flatten.cpp", @@ -101,7 +100,6 @@ static_library("pdfium") { "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/ifpdfsdk_annothandler.h", @@ -145,7 +143,9 @@ static_library("pdfium") { if (pdf_enable_xfa) { sources += [ + "fpdfsdk/cpdfsdk_xfaannothandler.cpp", "fpdfsdk/cpdfsdk_xfawidget.cpp", + "fpdfsdk/include/cpdfsdk_xfaannothandler.h", "fpdfsdk/include/cpdfsdk_xfawidget.h", ] |