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

Side by Side Diff: README.chromium

Issue 2743123002: ICU data customization for iOS (Closed)
Patch Set: update BUILD.gn and icudtl.dat for iOS Created 3 years, 7 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
« no previous file with comments | « BUILD.gn ('k') | ios/icudtl.dat » ('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: 58.1 3 Version: 58.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 58.1 for C/C++. 8 This directory contains the source code of ICU 58.1 for C/C++.
9 9
10 A. How to update ICU 10 A. How to update ICU
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 The full locale data for Chrome's UI languages and their select variants 48 The full locale data for Chrome's UI languages and their select variants
49 and the bare minimum locale data for other locales will be kept. 49 and the bare minimum locale data for other locales will be kept.
50 50
51 e. Run 51 e. Run
52 ${CHROME_ICU_TREE_TOP}/scripts/make_data.sh 52 ${CHROME_ICU_TREE_TOP}/scripts/make_data.sh
53 53
54 This makes icudt${version}l.dat. 54 This makes icudt${version}l.dat.
55 55
56 f. Run 56 f. Run
57 ${CHROME_ICU_TREE_TOP}/scripts/copy_data.sh 57 ${CHROME_ICU_TREE_TOP}/scripts/copy_data.sh common
58 58
59 This copies the ICU data files for non-Android platforms 59 This copies the ICU data files for non-Android platforms
60 (both Little and Big Endian) to the following locations: 60 (both Little and Big Endian) to the following locations:
61 61
62 common/icudtl.dat 62 common/icudtl.dat
63 common/icudtb.dat 63 common/icudtb.dat
64 64
65 g. Run 65 g. Run
66 ${CHROME_ICU_TREE_TOP}/android/patch_locale.sh 66 ${CHROME_ICU_TREE_TOP}/android/patch_locale.sh
67 67
68 On top of trim_data.sh (step d), further cuts the data entries for Android. 68 On top of trim_data.sh (step d), further cuts the data entries for Android.
69 69
70 h. Run 70 h. Run
71 ${CHROME_ICU_TREE_TOP}/scripts/make_data.sh 71 ${CHROME_ICU_TREE_TOP}/scripts/make_data.sh
72 72
73 This makes icudt${version}l.dat for Android. 73 This makes icudt${version}l.dat for Android.
74 74
75 i. Run 75 i. Run
76 ${CHROME_ICU_TREE_TOP}/scripts/copy_data_android.sh 76 ${CHROME_ICU_TREE_TOP}/scripts/copy_data.sh android
77 77
78 This copies the icu data file for Android to the following location: 78 This copies the icu data file for Android to the following location:
79 79
80 android/icudtl.dat 80 android/icudtl.dat
81 81
82 j. Run 82 j. Run
83 ${CHROME_ICU_TREE_TOP}/ios/patch_locale.sh
84
85 Further cuts the data size for iOS.
86
87 k. Run
88 ${CHROME_ICU_TREE_TOP}/scripts/make_data.sh
89
90 This makes icudt${version}l.dat for iOS.
91
92 l. Run
93 ${CHROME_ICU_TREE_TOP}/scripts/copy_data.sh ios
94
95 m. Run
83 ${CHROME_ICU_TREE_TOP}/scripts/clean_up_data_source.sh 96 ${CHROME_ICU_TREE_TOP}/scripts/clean_up_data_source.sh
84 97
85 This reverts the result of trim_data.sh and patch_locale.sh and 98 This reverts the result of trim_data.sh and patch_locale.sh and
86 make the tree ready for committing updated ICU data files for 99 make the tree ready for committing updated ICU data files for
87 non-Android and Android platforms. 100 non-Android and Android platforms.
88 101
89 k. Whenever data is updated (e.g timezone update), follow d ~ j as long 102 n. Whenever data is updated (e.g timezone update), follow d ~ m as long
90 as the ICU build directory used in a ~ c is kept. Besides, icudt.dll for 103 as the ICU build directory used in a ~ c is kept. Besides, icudt.dll for
91 Windows has to be udpated following the procedure described below. 104 Windows has to be udpated following the procedure described below.
92 105
93 106
94 2. icu data dll for Windows (non-default build option) 107 2. icu data dll for Windows (non-default build option)
95 108
96 Follow these steps to build windows/icudt.dll. By default, we set 109 Follow these steps to build windows/icudt.dll. By default, we set
97 icu_use_icu_data_flag to 1 and don't use this file. 110 icu_use_icu_data_flag to 1 and don't use this file.
98 111
99 a. check out a clean copy of icu58 from the upstream on Windows 112 a. check out a clean copy of icu58 from the upstream on Windows
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 upstream bugs: 277 upstream bugs:
265 http://www.icu-project.org/trac/ticket/12825 (scriptset) 278 http://www.icu-project.org/trac/ticket/12825 (scriptset)
266 http://www.icu-project.org/trac/ticket/12815 (uspoof) 279 http://www.icu-project.org/trac/ticket/12815 (uspoof)
267 http://www.icu-project.org/trac/ticket/12822 (without std::string on Win) 280 http://www.icu-project.org/trac/ticket/12822 (without std::string on Win)
268 http://www.icu-project.org/trac/ticket/12832 (greek_upper) 281 http://www.icu-project.org/trac/ticket/12832 (greek_upper)
269 282
270 - patches/scriptset.patch 283 - patches/scriptset.patch
271 - patches/uspoof.patch 284 - patches/uspoof.patch
272 - patches/digilist.patch 285 - patches/digilist.patch
273 - patches/greek_upper.patch 286 - patches/greek_upper.patch
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | ios/icudtl.dat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698