Commit 3cfe6f64cc6ceda11230e6ee7a35cadce68b6aa4

  • avatar
  • Eric Fischer <enf @goo…le.com>
  • Fri Jul 10 01:50:39 CEST 2009
Add a new "large" ICU configuration that includes several more languages.

It is a superset of the US-Euro configuration and adds the base locale
data for all the languages we have anything for so far except Japanese.
It's more than a megabyte bigger than the US-Euro file, unfortunately.
  
3939# Build configuration:
4040#
4141# Japanese wins if required.
42# "Large" includes most other languages.
4243# US-Euro is needed for IT or PL builds
4344# Default is suitable for CS, DE, EN, ES, FR, NL
4445# US has only EN and ES
4546
4647
4748config := $(word 1, \
49 $(if $(findstring ar,$(PRODUCT_LOCALES)),large) \
50 $(if $(findstring da,$(PRODUCT_LOCALES)),large) \
51 $(if $(findstring el,$(PRODUCT_LOCALES)),large) \
52 $(if $(findstring fi,$(PRODUCT_LOCALES)),large) \
53 $(if $(findstring he,$(PRODUCT_LOCALES)),large) \
54 $(if $(findstring hr,$(PRODUCT_LOCALES)),large) \
55 $(if $(findstring hu,$(PRODUCT_LOCALES)),large) \
56 $(if $(findstring id,$(PRODUCT_LOCALES)),large) \
57 $(if $(findstring ko,$(PRODUCT_LOCALES)),large) \
58 $(if $(findstring nb,$(PRODUCT_LOCALES)),large) \
59 $(if $(findstring pt,$(PRODUCT_LOCALES)),large) \
60 $(if $(findstring ro,$(PRODUCT_LOCALES)),large) \
61 $(if $(findstring ru,$(PRODUCT_LOCALES)),large) \
62 $(if $(findstring sk,$(PRODUCT_LOCALES)),large) \
63 $(if $(findstring sr,$(PRODUCT_LOCALES)),large) \
64 $(if $(findstring sv,$(PRODUCT_LOCALES)),large) \
65 $(if $(findstring th,$(PRODUCT_LOCALES)),large) \
66 $(if $(findstring tr,$(PRODUCT_LOCALES)),large) \
67 $(if $(findstring uk,$(PRODUCT_LOCALES)),large) \
68 $(if $(findstring zh,$(PRODUCT_LOCALES)),large) \
4869 $(if $(findstring ja,$(PRODUCT_LOCALES)),us-japan) \
4970 $(if $(findstring it,$(PRODUCT_LOCALES)),us-euro) \
5071 $(if $(findstring pl,$(PRODUCT_LOCALES)),us-euro) \
9797icu_data_file := $(LOCAL_PATH)/icudt38l-us-japan.dat
9898
9999asm_file := $(intermediates)/icu_data_jp.S
100LOCAL_GENERATED_SOURCES += $(asm_file)
101$(asm_file): PRIVATE_VAR_NAME := $(icu_var_name)
102$(asm_file): $(icu_data_file) $(ICUDATA)
103 @echo icudata: $@
104 $(hide) mkdir -p $(dir $@)
105 $(hide) $(ICUDATA) $(PRIVATE_VAR_NAME) < $< > $@
106
107LOCAL_CFLAGS += -D_REENTRANT -DPIC -fPIC
108LOCAL_CFLAGS += -O3 -nodefaultlibs -nostdlib
109
110include $(BUILD_SHARED_LIBRARY)
111
112###### Large
113
114include $(CLEAR_VARS)
115LOCAL_MODULE := libicudata-large
116LOCAL_MODULE_CLASS := SHARED_LIBRARIES
117LOCAL_PRELINK_MODULE := false
118
119ifeq ($(config),large)
120 LOCAL_MODULE_STEM := libicudata
121 LOCAL_MODULE_TAGS := user
122else
123 LOCAL_MODULE_TAGS := optional
124endif
125
126intermediates := $(call local-intermediates-dir)
127icu_data_file := $(LOCAL_PATH)/icudt38l-large.dat
128
129asm_file := $(intermediates)/icu_data_large.S
100130LOCAL_GENERATED_SOURCES += $(asm_file)
101131$(asm_file): PRIVATE_VAR_NAME := $(icu_var_name)
102132$(asm_file): $(icu_data_file) $(ICUDATA)
  
1brkitr/char.brk
2brkitr/en.res
3brkitr/en_US.res
4brkitr/en_US_POSIX.res
5brkitr/line.brk
6brkitr/res_index.res
7brkitr/root.res
8brkitr/sent.brk
9brkitr/title.brk
10brkitr/word.brk
11brkitr/word_POSIX.brk
12
13coll/cs.res
14coll/cs_CZ.res
15coll/de.res
16coll/de_.res
17coll/de_AT.res
18coll/de_BE.res
19coll/de_CH.res
20coll/de_DE.res
21coll/de_LU.res
22coll/de__PHONEBOOK.res
23coll/en.res
24coll/en_AU.res
25coll/en_BE.res
26coll/en_BW.res
27coll/en_CA.res
28coll/en_GB.res
29coll/en_HK.res
30coll/en_IE.res
31coll/en_IN.res
32coll/en_MT.res
33coll/en_NZ.res
34coll/en_PH.res
35coll/en_SG.res
36coll/en_US.res
37coll/en_US_POSIX.res
38coll/en_VI.res
39coll/en_ZA.res
40coll/en_ZW.res
41coll/es.res
42coll/es_US.res
43coll/fr.res
44coll/fr_FR.res
45coll/it.res
46coll/it_CH.res
47coll/it_IT.res
48coll/nl.res
49coll/nl_BE.res
50coll/nl_NL.res
51coll/pl.res
52coll/pl_PL.res
53coll/res_index.res
54coll/root.res
55
56rbnf/de.res
57rbnf/en.res
58rbnf/en_GB.res
59rbnf/es.res
60rbnf/fr.res
61rbnf/it.res
62rbnf/nl.res
63rbnf/pl.res
64rbnf/res_index.res
65rbnf/root.res
66
67ar.res
68cs.res
69cs_CZ.res
70da.res
71da_DK.res
72de.res
73de_AT.res
74de_BE.res
75de_CH.res
76de_DE.res
77de_LI.res
78de_LU.res
79el.res
80el_GR.res
81en.res
82en_AU.res
83en_BE.res
84en_BW.res
85en_BZ.res
86en_CA.res
87en_GB.res
88en_HK.res
89en_IE.res
90en_IN.res
91en_JM.res
92en_MH.res
93en_MT.res
94en_NA.res
95en_NZ.res
96en_PH.res
97en_PK.res
98en_SG.res
99en_TT.res
100en_US.res
101en_US_POSIX.res
102en_VI.res
103en_ZA.res
104en_ZW.res
105es.res
106es_ES.res
107es_US.res
108fi.res
109fr.res
110fr_BE.res
111fr_CA.res
112fr_CH.res
113fr_FR.res
114fr_LU.res
115fr_MC.res
116he.res
117hr.res
118hu.res
119id.res
120it.res
121it_CH.res
122it_IT.res
123ko.res
124ko_KR.res
125nb.res
126nb_NO.res
127nl.res
128nl_BE.res
129nl_NL.res
130pl.res
131pl_PL.res
132pt.res
133pt_BR.res
134pt_PT.res
135ro.res
136ru.res
137ru_RU.res
138sk.res
139sr.res
140sv.res
141sv_SE.res
142th.res
143tr.res
144tr_TR.res
145uk.res
146zh.res
147zh_CN.res
148zh_Hans.res
149zh_Hans_CN.res
150zh_Hant.res
151zh_Hant_TW.res
152zh_TW.res
153
154gsm-03.38-2000.cnv
155ibm-1089_P100-1995.cnv
156ibm-1383_P110-1999.cnv
157ibm-5012_P100-1999.cnv
158ibm-5346_P100-1998.cnv
159ibm-5347_P100-1998.cnv
160ibm-5348_P100-1997.cnv
161ibm-5349_P100-1998.cnv
162ibm-5350_P100-1998.cnv
163ibm-5354_P100-1998.cnv
164ibm-864_X110-1999.cnv
165ibm-878_P100-1996.cnv
166ibm-9005_X110-2007.cnv
167ibm-912_P100-1995.cnv
168ibm-913_P100-2000.cnv
169ibm-914_P100-1995.cnv
170ibm-915_P100-1995.cnv
171ibm-920_P100-1995.cnv
172ibm-921_P100-1995.cnv
173ibm-923_P100-1998.cnv
174ibm-943_P15A-2003.cnv
175ibm-9447_P100-2002.cnv
176ibm-9448_X100-2005.cnv
177ibm-9449_P100-2002.cnv
178ibm-954_P101-2007.cnv
179iso-8859_10-1998.cnv
180iso-8859_11-2001.cnv
181iso-8859_14-1998.cnv
182iso-8859_16-2001.cnv
183macos-0_2-10.2.cnv
184windows-874-2000.cnv
185windows-936-2000.cnv
186windows-949-2000.cnv
187windows-950-2000.cnv
188
189cnvalias.icu
190invuca.icu
191pnames.icu
192res_index.res
193root.res
194supplementalData.res
195ucadata.icu
196zoneinfo.res
  
1// Warning this file is automatically generated
2res_index:table(nofallback) {
3 InstalledLocales {
4 en {""}
5 en_US {""}
6 en_US_POSIX {""}
7 }
8}
  
1// Warning this file is automatically generated
2res_index:table(nofallback) {
3 InstalledLocales {
4 cs {""}
5 cs_CZ {""}
6
7 de {""}
8 de__PHONEBOOK {""}
9 de_AT {""}
10 de_BE {""}
11 de_CH {""}
12 de_DE {""}
13 de_LU {""}
14
15 en {""}
16 en_AU {""}
17 en_BE {""}
18 en_BW {""}
19 en_CA {""}
20 en_GB {""}
21 en_HK {""}
22 en_IE {""}
23 en_IN {""}
24 en_MT {""}
25 en_NZ {""}
26 en_PH {""}
27 en_SG {""}
28 en_US {""}
29 en_US_POSIX {""}
30 en_VI {""}
31 en_ZA {""}
32 en_ZW {""}
33
34 es {""}
35 es_ES {""}
36 es_US {""}
37
38 fr {""}
39 fr_BE {""}
40 fr_CA {""}
41 fr_CH {""}
42 fr_FR {""}
43 fr_LU {""}
44
45 it {""}
46 it_CH {""}
47 it_IT {""}
48
49 nl {""}
50 nl_BE {""}
51 nl_NL {""}
52
53 pl {""}
54 pl_PL {""}
55 }
56}
  
1// Warning this file is automatically generated
2res_index:table(nofallback) {
3 InstalledLocales {
4 de {""}
5
6 en {""}
7 en_GB {""}
8
9 es {""}
10
11 fr {""}
12 fr_BE {""}
13 fr_CH {""}
14
15 it {""}
16
17 nl {""}
18
19 pl {""}
20 }
21}
  
1// Warning this file is automatically generated
2res_index:table(nofallback) {
3 CLDRVersion { "1.5" }
4 InstalledLocales {
5 ar {""}
6 cs {""}
7 cs_CZ {""}
8
9 da {""}
10 da_DK {""}
11 de {""}
12 de_AT {""}
13 de_BE {""}
14 de_CH {""}
15 de_DE {""}
16 de_LI {""}
17 de_LU {""}
18
19 el {""}
20 el_GR {""}
21 en {""}
22 en_AU {""}
23 en_BE {""}
24 en_BW {""}
25 en_BZ {""}
26 en_CA {""}
27 en_GB {""}
28 en_HK {""}
29 en_IE {""}
30 en_IN {""}
31 en_JM {""}
32 en_MH {""}
33 en_MT {""}
34 en_NA {""}
35 en_NZ {""}
36 en_PH {""}
37 en_PK {""}
38 en_SG {""}
39 en_TT {""}
40 en_US {""}
41 en_US_POSIX {""}
42 en_VI {""}
43 en_ZA {""}
44 en_ZW {""}
45
46 es {""}
47 es_ES {""}
48 es_US {""}
49
50 fi {""}
51 fr {""}
52 fr_BE {""}
53 fr_CA {""}
54 fr_CH {""}
55 fr_FR {""}
56 fr_LU {""}
57
58 fr_MC {""}
59 he {""}
60 hr {""}
61 hu {""}
62 id {""}
63 it {""}
64 it_CH {""}
65 it_IT {""}
66
67 ko {""}
68 ko_KR {""}
69 nb {""}
70 nb_NO {""}
71 nl {""}
72 nl_BE {""}
73 nl_NL {""}
74
75 pl {""}
76 pl_PL {""}
77 pt {""}
78 pt_BR {""}
79 pt_PT {""}
80 ro {""}
81 ru {""}
82 ru_RU {""}
83 sk {""}
84 sr {""}
85 sv {""}
86 sv_SE {""}
87 th {""}
88 tr {""}
89 tr_TR {""}
90 uk {""}
91 zh {""}
92 zh_CN {""}
93 zh_TW {""}
94 }
95}
Binary files differ