diff options
author | vichang <vichang@google.com> | 2019-10-08 10:36:13 +0000 |
---|---|---|
committer | vichang <vichang@google.com> | 2019-10-08 10:36:13 +0000 |
commit | f52da6daa2355b3f9e11675d651fbc6999eb10ca (patch) | |
tree | 4c1f1b52aca577458466e1bde17efca93a0efae2 /NativeCode.bp | |
parent | 8f37b14adfdc977ad08184c152d69db9d759c1e0 (diff) |
Revert "Use stable ICU symbols (non-version-specific suffix) in libopenjdk"
This reverts commit 8f37b14adfdc977ad08184c152d69db9d759c1e0.
Reason for revert: ART benchmark is broken
Change-Id: I85212250356aaa1476eef40e80e57249cde423be
Diffstat (limited to 'NativeCode.bp')
-rw-r--r-- | NativeCode.bp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/NativeCode.bp b/NativeCode.bp index 50e716c68d..a27fa74821 100644 --- a/NativeCode.bp +++ b/NativeCode.bp @@ -128,6 +128,7 @@ cc_defaults { shared_libs: [ "libandroidio", "libcrypto", + "libicuuc", "libnativehelper", "libz", ], @@ -143,14 +144,14 @@ cc_defaults { ], }, android: { - shared_libs: [ - "libandroidicu", - "libdl_android", + cflags: [ + // -DANDROID_LINK_SHARED_ICU4C to enable access to the full ICU4C. + // See external/icu/android_icu4c/include/uconfig_local.h + // for more information. + "-DANDROID_LINK_SHARED_ICU4C", ], - }, - host: { shared_libs: [ - "libicuuc", + "libdl_android", ], }, }, |