|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| android_icu4c/ | H | 25-Apr-2025 | - | 74 | 46 |
| android_icu4j/ | H | 25-Apr-2025 | - | 1,725,501 | 1,501,161 |
| build/ | H | 25-Apr-2025 | - | 97 | 73 |
| icu4c/ | H | 25-Apr-2025 | - | 5,594,587 | 5,181,150 |
| icu4j/ | H | 25-Apr-2025 | - | 2,343,899 | 2,067,496 |
| libandroidicu/ | H | 25-Apr-2025 | - | 54,683 | 13,300 |
| libandroidicuinit/ | H | 25-Apr-2025 | - | 654 | 397 |
| libicu/ | H | 25-Apr-2025 | - | 226,379 | 70,925 |
| tools/ | H | 25-Apr-2025 | - | 32,891 | 22,243 |
| Android.bp | H A D | 25-Apr-2025 | 3.5 KiB | 114 | 107 |
| CleanSpec.mk | H A D | 25-Apr-2025 | 3 KiB | 64 | 4 |
| LICENSE | H A D | 25-Apr-2025 | 35.8 KiB | 718 | 622 |
| METADATA | H A D | 25-Apr-2025 | 323 | 18 | 16 |
| MODULE_LICENSE_BSD_LIKE | HD | 25-Apr-2025 | 0 | | |
| OWNERS | H A D | 25-Apr-2025 | 432 | 15 | 11 |
| PREUPLOAD.cfg | H A D | 25-Apr-2025 | 42 | 4 | 3 |
| README-ravenwood.md | H A D | 25-Apr-2025 | 1.2 KiB | 32 | 22 |
| README.android | H A D | 25-Apr-2025 | 1.3 KiB | 35 | 23 |
| README.version | H A D | 25-Apr-2025 | 74 | 4 | 3 |
| TEST_MAPPING | H A D | 25-Apr-2025 | 220 | 17 | 16 |
| icu.aconfig | H A D | 25-Apr-2025 | 1.2 KiB | 37 | 33 |
| icu_version_upgrade.md | H A D | 25-Apr-2025 | 13.7 KiB | 396 | 326 |
README-ravenwood.md
1# ICU on Ravenwood
2
3# What APIs are enabled
4As of 2024-06-19, Ravenwood uses the host side JVM, not ART, so it doesn't use `libcore` either.
5
6To support ICU on Ravenwood, we include the following jar files in the
7Ravenwood classpath.
8- `core-icu4j-for-host.ravenwood`
9- `icu4j-icudata-jarjar`
10- `icu4j-icutzdata-jarjar`
11
12`core-icu4j-for-host.ravenwood` is made from `core-icu4j-for-host.ravenwood`
13with `hoststubgen` to make the following modifications.
14- Enable `android.icu` APIs on Ravenwood.
15- But all other APIs -- i.e. all `libcore_bridge` APIS -- will throw at runtime.
16
17This "policy" is defined in android_icu4j/icu-ravenwood-policies.txt.
18
19As a result, on Ravenwood, all `android.icu` APIs will work, but none of the `libcore_bridge` APIs.
20
21# CTS
22
23ICU's CTS is `CtsIcuTestCases`, which contains the tests under
24android_icu4j/src/main/tests/, which are the tests from the upstream ICU, and
25android_icu4j/testing/, which are android specific tests, which depends
26on `libcore_bridge`.
27
28On Ravenwood, android_icu4j/src/main/tests/ will pass, but not android_icu4j/testing/.
29
30So we have `CtsIcuTestCasesRavenwood-core-only`, which only contains the
31tests from the upstream. You can run this with `atest CtsIcuTestCasesRavenwood-core-only`.
32
README.android
1This repo contains Android's copy of ICU4C and ICU4J and associated tools and code.
2
3Directories
4===========
5
6ICU4J
7-----
8
9icu4j/ - ICU4J with Google and Android-specific patches applied.
10 After patching this make sure to run the following to update
11 the repackaged version used in Android and CTS tests.
12 tools/srcgen/generate_android_icu4j.sh
13
14android_icu4j/ - This is the copy of ICU4J used in the Android platform.
15 IMPORTANT NOTE: Do not make changes to this code directly,
16 except where noted in android_icu4j/README.android. See
17 tools/README.android for how to generate it.
18
19ICU4C
20-----
21
22icu4c/ - ICU4C with Google and Android-specific patches applied.
23
24android_icu4c/ - Configuration code used when building ICU4C on Android.
25
26libandroidicu/ - The subset of ICU4C exposed to framework code and other
27 components outside of the mainline module that contains ICU.
28
29libandroidicuinit/ - A static library for ICU4C initialization. Used by
30 libandroidicu and libjavacore to initialize ICU4C.
31
32tools/ - Code / data maintenance tools. See tools/README.android.
33
34libicu/ - NDK headers and the shim implementation in the libicu.so.
35
README.version