Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 77f8aa6a06e90fc4df8f4126f0bb96e2ee33f2bb..b6b2b64da52c30cd648c6d929c58a7aaa9105dfa 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -46,7 +46,7 @@ config("icu_code") { |
"HAVE_DLOPEN=0", |
# Only build encoding coverters and detectors necessary for HTML5. |
- "UCONFIG_NO_NON_HTML5_CONVERSION=1", |
+ "UCONFIG_ONLY_HTML_CONVERSION=1", |
# No dependency on the default platform encoding. |
# Will cut down the code size. |
@@ -108,7 +108,10 @@ config("icu_code") { |
} |
component("icui18n") { |
+ # find source/i18n -maxdepth 1 ! -type d | egrep '\.(c|cpp)$' |\ |
+ # sort | sed 's/^\(.*\)$/ "\1",/' |
sources = [ |
+ "source/i18n/affixpatternparser.cpp", |
"source/i18n/alphaindex.cpp", |
"source/i18n/anytrans.cpp", |
"source/i18n/astro.cpp", |
@@ -122,7 +125,6 @@ component("icui18n") { |
"source/i18n/chnsecal.cpp", |
"source/i18n/choicfmt.cpp", |
"source/i18n/coleitr.cpp", |
- "source/i18n/collationbasedatabuilder.cpp", |
"source/i18n/collationbuilder.cpp", |
"source/i18n/collationcompare.cpp", |
"source/i18n/collation.cpp", |
@@ -165,7 +167,13 @@ component("icui18n") { |
"source/i18n/decfmtst.cpp", |
"source/i18n/decimalformatpattern.cpp", |
"source/i18n/decimfmt.cpp", |
+ "source/i18n/decimfmtimpl.cpp", |
"source/i18n/decNumber.c", |
+ "source/i18n/digitaffix.cpp", |
+ "source/i18n/digitaffixesandpadding.cpp", |
+ "source/i18n/digitformatter.cpp", |
+ "source/i18n/digitgrouping.cpp", |
+ "source/i18n/digitinterval.cpp", |
"source/i18n/digitlst.cpp", |
"source/i18n/dtfmtsym.cpp", |
"source/i18n/dtitvfmt.cpp", |
@@ -174,7 +182,6 @@ component("icui18n") { |
"source/i18n/dtrule.cpp", |
"source/i18n/esctrn.cpp", |
"source/i18n/ethpccal.cpp", |
- "source/i18n/filteredbrk.cpp", |
"source/i18n/fmtable_cnv.cpp", |
"source/i18n/fmtable.cpp", |
"source/i18n/format.cpp", |
@@ -205,8 +212,10 @@ component("icui18n") { |
"source/i18n/numsys.cpp", |
"source/i18n/olsontz.cpp", |
"source/i18n/persncal.cpp", |
+ "source/i18n/pluralaffix.cpp", |
"source/i18n/plurfmt.cpp", |
"source/i18n/plurrule.cpp", |
+ "source/i18n/precision.cpp", |
"source/i18n/quant.cpp", |
"source/i18n/quantityformatter.cpp", |
"source/i18n/rbnf.cpp", |
@@ -227,15 +236,17 @@ component("icui18n") { |
"source/i18n/remtrans.cpp", |
"source/i18n/repattrn.cpp", |
"source/i18n/rulebasedcollator.cpp", |
- "source/i18n/scientificformathelper.cpp", |
+ "source/i18n/scientificnumberformatter.cpp", |
"source/i18n/scriptset.cpp", |
"source/i18n/search.cpp", |
"source/i18n/selfmt.cpp", |
"source/i18n/sharedbreakiterator.cpp", |
"source/i18n/simpletz.cpp", |
+ "source/i18n/smallintformatter.cpp", |
"source/i18n/smpdtfmt.cpp", |
"source/i18n/smpdtfst.cpp", |
"source/i18n/sortkey.cpp", |
+ "source/i18n/standardplural.cpp", |
"source/i18n/strmatch.cpp", |
"source/i18n/strrepl.cpp", |
"source/i18n/stsearch.cpp", |
@@ -267,6 +278,7 @@ component("icui18n") { |
"source/i18n/udat.cpp", |
"source/i18n/udateintervalformat.cpp", |
"source/i18n/udatpg.cpp", |
+ "source/i18n/ufieldpositer.cpp", |
"source/i18n/uitercollationiterator.cpp", |
"source/i18n/ulocdata.c", |
"source/i18n/umsg.cpp", |
@@ -288,6 +300,8 @@ component("icui18n") { |
"source/i18n/utf8collationiterator.cpp", |
"source/i18n/utmscale.c", |
"source/i18n/utrans.cpp", |
+ "source/i18n/valueformatter.cpp", |
+ "source/i18n/visibledigits.cpp", |
"source/i18n/vtzone.cpp", |
"source/i18n/vzone.cpp", |
"source/i18n/windtfmt.cpp", |
@@ -325,6 +339,8 @@ component("icui18n") { |
} |
component("icuuc") { |
+ # find source/common -maxdepth 1 ! -type d | egrep '\.(c|cpp)$' |\ |
+ # sort | sed 's/^\(.*\)$/ "\1",/' |
sources = [ |
"source/common/appendable.cpp", |
"source/common/bmpset.cpp", |
@@ -344,6 +360,7 @@ component("icuuc") { |
"source/common/dictionarydata.cpp", |
"source/common/dtintrv.cpp", |
"source/common/errorcode.cpp", |
+ "source/common/filteredbrk.cpp", |
"source/common/filterednormalizer2.cpp", |
"source/common/icudataver.c", |
"source/common/icuplug.cpp", |
@@ -363,6 +380,7 @@ component("icuuc") { |
"source/common/normlzr.cpp", |
"source/common/parsepos.cpp", |
"source/common/patternprops.cpp", |
+ "source/common/pluralmap.cpp", |
"source/common/propname.cpp", |
"source/common/propsvec.c", |
"source/common/punycode.cpp", |
@@ -377,6 +395,7 @@ component("icuuc") { |
"source/common/rbbitblb.cpp", |
"source/common/resbund_cnv.cpp", |
"source/common/resbund.cpp", |
+ "source/common/resource.cpp", |
"source/common/ruleiter.cpp", |
"source/common/schriter.cpp", |
"source/common/serv.cpp", |
@@ -442,6 +461,7 @@ component("icuuc") { |
"source/common/uinvchar.c", |
"source/common/uiter.cpp", |
"source/common/ulist.c", |
+ "source/common/ulistformatter.cpp", |
"source/common/uloc.cpp", |
"source/common/uloc_keytype.cpp", |
"source/common/uloc_tag.c", |
@@ -468,7 +488,8 @@ component("icuuc") { |
"source/common/uprops.cpp", |
"source/common/uresbund.cpp", |
"source/common/ures_cnv.c", |
- "source/common/uresdata.c", |
+ "source/common/uresdata.cpp", |
+ "source/common/uresource.cpp", |
"source/common/usc_impl.c", |
"source/common/uscript.c", |
"source/common/uscript_props.cpp", |