Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
Android.mk | 06-Dec-2017 | 672 | |
i18nutil.py | 06-Dec-2017 | 845 | |
icuutil.py | 06-Dec-2017 | 7.7K | |
README.android | 06-Dec-2017 | 1.2K | |
srcgen/ | 06-Dec-2017 | ||
updateicudata.py | 06-Dec-2017 | 588 |
1 This directory contains tools for ICU updates. 2 3 Data update tools 4 ================= 5 6 updateicudata.py 7 - regerates the ICU data files. 8 ICU and CTS tests for libcore should be run before and 9 after. 10 11 See $ANDROID_BUILD_TOP/system/timezone for tools related to time zone updates. 12 13 Source code updates 14 =================== 15 16 The source code in android_icu4j is generated from the code in icu4j. Do not change the code 17 in android_icu4j directly: instead you change the icu4j source or the rules used to generate 18 android_icu4j. 19 20 All changes made to icu4j should be accompanied by changes in android_icu4j and vice versa. 21 22 Applying patches to ICU4J 23 ------------------------- 24 25 After making changes to icu4j (e.g. after applying upstream patches): 26 27 source build/envsetup.sh 28 lunch 29 30 cd external/icu/tools/srcgen 31 ./generate_android_icu4j.sh 32 33 The code in android_icu4j will be regenerated and should contain the changes you made 34 in icu4j. Confirm the diffs are what you intended. Commit both at the same time. 35 36 Modifying the code gen 37 ---------------------- 38 39 android_icu4j is generated using a Java tool found in tools/srcgen. 40 41 The "rules" that transform the source are configured in 42 src/main/java/com/android/icu4j/srcgen/Icu4jTransform.java. 43 44