summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-12 18:33:51 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-12 18:33:51 +0000
commitfaa5145146ad2bc95f19b520a83ace65a194e1e6 (patch)
treef655caeb37df57bf36777aa9efc914928261dbab /xfa
parent26177f27d4cf7191aa40da021424e820e8635e52 (diff)
downloadpdfium-faa5145146ad2bc95f19b520a83ace65a194e1e6.tar.xz
Split xfa build rules into various BUILD.gn files in xfa/.
Change-Id: I3e6624d0e7af6c4f7ec9674d5990ae25cc3954d0 Reviewed-on: https://pdfium-review.googlesource.com/c/43941 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r--xfa/BUILD.gn27
-rw-r--r--xfa/fde/BUILD.gn28
-rw-r--r--xfa/fgas/BUILD.gn52
-rw-r--r--xfa/fwl/BUILD.gn133
-rw-r--r--xfa/fxfa/BUILD.gn112
-rw-r--r--xfa/fxfa/fm2js/BUILD.gn31
-rw-r--r--xfa/fxfa/parser/BUILD.gn713
-rw-r--r--xfa/fxgraphics/BUILD.gn28
8 files changed, 1124 insertions, 0 deletions
diff --git a/xfa/BUILD.gn b/xfa/BUILD.gn
new file mode 100644
index 0000000000..3453a40f78
--- /dev/null
+++ b/xfa/BUILD.gn
@@ -0,0 +1,27 @@
+# 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("../pdfium.gni")
+
+assert(pdf_enable_xfa)
+
+config("xfa_warnings") {
+ visibility = [ ":*" ]
+ if (is_posix && !is_clang) { # When GCC.
+ cflags = [ "-Wno-strict-overflow" ]
+ }
+}
+
+group("xfa") {
+ deps = [
+ "fde",
+ "fgas",
+ "fwl",
+ "fxfa",
+ "fxfa/fm2js",
+ "fxfa/parser",
+ "fxgraphics",
+ ]
+ visibility = [ "../*" ]
+}
diff --git a/xfa/fde/BUILD.gn b/xfa/fde/BUILD.gn
new file mode 100644
index 0000000000..ecfbbb2c6f
--- /dev/null
+++ b/xfa/fde/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("fde") {
+ sources = [
+ "cfde_data.h",
+ "cfde_texteditengine.cpp",
+ "cfde_texteditengine.h",
+ "cfde_textout.cpp",
+ "cfde_textout.h",
+ "cfde_wordbreak_data.cpp",
+ "cfde_wordbreak_data.h",
+ ]
+ deps = [
+ "../../:fxcrt",
+ ]
+ configs += [
+ "../../:pdfium_core_config",
+ "../:xfa_warnings",
+ ]
+ visibility = [ "../../*" ]
+}
diff --git a/xfa/fgas/BUILD.gn b/xfa/fgas/BUILD.gn
new file mode 100644
index 0000000000..0cb74dab54
--- /dev/null
+++ b/xfa/fgas/BUILD.gn
@@ -0,0 +1,52 @@
+# 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("fgas") {
+ sources = [
+ "crt/cfgas_formatstring.cpp",
+ "crt/cfgas_formatstring.h",
+ "font/cfgas_defaultfontmanager.cpp",
+ "font/cfgas_defaultfontmanager.h",
+ "font/cfgas_fontmgr.cpp",
+ "font/cfgas_fontmgr.h",
+ "font/cfgas_gefont.cpp",
+ "font/cfgas_gefont.h",
+ "font/cfgas_pdffontmgr.cpp",
+ "font/cfgas_pdffontmgr.h",
+ "font/fgas_fontutils.cpp",
+ "font/fgas_fontutils.h",
+ "layout/cfx_break.cpp",
+ "layout/cfx_break.h",
+ "layout/cfx_breakline.cpp",
+ "layout/cfx_breakline.h",
+ "layout/cfx_breakpiece.cpp",
+ "layout/cfx_breakpiece.h",
+ "layout/cfx_linebreak.cpp",
+ "layout/cfx_linebreak.h",
+ "layout/cfx_rtfbreak.cpp",
+ "layout/cfx_rtfbreak.h",
+ "layout/cfx_txtbreak.cpp",
+ "layout/cfx_txtbreak.h",
+ ]
+ deps = [
+ "../../:fxcrt",
+ ]
+ configs += [
+ "../../:pdfium_core_config",
+ "../:xfa_warnings",
+ ]
+ visibility = [ "../../*" ]
+
+ if (!is_win) {
+ sources += [
+ "font/cfx_fontsourceenum_file.cpp",
+ "font/cfx_fontsourceenum_file.h",
+ ]
+ }
+}
diff --git a/xfa/fwl/BUILD.gn b/xfa/fwl/BUILD.gn
new file mode 100644
index 0000000000..6d6fbeb049
--- /dev/null
+++ b/xfa/fwl/BUILD.gn
@@ -0,0 +1,133 @@
+# 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("fwl") {
+ sources = [
+ "cfwl_app.cpp",
+ "cfwl_app.h",
+ "cfwl_barcode.cpp",
+ "cfwl_barcode.h",
+ "cfwl_caret.cpp",
+ "cfwl_caret.h",
+ "cfwl_checkbox.cpp",
+ "cfwl_checkbox.h",
+ "cfwl_combobox.cpp",
+ "cfwl_combobox.h",
+ "cfwl_comboedit.cpp",
+ "cfwl_comboedit.h",
+ "cfwl_combolist.cpp",
+ "cfwl_combolist.h",
+ "cfwl_datetimeedit.cpp",
+ "cfwl_datetimeedit.h",
+ "cfwl_datetimepicker.cpp",
+ "cfwl_datetimepicker.h",
+ "cfwl_edit.cpp",
+ "cfwl_edit.h",
+ "cfwl_event.cpp",
+ "cfwl_event.h",
+ "cfwl_eventmouse.cpp",
+ "cfwl_eventmouse.h",
+ "cfwl_eventscroll.cpp",
+ "cfwl_eventscroll.h",
+ "cfwl_eventselectchanged.cpp",
+ "cfwl_eventselectchanged.h",
+ "cfwl_eventtarget.cpp",
+ "cfwl_eventtarget.h",
+ "cfwl_eventtextwillchange.cpp",
+ "cfwl_eventtextwillchange.h",
+ "cfwl_eventvalidate.cpp",
+ "cfwl_eventvalidate.h",
+ "cfwl_form.cpp",
+ "cfwl_form.h",
+ "cfwl_listbox.cpp",
+ "cfwl_listbox.h",
+ "cfwl_listitem.cpp",
+ "cfwl_listitem.h",
+ "cfwl_message.cpp",
+ "cfwl_message.h",
+ "cfwl_messagekey.cpp",
+ "cfwl_messagekey.h",
+ "cfwl_messagekillfocus.cpp",
+ "cfwl_messagekillfocus.h",
+ "cfwl_messagemouse.cpp",
+ "cfwl_messagemouse.h",
+ "cfwl_messagemousewheel.cpp",
+ "cfwl_messagemousewheel.h",
+ "cfwl_messagesetfocus.cpp",
+ "cfwl_messagesetfocus.h",
+ "cfwl_monthcalendar.cpp",
+ "cfwl_monthcalendar.h",
+ "cfwl_notedriver.cpp",
+ "cfwl_notedriver.h",
+ "cfwl_noteloop.cpp",
+ "cfwl_noteloop.h",
+ "cfwl_picturebox.cpp",
+ "cfwl_picturebox.h",
+ "cfwl_pushbutton.cpp",
+ "cfwl_pushbutton.h",
+ "cfwl_scrollbar.cpp",
+ "cfwl_scrollbar.h",
+ "cfwl_themebackground.h",
+ "cfwl_themepart.cpp",
+ "cfwl_themepart.h",
+ "cfwl_themetext.h",
+ "cfwl_timer.cpp",
+ "cfwl_timer.h",
+ "cfwl_timerinfo.cpp",
+ "cfwl_timerinfo.h",
+ "cfwl_widget.cpp",
+ "cfwl_widget.h",
+ "cfwl_widgetmgr.cpp",
+ "cfwl_widgetmgr.h",
+ "cfwl_widgetproperties.cpp",
+ "cfwl_widgetproperties.h",
+ "cfx_barcode.cpp",
+ "cfx_barcode.h",
+ "fwl_widgetdef.h",
+ "fwl_widgethit.h",
+ "ifwl_adaptertimermgr.h",
+ "ifwl_themeprovider.h",
+ "ifwl_widgetdelegate.h",
+ "theme/cfwl_barcodetp.cpp",
+ "theme/cfwl_barcodetp.h",
+ "theme/cfwl_carettp.cpp",
+ "theme/cfwl_carettp.h",
+ "theme/cfwl_checkboxtp.cpp",
+ "theme/cfwl_checkboxtp.h",
+ "theme/cfwl_comboboxtp.cpp",
+ "theme/cfwl_comboboxtp.h",
+ "theme/cfwl_datetimepickertp.cpp",
+ "theme/cfwl_datetimepickertp.h",
+ "theme/cfwl_edittp.cpp",
+ "theme/cfwl_edittp.h",
+ "theme/cfwl_listboxtp.cpp",
+ "theme/cfwl_listboxtp.h",
+ "theme/cfwl_monthcalendartp.cpp",
+ "theme/cfwl_monthcalendartp.h",
+ "theme/cfwl_pictureboxtp.cpp",
+ "theme/cfwl_pictureboxtp.h",
+ "theme/cfwl_pushbuttontp.cpp",
+ "theme/cfwl_pushbuttontp.h",
+ "theme/cfwl_scrollbartp.cpp",
+ "theme/cfwl_scrollbartp.h",
+ "theme/cfwl_utils.h",
+ "theme/cfwl_widgettp.cpp",
+ "theme/cfwl_widgettp.h",
+ ]
+ deps = [
+ "../../:fxcrt",
+ "../../fxbarcode",
+ "../fgas",
+ ]
+ configs += [
+ "../../:pdfium_core_config",
+ "../:xfa_warnings",
+ ]
+ visibility = [ "../../*" ]
+}
diff --git a/xfa/fxfa/BUILD.gn b/xfa/fxfa/BUILD.gn
new file mode 100644
index 0000000000..c6e4b98da8
--- /dev/null
+++ b/xfa/fxfa/BUILD.gn
@@ -0,0 +1,112 @@
+# 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("fxfa") {
+ sources = [
+ "cxfa_eventparam.cpp",
+ "cxfa_eventparam.h",
+ "cxfa_ffapp.cpp",
+ "cxfa_ffapp.h",
+ "cxfa_ffarc.cpp",
+ "cxfa_ffarc.h",
+ "cxfa_ffbarcode.cpp",
+ "cxfa_ffbarcode.h",
+ "cxfa_ffcheckbutton.cpp",
+ "cxfa_ffcheckbutton.h",
+ "cxfa_ffcombobox.cpp",
+ "cxfa_ffcombobox.h",
+ "cxfa_ffdatetimeedit.cpp",
+ "cxfa_ffdatetimeedit.h",
+ "cxfa_ffdoc.cpp",
+ "cxfa_ffdoc.h",
+ "cxfa_ffdocview.cpp",
+ "cxfa_ffdocview.h",
+ "cxfa_ffdropdown.cpp",
+ "cxfa_ffdropdown.h",
+ "cxfa_ffexclgroup.cpp",
+ "cxfa_ffexclgroup.h",
+ "cxfa_fffield.cpp",
+ "cxfa_fffield.h",
+ "cxfa_ffimage.cpp",
+ "cxfa_ffimage.h",
+ "cxfa_ffimageedit.cpp",
+ "cxfa_ffimageedit.h",
+ "cxfa_ffline.cpp",
+ "cxfa_ffline.h",
+ "cxfa_fflistbox.cpp",
+ "cxfa_fflistbox.h",
+ "cxfa_ffnotify.cpp",
+ "cxfa_ffnotify.h",
+ "cxfa_ffnumericedit.cpp",
+ "cxfa_ffnumericedit.h",
+ "cxfa_ffpageview.cpp",
+ "cxfa_ffpageview.h",
+ "cxfa_ffpasswordedit.cpp",
+ "cxfa_ffpasswordedit.h",
+ "cxfa_ffpushbutton.cpp",
+ "cxfa_ffpushbutton.h",
+ "cxfa_ffrectangle.cpp",
+ "cxfa_ffrectangle.h",
+ "cxfa_ffsignature.cpp",
+ "cxfa_ffsignature.h",
+ "cxfa_fftext.cpp",
+ "cxfa_fftext.h",
+ "cxfa_fftextedit.cpp",
+ "cxfa_fftextedit.h",
+ "cxfa_ffwidget.cpp",
+ "cxfa_ffwidget.h",
+ "cxfa_ffwidgethandler.cpp",
+ "cxfa_ffwidgethandler.h",
+ "cxfa_fontmgr.cpp",
+ "cxfa_fontmgr.h",
+ "cxfa_fwladapterwidgetmgr.cpp",
+ "cxfa_fwladapterwidgetmgr.h",
+ "cxfa_fwltheme.cpp",
+ "cxfa_fwltheme.h",
+ "cxfa_imagerenderer.cpp",
+ "cxfa_imagerenderer.h",
+ "cxfa_linkuserdata.cpp",
+ "cxfa_linkuserdata.h",
+ "cxfa_loadercontext.cpp",
+ "cxfa_loadercontext.h",
+ "cxfa_pieceline.cpp",
+ "cxfa_pieceline.h",
+ "cxfa_readynodeiterator.cpp",
+ "cxfa_readynodeiterator.h",
+ "cxfa_rendercontext.cpp",
+ "cxfa_rendercontext.h",
+ "cxfa_textlayout.cpp",
+ "cxfa_textlayout.h",
+ "cxfa_textparsecontext.cpp",
+ "cxfa_textparsecontext.h",
+ "cxfa_textparser.cpp",
+ "cxfa_textparser.h",
+ "cxfa_textpiece.cpp",
+ "cxfa_textpiece.h",
+ "cxfa_textprovider.cpp",
+ "cxfa_textprovider.h",
+ "cxfa_texttabstopscontext.cpp",
+ "cxfa_texttabstopscontext.h",
+ "cxfa_textuserdata.cpp",
+ "cxfa_textuserdata.h",
+ "fxfa.h",
+ "fxfa_basic.h",
+ ]
+ deps = [
+ "../../:fxcrt",
+ "../../:fxjs",
+ "../fde",
+ "../fgas",
+ ]
+ configs += [
+ "../../:pdfium_core_config",
+ "../:xfa_warnings",
+ ]
+ visibility = [ "../../*" ]
+}
diff --git a/xfa/fxfa/fm2js/BUILD.gn b/xfa/fxfa/fm2js/BUILD.gn
new file mode 100644
index 0000000000..d34265f3a3
--- /dev/null
+++ b/xfa/fxfa/fm2js/BUILD.gn
@@ -0,0 +1,31 @@
+# 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("fm2js") {
+ sources = [
+ "cxfa_fmexpression.cpp",
+ "cxfa_fmexpression.h",
+ "cxfa_fmlexer.cpp",
+ "cxfa_fmlexer.h",
+ "cxfa_fmparser.cpp",
+ "cxfa_fmparser.h",
+ "cxfa_fmsimpleexpression.cpp",
+ "cxfa_fmsimpleexpression.h",
+ "cxfa_fmtojavascriptdepth.cpp",
+ "cxfa_fmtojavascriptdepth.h",
+ ]
+ deps = [
+ "//third_party/icu:icuuc",
+ ]
+ configs += [
+ "../../../:pdfium_core_config",
+ "../../:xfa_warnings",
+ ]
+ visibility = [ "../../../*" ]
+}
diff --git a/xfa/fxfa/parser/BUILD.gn b/xfa/fxfa/parser/BUILD.gn
new file mode 100644
index 0000000000..6391e0da7c
--- /dev/null
+++ b/xfa/fxfa/parser/BUILD.gn
@@ -0,0 +1,713 @@
+# 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("parser") {
+ sources = [
+ "cscript_datawindow.cpp",
+ "cscript_datawindow.h",
+ "cscript_eventpseudomodel.cpp",
+ "cscript_eventpseudomodel.h",
+ "cscript_hostpseudomodel.cpp",
+ "cscript_hostpseudomodel.h",
+ "cscript_layoutpseudomodel.cpp",
+ "cscript_layoutpseudomodel.h",
+ "cscript_logpseudomodel.cpp",
+ "cscript_logpseudomodel.h",
+ "cscript_signaturepseudomodel.cpp",
+ "cscript_signaturepseudomodel.h",
+ "cxfa_accessiblecontent.cpp",
+ "cxfa_accessiblecontent.h",
+ "cxfa_acrobat.cpp",
+ "cxfa_acrobat.h",
+ "cxfa_acrobat7.cpp",
+ "cxfa_acrobat7.h",
+ "cxfa_adbe_jsconsole.cpp",
+ "cxfa_adbe_jsconsole.h",
+ "cxfa_adbe_jsdebugger.cpp",
+ "cxfa_adbe_jsdebugger.h",
+ "cxfa_addsilentprint.cpp",
+ "cxfa_addsilentprint.h",
+ "cxfa_addviewerpreferences.cpp",
+ "cxfa_addviewerpreferences.h",
+ "cxfa_adjustdata.cpp",
+ "cxfa_adjustdata.h",
+ "cxfa_adobeextensionlevel.cpp",
+ "cxfa_adobeextensionlevel.h",
+ "cxfa_agent.cpp",
+ "cxfa_agent.h",
+ "cxfa_alwaysembed.cpp",
+ "cxfa_alwaysembed.h",
+ "cxfa_amd.cpp",
+ "cxfa_amd.h",
+ "cxfa_appearancefilter.cpp",
+ "cxfa_appearancefilter.h",
+ "cxfa_arc.cpp",
+ "cxfa_arc.h",
+ "cxfa_area.cpp",
+ "cxfa_area.h",
+ "cxfa_arraynodelist.cpp",
+ "cxfa_arraynodelist.h",
+ "cxfa_assist.cpp",
+ "cxfa_assist.h",
+ "cxfa_attachnodelist.cpp",
+ "cxfa_attachnodelist.h",
+ "cxfa_attributes.cpp",
+ "cxfa_attributes.h",
+ "cxfa_autosave.cpp",
+ "cxfa_autosave.h",
+ "cxfa_barcode.cpp",
+ "cxfa_barcode.h",
+ "cxfa_base.cpp",
+ "cxfa_base.h",
+ "cxfa_batchoutput.cpp",
+ "cxfa_batchoutput.h",
+ "cxfa_behavioroverride.cpp",
+ "cxfa_behavioroverride.h",
+ "cxfa_bind.cpp",
+ "cxfa_bind.h",
+ "cxfa_binditems.cpp",
+ "cxfa_binditems.h",
+ "cxfa_bookend.cpp",
+ "cxfa_bookend.h",
+ "cxfa_boolean.cpp",
+ "cxfa_boolean.h",
+ "cxfa_border.cpp",
+ "cxfa_border.h",
+ "cxfa_box.cpp",
+ "cxfa_box.h",
+ "cxfa_break.cpp",
+ "cxfa_break.h",
+ "cxfa_breakafter.cpp",
+ "cxfa_breakafter.h",
+ "cxfa_breakbefore.cpp",
+ "cxfa_breakbefore.h",
+ "cxfa_button.cpp",
+ "cxfa_button.h",
+ "cxfa_cache.cpp",
+ "cxfa_cache.h",
+ "cxfa_calculate.cpp",
+ "cxfa_calculate.h",
+ "cxfa_calendarsymbols.cpp",
+ "cxfa_calendarsymbols.h",
+ "cxfa_caption.cpp",
+ "cxfa_caption.h",
+ "cxfa_certificate.cpp",
+ "cxfa_certificate.h",
+ "cxfa_certificates.cpp",
+ "cxfa_certificates.h",
+ "cxfa_change.cpp",
+ "cxfa_change.h",
+ "cxfa_checkbutton.cpp",
+ "cxfa_checkbutton.h",
+ "cxfa_choicelist.cpp",
+ "cxfa_choicelist.h",
+ "cxfa_color.cpp",
+ "cxfa_color.h",
+ "cxfa_comb.cpp",
+ "cxfa_comb.h",
+ "cxfa_command.cpp",
+ "cxfa_command.h",
+ "cxfa_common.cpp",
+ "cxfa_common.h",
+ "cxfa_compress.cpp",
+ "cxfa_compress.h",
+ "cxfa_compression.cpp",
+ "cxfa_compression.h",
+ "cxfa_compresslogicalstructure.cpp",
+ "cxfa_compresslogicalstructure.h",
+ "cxfa_compressobjectstream.cpp",
+ "cxfa_compressobjectstream.h",
+ "cxfa_config.cpp",
+ "cxfa_config.h",
+ "cxfa_conformance.cpp",
+ "cxfa_conformance.h",
+ "cxfa_connect.cpp",
+ "cxfa_connect.h",
+ "cxfa_connectionset.cpp",
+ "cxfa_connectionset.h",
+ "cxfa_connectstring.cpp",
+ "cxfa_connectstring.h",
+ "cxfa_containerlayoutitem.cpp",
+ "cxfa_containerlayoutitem.h",
+ "cxfa_contentarea.cpp",
+ "cxfa_contentarea.h",
+ "cxfa_contentcopy.cpp",
+ "cxfa_contentcopy.h",
+ "cxfa_contentlayoutitem.cpp",
+ "cxfa_contentlayoutitem.h",
+ "cxfa_copies.cpp",
+ "cxfa_copies.h",
+ "cxfa_corner.cpp",
+ "cxfa_corner.h",
+ "cxfa_creator.cpp",
+ "cxfa_creator.h",
+ "cxfa_currencysymbol.cpp",
+ "cxfa_currencysymbol.h",
+ "cxfa_currencysymbols.cpp",
+ "cxfa_currencysymbols.h",
+ "cxfa_currentpage.cpp",
+ "cxfa_currentpage.h",
+ "cxfa_data.cpp",
+ "cxfa_data.h",
+ "cxfa_dataexporter.cpp",
+ "cxfa_dataexporter.h",
+ "cxfa_datagroup.cpp",
+ "cxfa_datagroup.h",
+ "cxfa_datamodel.cpp",
+ "cxfa_datamodel.h",
+ "cxfa_datavalue.cpp",
+ "cxfa_datavalue.h",
+ "cxfa_date.cpp",
+ "cxfa_date.h",
+ "cxfa_datepattern.cpp",
+ "cxfa_datepattern.h",
+ "cxfa_datepatterns.cpp",
+ "cxfa_datepatterns.h",
+ "cxfa_datetime.cpp",
+ "cxfa_datetime.h",
+ "cxfa_datetimeedit.cpp",
+ "cxfa_datetimeedit.h",
+ "cxfa_datetimesymbols.cpp",
+ "cxfa_datetimesymbols.h",
+ "cxfa_day.cpp",
+ "cxfa_day.h",
+ "cxfa_daynames.cpp",
+ "cxfa_daynames.h",
+ "cxfa_debug.cpp",
+ "cxfa_debug.h",
+ "cxfa_decimal.cpp",
+ "cxfa_decimal.h",
+ "cxfa_defaulttypeface.cpp",
+ "cxfa_defaulttypeface.h",
+ "cxfa_defaultui.cpp",
+ "cxfa_defaultui.h",
+ "cxfa_delete.cpp",
+ "cxfa_delete.h",
+ "cxfa_delta.cpp",
+ "cxfa_delta.h",
+ "cxfa_deltas.cpp",
+ "cxfa_deltas.h",
+ "cxfa_desc.cpp",
+ "cxfa_desc.h",
+ "cxfa_destination.cpp",
+ "cxfa_destination.h",
+ "cxfa_digestmethod.cpp",
+ "cxfa_digestmethod.h",
+ "cxfa_digestmethods.cpp",
+ "cxfa_digestmethods.h",
+ "cxfa_document.cpp",
+ "cxfa_document.h",
+ "cxfa_document_parser.cpp",
+ "cxfa_document_parser.h",
+ "cxfa_documentassembly.cpp",
+ "cxfa_documentassembly.h",
+ "cxfa_draw.cpp",
+ "cxfa_draw.h",
+ "cxfa_driver.cpp",
+ "cxfa_driver.h",
+ "cxfa_dsigdata.cpp",
+ "cxfa_dsigdata.h",
+ "cxfa_duplexoption.cpp",
+ "cxfa_duplexoption.h",
+ "cxfa_dynamicrender.cpp",
+ "cxfa_dynamicrender.h",
+ "cxfa_edge.cpp",
+ "cxfa_edge.h",
+ "cxfa_effectiveinputpolicy.cpp",
+ "cxfa_effectiveinputpolicy.h",
+ "cxfa_effectiveoutputpolicy.cpp",
+ "cxfa_effectiveoutputpolicy.h",
+ "cxfa_embed.cpp",
+ "cxfa_embed.h",
+ "cxfa_encoding.cpp",
+ "cxfa_encoding.h",
+ "cxfa_encodings.cpp",
+ "cxfa_encodings.h",
+ "cxfa_encrypt.cpp",
+ "cxfa_encrypt.h",
+ "cxfa_encryption.cpp",
+ "cxfa_encryption.h",
+ "cxfa_encryptionlevel.cpp",
+ "cxfa_encryptionlevel.h",
+ "cxfa_encryptionmethod.cpp",
+ "cxfa_encryptionmethod.h",
+ "cxfa_encryptionmethods.cpp",
+ "cxfa_encryptionmethods.h",
+ "cxfa_enforce.cpp",
+ "cxfa_enforce.h",
+ "cxfa_equate.cpp",
+ "cxfa_equate.h",
+ "cxfa_equaterange.cpp",
+ "cxfa_equaterange.h",
+ "cxfa_era.cpp",
+ "cxfa_era.h",
+ "cxfa_eranames.cpp",
+ "cxfa_eranames.h",
+ "cxfa_event.cpp",
+ "cxfa_event.h",
+ "cxfa_exclgroup.cpp",
+ "cxfa_exclgroup.h",
+ "cxfa_exclude.cpp",
+ "cxfa_exclude.h",
+ "cxfa_excludens.cpp",
+ "cxfa_excludens.h",
+ "cxfa_exdata.cpp",
+ "cxfa_exdata.h",
+ "cxfa_execute.cpp",
+ "cxfa_execute.h",
+ "cxfa_exobject.cpp",
+ "cxfa_exobject.h",
+ "cxfa_extras.cpp",
+ "cxfa_extras.h",
+ "cxfa_field.cpp",
+ "cxfa_field.h",
+ "cxfa_fill.cpp",
+ "cxfa_fill.h",
+ "cxfa_filter.cpp",
+ "cxfa_filter.h",
+ "cxfa_fliplabel.cpp",
+ "cxfa_fliplabel.h",
+ "cxfa_float.cpp",
+ "cxfa_float.h",
+ "cxfa_font.cpp",
+ "cxfa_font.h",
+ "cxfa_fontinfo.cpp",
+ "cxfa_fontinfo.h",
+ "cxfa_form.cpp",
+ "cxfa_form.h",
+ "cxfa_format.cpp",
+ "cxfa_format.h",
+ "cxfa_formfieldfilling.cpp",
+ "cxfa_formfieldfilling.h",
+ "cxfa_groupparent.cpp",
+ "cxfa_groupparent.h",
+ "cxfa_handler.cpp",
+ "cxfa_handler.h",
+ "cxfa_hyphenation.cpp",
+ "cxfa_hyphenation.h",
+ "cxfa_ifempty.cpp",
+ "cxfa_ifempty.h",
+ "cxfa_image.cpp",
+ "cxfa_image.h",
+ "cxfa_imageedit.cpp",
+ "cxfa_imageedit.h",
+ "cxfa_includexdpcontent.cpp",
+ "cxfa_includexdpcontent.h",
+ "cxfa_incrementalload.cpp",
+ "cxfa_incrementalload.h",
+ "cxfa_incrementalmerge.cpp",
+ "cxfa_incrementalmerge.h",
+ "cxfa_insert.cpp",
+ "cxfa_insert.h",
+ "cxfa_instancemanager.cpp",
+ "cxfa_instancemanager.h",
+ "cxfa_integer.cpp",
+ "cxfa_integer.h",
+ "cxfa_interactive.cpp",
+ "cxfa_interactive.h",
+ "cxfa_issuers.cpp",
+ "cxfa_issuers.h",
+ "cxfa_itemlayoutprocessor.cpp",
+ "cxfa_itemlayoutprocessor.h",
+ "cxfa_items.cpp",
+ "cxfa_items.h",
+ "cxfa_jog.cpp",
+ "cxfa_jog.h",
+ "cxfa_keep.cpp",
+ "cxfa_keep.h",
+ "cxfa_keyusage.cpp",
+ "cxfa_keyusage.h",
+ "cxfa_labelprinter.cpp",
+ "cxfa_labelprinter.h",
+ "cxfa_layout.cpp",
+ "cxfa_layout.h",
+ "cxfa_layoutcontext.cpp",
+ "cxfa_layoutcontext.h",
+ "cxfa_layoutitem.cpp",
+ "cxfa_layoutitem.h",
+ "cxfa_layoutpagemgr.cpp",
+ "cxfa_layoutpagemgr.h",
+ "cxfa_layoutprocessor.cpp",
+ "cxfa_layoutprocessor.h",
+ "cxfa_level.cpp",
+ "cxfa_level.h",
+ "cxfa_line.cpp",
+ "cxfa_line.h",
+ "cxfa_linear.cpp",
+ "cxfa_linear.h",
+ "cxfa_linearized.cpp",
+ "cxfa_linearized.h",
+ "cxfa_list.cpp",
+ "cxfa_list.h",
+ "cxfa_locale.cpp",
+ "cxfa_locale.h",
+ "cxfa_localemgr.cpp",
+ "cxfa_localemgr.h",
+ "cxfa_localeset.cpp",
+ "cxfa_localeset.h",
+ "cxfa_localevalue.cpp",
+ "cxfa_localevalue.h",
+ "cxfa_lockdocument.cpp",
+ "cxfa_lockdocument.h",
+ "cxfa_log.cpp",
+ "cxfa_log.h",
+ "cxfa_manifest.cpp",
+ "cxfa_manifest.h",
+ "cxfa_map.cpp",
+ "cxfa_map.h",
+ "cxfa_margin.cpp",
+ "cxfa_margin.h",
+ "cxfa_mdp.cpp",
+ "cxfa_mdp.h",
+ "cxfa_measurement.cpp",
+ "cxfa_measurement.h",
+ "cxfa_medium.cpp",
+ "cxfa_medium.h",
+ "cxfa_mediuminfo.cpp",
+ "cxfa_mediuminfo.h",
+ "cxfa_meridiem.cpp",
+ "cxfa_meridiem.h",
+ "cxfa_meridiemnames.cpp",
+ "cxfa_meridiemnames.h",
+ "cxfa_message.cpp",
+ "cxfa_message.h",
+ "cxfa_messaging.cpp",
+ "cxfa_messaging.h",
+ "cxfa_mode.cpp",
+ "cxfa_mode.h",
+ "cxfa_modifyannots.cpp",
+ "cxfa_modifyannots.h",
+ "cxfa_month.cpp",
+ "cxfa_month.h",
+ "cxfa_monthnames.cpp",
+ "cxfa_monthnames.h",
+ "cxfa_msgid.cpp",
+ "cxfa_msgid.h",
+ "cxfa_nameattr.cpp",
+ "cxfa_nameattr.h",
+ "cxfa_neverembed.cpp",
+ "cxfa_neverembed.h",
+ "cxfa_node.cpp",
+ "cxfa_node.h",
+ "cxfa_node_statics.cpp",
+ "cxfa_nodehelper.cpp",
+ "cxfa_nodehelper.h",
+ "cxfa_nodeiteratortemplate.h",
+ "cxfa_nodelocale.cpp",
+ "cxfa_nodelocale.h",
+ "cxfa_nodeowner.cpp",
+ "cxfa_nodeowner.h",
+ "cxfa_numberofcopies.cpp",
+ "cxfa_numberofcopies.h",
+ "cxfa_numberpattern.cpp",
+ "cxfa_numberpattern.h",
+ "cxfa_numberpatterns.cpp",
+ "cxfa_numberpatterns.h",
+ "cxfa_numbersymbol.cpp",
+ "cxfa_numbersymbol.h",
+ "cxfa_numbersymbols.cpp",
+ "cxfa_numbersymbols.h",
+ "cxfa_numericedit.cpp",
+ "cxfa_numericedit.h",
+ "cxfa_object.cpp",
+ "cxfa_object.h",
+ "cxfa_occur.cpp",
+ "cxfa_occur.h",
+ "cxfa_oid.cpp",
+ "cxfa_oid.h",
+ "cxfa_oids.cpp",
+ "cxfa_oids.h",
+ "cxfa_openaction.cpp",
+ "cxfa_openaction.h",
+ "cxfa_operation.cpp",
+ "cxfa_operation.h",
+ "cxfa_output.cpp",
+ "cxfa_output.h",
+ "cxfa_outputbin.cpp",
+ "cxfa_outputbin.h",
+ "cxfa_outputxsl.cpp",
+ "cxfa_outputxsl.h",
+ "cxfa_overflow.cpp",
+ "cxfa_overflow.h",
+ "cxfa_overprint.cpp",
+ "cxfa_overprint.h",
+ "cxfa_packet.cpp",
+ "cxfa_packet.h",
+ "cxfa_packets.cpp",
+ "cxfa_packets.h",
+ "cxfa_pagearea.cpp",
+ "cxfa_pagearea.h",
+ "cxfa_pageoffset.cpp",
+ "cxfa_pageoffset.h",
+ "cxfa_pagerange.cpp",
+ "cxfa_pagerange.h",
+ "cxfa_pageset.cpp",
+ "cxfa_pageset.h",
+ "cxfa_pagination.cpp",
+ "cxfa_pagination.h",
+ "cxfa_paginationoverride.cpp",
+ "cxfa_paginationoverride.h",
+ "cxfa_para.cpp",
+ "cxfa_para.h",
+ "cxfa_part.cpp",
+ "cxfa_part.h",
+ "cxfa_password.cpp",
+ "cxfa_password.h",
+ "cxfa_passwordedit.cpp",
+ "cxfa_passwordedit.h",
+ "cxfa_pattern.cpp",
+ "cxfa_pattern.h",
+ "cxfa_pcl.cpp",
+ "cxfa_pcl.h",
+ "cxfa_pdf.cpp",
+ "cxfa_pdf.h",
+ "cxfa_pdfa.cpp",
+ "cxfa_pdfa.h",
+ "cxfa_permissions.cpp",
+ "cxfa_permissions.h",
+ "cxfa_picktraybypdfsize.cpp",
+ "cxfa_picktraybypdfsize.h",
+ "cxfa_picture.cpp",
+ "cxfa_picture.h",
+ "cxfa_plaintextmetadata.cpp",
+ "cxfa_plaintextmetadata.h",
+ "cxfa_presence.cpp",
+ "cxfa_presence.h",
+ "cxfa_present.cpp",
+ "cxfa_present.h",
+ "cxfa_print.cpp",
+ "cxfa_print.h",
+ "cxfa_printername.cpp",
+ "cxfa_printername.h",
+ "cxfa_printhighquality.cpp",
+ "cxfa_printhighquality.h",
+ "cxfa_printscaling.cpp",
+ "cxfa_printscaling.h",
+ "cxfa_producer.cpp",
+ "cxfa_producer.h",
+ "cxfa_proto.cpp",
+ "cxfa_proto.h",
+ "cxfa_ps.cpp",
+ "cxfa_ps.h",
+ "cxfa_psmap.cpp",
+ "cxfa_psmap.h",
+ "cxfa_query.cpp",
+ "cxfa_query.h",
+ "cxfa_radial.cpp",
+ "cxfa_radial.h",
+ "cxfa_range.cpp",
+ "cxfa_range.h",
+ "cxfa_reason.cpp",
+ "cxfa_reason.h",
+ "cxfa_reasons.cpp",
+ "cxfa_reasons.h",
+ "cxfa_record.cpp",
+ "cxfa_record.h",
+ "cxfa_recordset.cpp",
+ "cxfa_recordset.h",
+ "cxfa_rectangle.cpp",
+ "cxfa_rectangle.h",
+ "cxfa_ref.cpp",
+ "cxfa_ref.h",
+ "cxfa_relevant.cpp",
+ "cxfa_relevant.h",
+ "cxfa_rename.cpp",
+ "cxfa_rename.h",
+ "cxfa_renderpolicy.cpp",
+ "cxfa_renderpolicy.h",
+ "cxfa_rootelement.cpp",
+ "cxfa_rootelement.h",
+ "cxfa_runscripts.cpp",
+ "cxfa_runscripts.h",
+ "cxfa_script.cpp",
+ "cxfa_script.h",
+ "cxfa_scriptmodel.cpp",
+ "cxfa_scriptmodel.h",
+ "cxfa_select.cpp",
+ "cxfa_select.h",
+ "cxfa_setproperty.cpp",
+ "cxfa_setproperty.h",
+ "cxfa_severity.cpp",
+ "cxfa_severity.h",
+ "cxfa_sharptext.cpp",
+ "cxfa_sharptext.h",
+ "cxfa_sharpxhtml.cpp",
+ "cxfa_sharpxhtml.h",
+ "cxfa_sharpxml.cpp",
+ "cxfa_sharpxml.h",
+ "cxfa_signature.cpp",
+ "cxfa_signature.h",
+ "cxfa_signatureproperties.cpp",
+ "cxfa_signatureproperties.h",
+ "cxfa_signdata.cpp",
+ "cxfa_signdata.h",
+ "cxfa_signing.cpp",
+ "cxfa_signing.h",
+ "cxfa_silentprint.cpp",
+ "cxfa_silentprint.h",
+ "cxfa_soapaction.cpp",
+ "cxfa_soapaction.h",
+ "cxfa_soapaddress.cpp",
+ "cxfa_soapaddress.h",
+ "cxfa_solid.cpp",
+ "cxfa_solid.h",
+ "cxfa_source.cpp",
+ "cxfa_source.h",
+ "cxfa_sourceset.cpp",
+ "cxfa_sourceset.h",
+ "cxfa_speak.cpp",
+ "cxfa_speak.h",
+ "cxfa_staple.cpp",
+ "cxfa_staple.h",
+ "cxfa_startnode.cpp",
+ "cxfa_startnode.h",
+ "cxfa_startpage.cpp",
+ "cxfa_startpage.h",
+ "cxfa_stipple.cpp",
+ "cxfa_stipple.h",
+ "cxfa_stroke.cpp",
+ "cxfa_stroke.h",
+ "cxfa_subform.cpp",
+ "cxfa_subform.h",
+ "cxfa_subformset.cpp",
+ "cxfa_subformset.h",
+ "cxfa_subjectdn.cpp",
+ "cxfa_subjectdn.h",
+ "cxfa_subjectdns.cpp",
+ "cxfa_subjectdns.h",
+ "cxfa_submit.cpp",
+ "cxfa_submit.h",
+ "cxfa_submitformat.cpp",
+ "cxfa_submitformat.h",
+ "cxfa_submiturl.cpp",
+ "cxfa_submiturl.h",
+ "cxfa_subsetbelow.cpp",
+ "cxfa_subsetbelow.h",
+ "cxfa_suppressbanner.cpp",
+ "cxfa_suppressbanner.h",
+ "cxfa_tagged.cpp",
+ "cxfa_tagged.h",
+ "cxfa_template.cpp",
+ "cxfa_template.h",
+ "cxfa_templatecache.cpp",
+ "cxfa_templatecache.h",
+ "cxfa_text.cpp",
+ "cxfa_text.h",
+ "cxfa_textedit.cpp",
+ "cxfa_textedit.h",
+ "cxfa_thisproxy.cpp",
+ "cxfa_thisproxy.h",
+ "cxfa_threshold.cpp",
+ "cxfa_threshold.h",
+ "cxfa_time.cpp",
+ "cxfa_time.h",
+ "cxfa_timepattern.cpp",
+ "cxfa_timepattern.h",
+ "cxfa_timepatterns.cpp",
+ "cxfa_timepatterns.h",
+ "cxfa_timestamp.cpp",
+ "cxfa_timestamp.h",
+ "cxfa_timezoneprovider.cpp",
+ "cxfa_timezoneprovider.h",
+ "cxfa_to.cpp",
+ "cxfa_to.h",
+ "cxfa_tooltip.cpp",
+ "cxfa_tooltip.h",
+ "cxfa_trace.cpp",
+ "cxfa_trace.h",
+ "cxfa_transform.cpp",
+ "cxfa_transform.h",
+ "cxfa_traversal.cpp",
+ "cxfa_traversal.h",
+ "cxfa_traverse.cpp",
+ "cxfa_traverse.h",
+ "cxfa_traversestrategy_contentareacontainerlayoutitem.h",
+ "cxfa_traversestrategy_layoutitem.h",
+ "cxfa_traversestrategy_xfacontainernode.h",
+ "cxfa_traversestrategy_xfanode.h",
+ "cxfa_treelist.cpp",
+ "cxfa_treelist.h",
+ "cxfa_type.cpp",
+ "cxfa_type.h",
+ "cxfa_typeface.cpp",
+ "cxfa_typeface.h",
+ "cxfa_typefaces.cpp",
+ "cxfa_typefaces.h",
+ "cxfa_ui.cpp",
+ "cxfa_ui.h",
+ "cxfa_update.cpp",
+ "cxfa_update.h",
+ "cxfa_uri.cpp",
+ "cxfa_uri.h",
+ "cxfa_user.cpp",
+ "cxfa_user.h",
+ "cxfa_validate.cpp",
+ "cxfa_validate.h",
+ "cxfa_validateapprovalsignatures.cpp",
+ "cxfa_validateapprovalsignatures.h",
+ "cxfa_validationmessaging.cpp",
+ "cxfa_validationmessaging.h",
+ "cxfa_value.cpp",
+ "cxfa_value.h",
+ "cxfa_variables.cpp",
+ "cxfa_variables.h",
+ "cxfa_version.cpp",
+ "cxfa_version.h",
+ "cxfa_versioncontrol.cpp",
+ "cxfa_versioncontrol.h",
+ "cxfa_viewerpreferences.cpp",
+ "cxfa_viewerpreferences.h",
+ "cxfa_webclient.cpp",
+ "cxfa_webclient.h",
+ "cxfa_whitespace.cpp",
+ "cxfa_whitespace.h",
+ "cxfa_window.cpp",
+ "cxfa_window.h",
+ "cxfa_wsdladdress.cpp",
+ "cxfa_wsdladdress.h",
+ "cxfa_wsdlconnection.cpp",
+ "cxfa_wsdlconnection.h",
+ "cxfa_xdc.cpp",
+ "cxfa_xdc.h",
+ "cxfa_xdp.cpp",
+ "cxfa_xdp.h",
+ "cxfa_xfa.cpp",
+ "cxfa_xfa.h",
+ "cxfa_xmlconnection.cpp",
+ "cxfa_xmlconnection.h",
+ "cxfa_xmllocale.cpp",
+ "cxfa_xmllocale.h",
+ "cxfa_xsdconnection.cpp",
+ "cxfa_xsdconnection.h",
+ "cxfa_xsl.cpp",
+ "cxfa_xsl.h",
+ "cxfa_zpl.cpp",
+ "cxfa_zpl.h",
+ "xfa_basic_data.h",
+ "xfa_basic_data_element_script.cpp",
+ "xfa_basic_data_enum.cpp",
+ "xfa_document_datamerger_imp.cpp",
+ "xfa_document_datamerger_imp.h",
+ "xfa_resolvenode_rs.h",
+ "xfa_utils.cpp",
+ "xfa_utils.h",
+ ]
+ deps = [
+ "../../../:fxcrt",
+ "../../../:fxjs",
+ "../../fde",
+ "../../fgas",
+ "../../fxfa",
+ ]
+ configs += [
+ "../../../:pdfium_core_config",
+ "../../:xfa_warnings",
+ ]
+ visibility = [ "../../../*" ]
+}
diff --git a/xfa/fxgraphics/BUILD.gn b/xfa/fxgraphics/BUILD.gn
new file mode 100644
index 0000000000..99087f69e5
--- /dev/null
+++ b/xfa/fxgraphics/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("fxgraphics") {
+ sources = [
+ "cxfa_gecolor.cpp",
+ "cxfa_gecolor.h",
+ "cxfa_gepath.cpp",
+ "cxfa_gepath.h",
+ "cxfa_gepattern.cpp",
+ "cxfa_gepattern.h",
+ "cxfa_geshading.cpp",
+ "cxfa_geshading.h",
+ "cxfa_graphics.cpp",
+ "cxfa_graphics.h",
+ ]
+ configs += [
+ "../../:pdfium_core_config",
+ "../:xfa_warnings",
+ ]
+ visibility = [ "../../*" ]
+}