diff options
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/BUILD.gn | 68 | ||||
-rw-r--r-- | fpdfsdk/formfiller/BUILD.gn | 38 | ||||
-rw-r--r-- | fpdfsdk/fpdfxfa/BUILD.gn | 28 | ||||
-rw-r--r-- | fpdfsdk/pwl/BUILD.gn | 48 |
4 files changed, 182 insertions, 0 deletions
diff --git a/fpdfsdk/BUILD.gn b/fpdfsdk/BUILD.gn new file mode 100644 index 0000000000..2fc658e363 --- /dev/null +++ b/fpdfsdk/BUILD.gn @@ -0,0 +1,68 @@ +# Copyright 2018 The PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/jumbo.gni") +import("../pdfium.gni") + +jumbo_source_set("fpdfsdk") { + sources = [ + "cfx_systemhandler.cpp", + "cfx_systemhandler.h", + "cpdf_annotcontext.cpp", + "cpdf_annotcontext.h", + "cpdfsdk_actionhandler.cpp", + "cpdfsdk_actionhandler.h", + "cpdfsdk_annot.cpp", + "cpdfsdk_annot.h", + "cpdfsdk_annothandlermgr.cpp", + "cpdfsdk_annothandlermgr.h", + "cpdfsdk_annotiteration.cpp", + "cpdfsdk_annotiteration.h", + "cpdfsdk_annotiterator.cpp", + "cpdfsdk_annotiterator.h", + "cpdfsdk_baannot.cpp", + "cpdfsdk_baannot.h", + "cpdfsdk_baannothandler.cpp", + "cpdfsdk_baannothandler.h", + "cpdfsdk_common.h", + "cpdfsdk_customaccess.cpp", + "cpdfsdk_customaccess.h", + "cpdfsdk_fieldaction.cpp", + "cpdfsdk_fieldaction.h", + "cpdfsdk_filewriteadapter.cpp", + "cpdfsdk_filewriteadapter.h", + "cpdfsdk_formfillenvironment.cpp", + "cpdfsdk_formfillenvironment.h", + "cpdfsdk_helpers.cpp", + "cpdfsdk_helpers.h", + "cpdfsdk_interactiveform.cpp", + "cpdfsdk_interactiveform.h", + "cpdfsdk_pageview.cpp", + "cpdfsdk_pageview.h", + "cpdfsdk_widget.cpp", + "cpdfsdk_widget.h", + "cpdfsdk_widgethandler.cpp", + "cpdfsdk_widgethandler.h", + "ipdfsdk_annothandler.h", + "ipdfsdk_pauseadapter.cpp", + "ipdfsdk_pauseadapter.h", + ] + + configs += [ "../:pdfium_core_config" ] + deps = [ + "../:fxcrt", + ] + visibility = [ "../*" ] + + if (pdf_enable_xfa) { + sources += [ + "cpdfsdk_xfawidget.cpp", + "cpdfsdk_xfawidget.h", + "cpdfsdk_xfawidgethandler.cpp", + "cpdfsdk_xfawidgethandler.h", + ] + + deps += [ "fpdfxfa" ] + } +} diff --git a/fpdfsdk/formfiller/BUILD.gn b/fpdfsdk/formfiller/BUILD.gn new file mode 100644 index 0000000000..fe5ba5ed2b --- /dev/null +++ b/fpdfsdk/formfiller/BUILD.gn @@ -0,0 +1,38 @@ +# Copyright 2018 The PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/jumbo.gni") +import("../../pdfium.gni") + +jumbo_source_set("formfiller") { + sources = [ + "cba_fontmap.cpp", + "cba_fontmap.h", + "cffl_button.cpp", + "cffl_button.h", + "cffl_checkbox.cpp", + "cffl_checkbox.h", + "cffl_combobox.cpp", + "cffl_combobox.h", + "cffl_formfiller.cpp", + "cffl_formfiller.h", + "cffl_interactiveformfiller.cpp", + "cffl_interactiveformfiller.h", + "cffl_listbox.cpp", + "cffl_listbox.h", + "cffl_pushbutton.cpp", + "cffl_pushbutton.h", + "cffl_radiobutton.cpp", + "cffl_radiobutton.h", + "cffl_textfield.cpp", + "cffl_textfield.h", + "cffl_textobject.cpp", + "cffl_textobject.h", + ] + configs += [ "../../:pdfium_core_config" ] + deps = [ + "../../:fxcrt", + ] + visibility = [ "../../*" ] +} diff --git a/fpdfsdk/fpdfxfa/BUILD.gn b/fpdfsdk/fpdfxfa/BUILD.gn new file mode 100644 index 0000000000..14a82818d7 --- /dev/null +++ b/fpdfsdk/fpdfxfa/BUILD.gn @@ -0,0 +1,28 @@ +# Copyright 2018 The PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/jumbo.gni") +import("../../pdfium.gni") + +assert(pdf_enable_xfa) + +jumbo_source_set("fpdfxfa") { + sources = [ + "cpdfxfa_context.cpp", + "cpdfxfa_context.h", + "cpdfxfa_docenvironment.cpp", + "cpdfxfa_docenvironment.h", + "cpdfxfa_page.cpp", + "cpdfxfa_page.h", + "cxfa_fwladaptertimermgr.cpp", + "cxfa_fwladaptertimermgr.h", + ] + deps = [ + "../../:fxcrt", + "../../fxjs", + "../../xfa", + ] + configs += [ "../../:pdfium_core_config" ] + visibility = [ "../../*" ] +} diff --git a/fpdfsdk/pwl/BUILD.gn b/fpdfsdk/pwl/BUILD.gn new file mode 100644 index 0000000000..47cfce7bb9 --- /dev/null +++ b/fpdfsdk/pwl/BUILD.gn @@ -0,0 +1,48 @@ +# Copyright 2018 The PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/jumbo.gni") +import("../../pdfium.gni") + +jumbo_source_set("pwl") { + sources = [ + "cpwl_appstream.cpp", + "cpwl_appstream.h", + "cpwl_button.cpp", + "cpwl_button.h", + "cpwl_caret.cpp", + "cpwl_caret.h", + "cpwl_combo_box.cpp", + "cpwl_combo_box.h", + "cpwl_edit.cpp", + "cpwl_edit.h", + "cpwl_edit_ctrl.cpp", + "cpwl_edit_ctrl.h", + "cpwl_edit_impl.cpp", + "cpwl_edit_impl.h", + "cpwl_font_map.cpp", + "cpwl_font_map.h", + "cpwl_icon.cpp", + "cpwl_icon.h", + "cpwl_list_box.cpp", + "cpwl_list_box.h", + "cpwl_list_impl.cpp", + "cpwl_list_impl.h", + "cpwl_scroll_bar.cpp", + "cpwl_scroll_bar.h", + "cpwl_special_button.cpp", + "cpwl_special_button.h", + "cpwl_timer.cpp", + "cpwl_timer.h", + "cpwl_timer_handler.cpp", + "cpwl_timer_handler.h", + "cpwl_wnd.cpp", + "cpwl_wnd.h", + ] + configs += [ "../../:pdfium_core_config" ] + deps = [ + "../../:fxcrt", + ] + visibility = [ "../../*" ] +} |