summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-30 12:16:16 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-30 16:26:12 +0000
commit68eefa6a6f6bbab73000a29e2cac3e104be1cc81 (patch)
treeb48dbf0932022bc551ae06e2400262c203856942 /BUILD.gn
parentaa3a9cd82df9dff1ef136797259e606a39c18b75 (diff)
downloadpdfium-68eefa6a6f6bbab73000a29e2cac3e104be1cc81.tar.xz
Rebuild CFDE_TextEditEngine.
This CL rebuilds the text edit engine in a simpler fashion. Instead of depending on multiple pages, paragraphs and buffer fields there is a single text edit engine which contains a gap buffer. This makes the code easier to understand and follow. Change-Id: I10fe85603fa9ed15a647eaac2d931f113cd0c7b0 Reviewed-on: https://pdfium-review.googlesource.com/11990 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn16
1 files changed, 3 insertions, 13 deletions
diff --git a/BUILD.gn b/BUILD.gn
index e498e2f614..1a08382bf6 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1467,20 +1467,10 @@ if (pdf_enable_xfa) {
static_library("xfa") {
sources = [
+ "xfa/fde/cfde_texteditengine.cpp",
+ "xfa/fde/cfde_texteditengine.h",
"xfa/fde/cfde_textout.cpp",
"xfa/fde/cfde_textout.h",
- "xfa/fde/cfde_txtedtbuf.cpp",
- "xfa/fde/cfde_txtedtbuf.h",
- "xfa/fde/cfde_txtedtengine.cpp",
- "xfa/fde/cfde_txtedtengine.h",
- "xfa/fde/cfde_txtedtpage.cpp",
- "xfa/fde/cfde_txtedtpage.h",
- "xfa/fde/cfde_txtedtparag.cpp",
- "xfa/fde/cfde_txtedtparag.h",
- "xfa/fde/cfde_txtedttextset.cpp",
- "xfa/fde/cfde_txtedttextset.h",
- "xfa/fde/ifde_txtedtdorecord.h",
- "xfa/fde/ifde_txtedtpage.h",
"xfa/fgas/crt/cfgas_formatstring.cpp",
"xfa/fgas/crt/cfgas_formatstring.h",
"xfa/fgas/font/cfgas_fontmgr.cpp",
@@ -1956,7 +1946,7 @@ test("pdfium_unittests") {
"core/fxcrt/xml/cfx_xmlsyntaxparser_unittest.cpp",
"fxbarcode/oned/BC_OnedCode128Writer_unittest.cpp",
"fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
- "xfa/fde/cfde_txtedtbuf_unittest.cpp",
+ "xfa/fde/cfde_texteditengine_unittest.cpp",
"xfa/fgas/crt/cfgas_formatstring_unittest.cpp",
"xfa/fgas/layout/cfx_rtfbreak_unittest.cpp",
"xfa/fwl/cfx_barcode_unittest.cpp",