summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-19 10:27:58 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-19 15:49:07 +0000
commit95bec8046a28928df627ce4d48eee8b209b3e36e (patch)
tree46913cf24aacfc88a89bb55edcce8e3a2e724c4b /BUILD.gn
parentdd533baad22f5143c093b98e98463a0dc62899ea (diff)
downloadpdfium-95bec8046a28928df627ce4d48eee8b209b3e36e.tar.xz
Split fde/css files into individual class files.
This CL splits the files in xfa/fde/css into class per file and renames any needed files to match the class names. Update some of the classes to use std::stack. Change-Id: I4eca0fb3556d949a15a873bb0f0fd732f47e4fb1 Reviewed-on: https://pdfium-review.googlesource.com/2253 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn40
1 files changed, 29 insertions, 11 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 7f1a5f8df5..12c0f603d7 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1143,17 +1143,45 @@ if (pdf_enable_xfa) {
"xfa/fde/cfx_chariter.h",
"xfa/fde/cfx_wordbreak.cpp",
"xfa/fde/cfx_wordbreak.h",
+ "xfa/fde/css/cfde_cssaccelerator.cpp",
+ "xfa/fde/css/cfde_cssaccelerator.h",
"xfa/fde/css/cfde_csscolorvalue.cpp",
"xfa/fde/css/cfde_csscolorvalue.h",
+ "xfa/fde/css/cfde_csscomputedstyle.cpp",
+ "xfa/fde/css/cfde_csscomputedstyle.h",
+ "xfa/fde/css/cfde_csscustomproperty.h",
+ "xfa/fde/css/cfde_cssdeclaration.cpp",
+ "xfa/fde/css/cfde_cssdeclaration.h",
"xfa/fde/css/cfde_cssenumvalue.cpp",
"xfa/fde/css/cfde_cssenumvalue.h",
+ "xfa/fde/css/cfde_cssfontfacerule.cpp",
+ "xfa/fde/css/cfde_cssfontfacerule.h",
+ "xfa/fde/css/cfde_cssmediarule.cpp",
+ "xfa/fde/css/cfde_cssmediarule.h",
"xfa/fde/css/cfde_cssnumbervalue.cpp",
"xfa/fde/css/cfde_cssnumbervalue.h",
+ "xfa/fde/css/cfde_csspropertyholder.cpp",
+ "xfa/fde/css/cfde_csspropertyholder.h",
"xfa/fde/css/cfde_cssrule.cpp",
"xfa/fde/css/cfde_cssrule.h",
"xfa/fde/css/cfde_cssrulecollection.cpp",
+ "xfa/fde/css/cfde_cssrulecollection.h",
+ "xfa/fde/css/cfde_cssselector.cpp",
+ "xfa/fde/css/cfde_cssselector.h",
"xfa/fde/css/cfde_cssstringvalue.cpp",
"xfa/fde/css/cfde_cssstringvalue.h",
+ "xfa/fde/css/cfde_cssstylerule.cpp",
+ "xfa/fde/css/cfde_cssstylerule.h",
+ "xfa/fde/css/cfde_cssstyleselector.cpp",
+ "xfa/fde/css/cfde_cssstyleselector.h",
+ "xfa/fde/css/cfde_cssstylesheet.cpp",
+ "xfa/fde/css/cfde_cssstylesheet.h",
+ "xfa/fde/css/cfde_csssyntaxparser.cpp",
+ "xfa/fde/css/cfde_csssyntaxparser.h",
+ "xfa/fde/css/cfde_csstagcache.cpp",
+ "xfa/fde/css/cfde_csstagcache.h",
+ "xfa/fde/css/cfde_csstextbuf.cpp",
+ "xfa/fde/css/cfde_csstextbuf.h",
"xfa/fde/css/cfde_cssvalue.cpp",
"xfa/fde/css/cfde_cssvalue.h",
"xfa/fde/css/cfde_cssvaluelist.cpp",
@@ -1161,18 +1189,8 @@ if (pdf_enable_xfa) {
"xfa/fde/css/cfde_cssvaluelistparser.cpp",
"xfa/fde/css/cfde_cssvaluelistparser.h",
"xfa/fde/css/fde_css.h",
- "xfa/fde/css/fde_csscache.cpp",
- "xfa/fde/css/fde_csscache.h",
"xfa/fde/css/fde_cssdatatable.cpp",
"xfa/fde/css/fde_cssdatatable.h",
- "xfa/fde/css/fde_cssdeclaration.cpp",
- "xfa/fde/css/fde_cssdeclaration.h",
- "xfa/fde/css/fde_cssstyleselector.cpp",
- "xfa/fde/css/fde_cssstyleselector.h",
- "xfa/fde/css/fde_cssstylesheet.cpp",
- "xfa/fde/css/fde_cssstylesheet.h",
- "xfa/fde/css/fde_csssyntax.cpp",
- "xfa/fde/css/fde_csssyntax.h",
"xfa/fde/fde_gedevice.cpp",
"xfa/fde/fde_iterator.cpp",
"xfa/fde/fde_iterator.h",
@@ -1769,8 +1787,8 @@ test("pdfium_unittests") {
if (pdf_enable_xfa) {
sources += [
"xfa/fde/cfde_txtedtbuf_unittest.cpp",
+ "xfa/fde/css/cfde_cssdeclaration_unittest.cpp",
"xfa/fde/css/cfde_cssstylesheet_unittest.cpp",
- "xfa/fde/css/fde_cssdatatable_unittest.cpp",
"xfa/fde/xml/fde_xml_imp_unittest.cpp",
"xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
"xfa/fxfa/app/cxfa_textparser_unittest.cpp",