Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: icu52/README.chromium

Issue 247663002: Trim unit* sections in data/locales/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | icu52/scripts/trim_data.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name: icu 1 Name: icu
2 URL: http://site.icu-project.org/ 2 URL: http://site.icu-project.org/
3 Version: 52.1 3 Version: 52.1
4 License: MIT 4 License: MIT
5 Security Critical: yes 5 Security Critical: yes
6 6
7 Description: 7 Description:
8 This directory contains the source code of ICU 52.1 for C/C++ 8 This directory contains the source code of ICU 52.1 for C/C++
9 9
10 1. It was obtained with the following: 10 1. It was obtained with the following:
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 - patches/locale1.patch : 85 - patches/locale1.patch :
86 a. Exemplar character set changes for zh*, ja + 9 Indian locales 86 a. Exemplar character set changes for zh*, ja + 9 Indian locales
87 b. Minor fixes for Korean, a few Indic (AmPmMarkers) and 87 b. Minor fixes for Korean, a few Indic (AmPmMarkers) and
88 others (datetime format) 88 others (datetime format)
89 89
90 - Locale build configuration files: To include the full locale data 90 - Locale build configuration files: To include the full locale data
91 for Chrome's UI languages and the minimum locale data for other locales, 91 for Chrome's UI languages and the minimum locale data for other locales,
92 add reslocal.mk or {trns,sprep,rbnf,coll}local.mk files to 92 add reslocal.mk or {trns,sprep,rbnf,coll}local.mk files to
93 source/data/{coll,curr,lang.locale,curr,region,translit,zone,rbnf,sprep}. 93 source/data/{coll,curr,lang.locale,curr,region,translit,zone,rbnf,sprep}.
94 94
95 - Run scripts/trimdata.sh 95 This along with #8 (data.build.patch), #3 (brkiter) and #4 (converter)
96 cuts down the data size by ~ 11MB.
97
98 - Run scripts/trim_data.sh : About 2.1MB data size reduction.
96 a. Trim the locale data for Chrome's UI langauges : 99 a. Trim the locale data for Chrome's UI langauges :
97 locales, lang, region, currency 100 locales, lang, region, currency
98 b. Trim the locale data for non-UI languages to the bare minimum : 101 b. Trim the locale data for non-UI languages to the bare minimum :
99 ExemplarCharacters, LocaleScript, layout, and the name of the 102 ExemplarCharacters, LocaleScript, layout, and the name of the
100 language for a locale in its native language. 103 language for a locale in its native language.
101 c. Remove the legacy Chinese character set-based collation 104 c. Remove the legacy Chinese character set-based collation
102 (big5han/gb2312han) that don't make any sense and nobdoy uses. 105 (big5han/gb2312han) that don't make any sense and nobdoy uses.
103 106
104 - android/patch_locale.sh (to be run for Android build only): 107 - android/patch_locale.sh (to be run for Android build only):
105 Makes changes to source/data/{curr,region,lang} to exclude these data 108 Makes changes to source/data/{curr,region,lang} to exclude these data
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 android/brkitr.patch applied and android/patch_locale.sh executed. 196 android/brkitr.patch applied and android/patch_locale.sh executed.
194 '52' is dropped from the name generated in the build tree. 197 '52' is dropped from the name generated in the build tree.
195 198
196 - android/icudtl.dat : Generated as icudt52l.dat in 199 - android/icudtl.dat : Generated as icudt52l.dat in
197 {BUILD_DIR_ROOT}/data/out/tmp along with icudt52l_dat.S and 200 {BUILD_DIR_ROOT}/data/out/tmp along with icudt52l_dat.S and
198 copied to the above location with '52' dropped in its name. 201 copied to the above location with '52' dropped in its name.
199 202
200 203
201 10. Change export of U_ICUDATA_ENTRY_POINT from U_IMPORT to U_EXPORT. 204 10. Change export of U_ICUDATA_ENTRY_POINT from U_IMPORT to U_EXPORT.
202 - patches/declspec.patch 205 - patches/declspec.patch
OLDNEW
« no previous file with comments | « no previous file | icu52/scripts/trim_data.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698