summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Chang <vichang@google.com>2018-11-20 19:23:35 +0000
committerVictor Chang <vichang@google.com>2019-01-04 17:56:55 +0000
commit57caede3b8ab913890639390dbc3ee9af6c1726f (patch)
tree8c2655eaf4353de5a41310a0051ac37706a46986
parent655aede6d8b601596d93c19e020170c685507123 (diff)
Use ICU in libandroidicu
libicuuc and libicui18n are moved into APEX, but they have no stable ABI due to the version suffix. Use libandroidicu which provides stable symbol. See http://go/apex-stable-icu4c-interface for the design. Bug: 117094880 Test: m checkbuild Change-Id: Iab88307452d9467ddebc0d4dfc5a4799ff54324f
-rw-r--r--android/Android.bp5
-rw-r--r--dist/Android.bp11
2 files changed, 6 insertions, 10 deletions
diff --git a/android/Android.bp b/android/Android.bp
index 9173a03..849ce70 100644
--- a/android/Android.bp
+++ b/android/Android.bp
@@ -17,13 +17,12 @@ cc_library_static {
include_dirs: ["external/sqlite/dist"],
shared_libs: [
"liblog",
- "libicuuc",
- "libicui18n",
+ "libandroidicu",
],
target: {
vendor: {
cflags: ["-USQLITE_ENABLE_ICU"],
- exclude_shared_libs: ["libicuuc", "libicui18n"],
+ exclude_shared_libs: ["libandroidicu"],
},
},
export_include_dirs: ["."],
diff --git a/dist/Android.bp b/dist/Android.bp
index 12cac62..dfd29d9 100644
--- a/dist/Android.bp
+++ b/dist/Android.bp
@@ -80,8 +80,7 @@ cc_library {
"libdl",
"liblog",
"libutils",
- "libicuuc",
- "libicui18n",
+ "libandroidicu",
],
cflags: ["-DSQLITE_ENABLE_ICU"],
@@ -96,8 +95,7 @@ cc_library {
},
not_windows: {
shared_libs: [
- "libicuuc",
- "libicui18n",
+ "libandroidicu",
],
// include android specific methods
@@ -108,7 +106,7 @@ cc_library {
},
vendor: {
cflags: ["-USQLITE_ENABLE_ICU"],
- exclude_shared_libs: ["libicuuc", "libicui18n"],
+ exclude_shared_libs: ["libandroidicu"],
},
},
@@ -131,8 +129,7 @@ cc_binary {
android: {
shared_libs: [
"libsqlite",
- "libicuuc",
- "libicui18n",
+ "libandroidicu",
"liblog",
"libutils",
],