summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-08 13:23:24 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-08 17:37:54 +0000
commit9f0e85ac36826e39a242f8039c2b2c333ee99f4f (patch)
treec93f2a9322968f7723a4b3da5ea5e4cb7b79b075 /BUILD.gn
parent78fc9aa402409f3fcd8dc1f458e67798cb3b483e (diff)
downloadpdfium-9f0e85ac36826e39a242f8039c2b2c333ee99f4f.tar.xz
Move CSS code to core
The xfa/fde/css code has no other links into xfa/. This CL moves the css code to core/fxcrt/css and sets to only build when pdf_enable_xfa is enabled. Change-Id: Iefd208e1f83a28b80b567c574e841e87bce310be Reviewed-on: https://pdfium-review.googlesource.com/9251 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn88
1 files changed, 44 insertions, 44 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 59b116f3e6..7710a65885 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -884,6 +884,47 @@ static_library("fxcrt") {
"core/fxcrt/cfx_seekablestreamproxy.h",
"core/fxcrt/cfx_wordbreak.cpp",
"core/fxcrt/cfx_wordbreak.h",
+ "core/fxcrt/css/cfx_css.h",
+ "core/fxcrt/css/cfx_csscolorvalue.cpp",
+ "core/fxcrt/css/cfx_csscolorvalue.h",
+ "core/fxcrt/css/cfx_csscomputedstyle.cpp",
+ "core/fxcrt/css/cfx_csscomputedstyle.h",
+ "core/fxcrt/css/cfx_csscustomproperty.cpp",
+ "core/fxcrt/css/cfx_csscustomproperty.h",
+ "core/fxcrt/css/cfx_cssdatatable.cpp",
+ "core/fxcrt/css/cfx_cssdatatable.h",
+ "core/fxcrt/css/cfx_cssdeclaration.cpp",
+ "core/fxcrt/css/cfx_cssdeclaration.h",
+ "core/fxcrt/css/cfx_cssenumvalue.cpp",
+ "core/fxcrt/css/cfx_cssenumvalue.h",
+ "core/fxcrt/css/cfx_cssexttextbuf.cpp",
+ "core/fxcrt/css/cfx_cssexttextbuf.h",
+ "core/fxcrt/css/cfx_cssnumbervalue.cpp",
+ "core/fxcrt/css/cfx_cssnumbervalue.h",
+ "core/fxcrt/css/cfx_csspropertyholder.cpp",
+ "core/fxcrt/css/cfx_csspropertyholder.h",
+ "core/fxcrt/css/cfx_cssrulecollection.cpp",
+ "core/fxcrt/css/cfx_cssrulecollection.h",
+ "core/fxcrt/css/cfx_cssselector.cpp",
+ "core/fxcrt/css/cfx_cssselector.h",
+ "core/fxcrt/css/cfx_cssstringvalue.cpp",
+ "core/fxcrt/css/cfx_cssstringvalue.h",
+ "core/fxcrt/css/cfx_cssstylerule.cpp",
+ "core/fxcrt/css/cfx_cssstylerule.h",
+ "core/fxcrt/css/cfx_cssstyleselector.cpp",
+ "core/fxcrt/css/cfx_cssstyleselector.h",
+ "core/fxcrt/css/cfx_cssstylesheet.cpp",
+ "core/fxcrt/css/cfx_cssstylesheet.h",
+ "core/fxcrt/css/cfx_csssyntaxparser.cpp",
+ "core/fxcrt/css/cfx_csssyntaxparser.h",
+ "core/fxcrt/css/cfx_csstextbuf.cpp",
+ "core/fxcrt/css/cfx_csstextbuf.h",
+ "core/fxcrt/css/cfx_cssvalue.cpp",
+ "core/fxcrt/css/cfx_cssvalue.h",
+ "core/fxcrt/css/cfx_cssvaluelist.cpp",
+ "core/fxcrt/css/cfx_cssvaluelist.h",
+ "core/fxcrt/css/cfx_cssvaluelistparser.cpp",
+ "core/fxcrt/css/cfx_cssvaluelistparser.h",
"core/fxcrt/fx_arabic.cpp",
"core/fxcrt/fx_arabic.h",
"core/fxcrt/ifx_chariter.h",
@@ -1435,47 +1476,6 @@ if (pdf_enable_xfa) {
"xfa/fde/cfde_txtedttextset.h",
"xfa/fde/cfde_visualsetiterator.cpp",
"xfa/fde/cfde_visualsetiterator.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.cpp",
- "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_cssexttextbuf.cpp",
- "xfa/fde/css/cfde_cssexttextbuf.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_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_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",
- "xfa/fde/css/cfde_cssvaluelist.h",
- "xfa/fde/css/cfde_cssvaluelistparser.cpp",
- "xfa/fde/css/cfde_cssvaluelistparser.h",
- "xfa/fde/css/fde_css.h",
- "xfa/fde/css/fde_cssdatatable.cpp",
- "xfa/fde/css/fde_cssdatatable.h",
"xfa/fde/ifde_txtedtdorecord.h",
"xfa/fde/ifde_txtedtengine.h",
"xfa/fde/ifde_txtedtpage.h",
@@ -1946,14 +1946,14 @@ test("pdfium_unittests") {
include_dirs = []
if (pdf_enable_xfa) {
sources += [
+ "core/fxcrt/css/cfx_cssdeclaration_unittest.cpp",
+ "core/fxcrt/css/cfx_cssstylesheet_unittest.cpp",
+ "core/fxcrt/css/cfx_cssvaluelistparser_unittest.cpp",
"core/fxcrt/xml/cfx_saxreader_unittest.cpp",
"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/css/cfde_cssdeclaration_unittest.cpp",
- "xfa/fde/css/cfde_cssstylesheet_unittest.cpp",
- "xfa/fde/css/cfde_cssvaluelistparser_unittest.cpp",
"xfa/fgas/crt/cfgas_formatstring_unittest.cpp",
"xfa/fgas/layout/cfx_rtfbreak_unittest.cpp",
"xfa/fwl/cfx_barcode_unittest.cpp",