diff options
author | Paul Duffin <paulduffin@google.com> | 2021-04-20 08:39:54 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-04-20 08:54:21 +0100 |
commit | c45bd0eebc99f1eca727d5d9df4548669dcafa6a (patch) | |
tree | 1f12843d46fd508f1afbb6928bd2b30204c4c55b /android_icu4j | |
parent | a3cbe9d52830e5e839c3cf626ec33fe4c5f426d4 (diff) | |
download | icu-c45bd0eebc99f1eca727d5d9df4548669dcafa6a.tar.gz |
Add core-icu4j-for-host
For use by robolectric and ART.
Bug: 185789034
Test: m robolectric_android-all-device-deps i18n-module-test-exports
Change-Id: I3bd7122bdab07514db02139eb084315d8d8c0f59
Diffstat (limited to 'android_icu4j')
-rw-r--r-- | android_icu4j/Android.bp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/android_icu4j/Android.bp b/android_icu4j/Android.bp index aa7bb2fb8..d0fcd8efa 100644 --- a/android_icu4j/Android.bp +++ b/android_icu4j/Android.bp @@ -147,6 +147,21 @@ java_library { dxflags: ["--core-library"], } +// Java library for use on host, e.g. by robolectric. +java_library { + name: "core-icu4j-for-host", + visibility: [ + "//art/build", + "//external/robolectric-shadows", + "//packages/modules/RuntimeI18n/apex", + ], + static_libs: [ + "core-icu4j", + ], + sdk_version: "none", + system_modules: "none", +} + platform_compat_config { name: "icu4j-platform-compat-config", src: ":core-icu4j", |