aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2019-06-25 02:14:13 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-06-25 02:14:13 -0700
commit8728e95771fcaacc67163c8aa1355d774d594fd6 (patch)
tree14b6f418ae2df3e5d3318e6f8ce5b9a0e9a1e50c
parente040d79711a7aabe472b9be796d57d4ef9006a19 (diff)
parent32fec772f97167e92b52756b27037a97f72b3b99 (diff)
downloadlibxml2-ndk-sysroot-r21.tar.gz
Merge "Switch host variant to using ICU direct" am: 18663755e0ndk-sysroot-r21
am: 32fec772f9 Change-Id: If493fee0f4d2047ad14dedfec4a1323e6181f1e6
-rw-r--r--Android.bp27
1 files changed, 17 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index db084f62..708549f9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -106,10 +106,6 @@ cc_defaults {
"-DSTATIC_LIBXML=1",
],
},
- shared: {
- shared_libs: ["libandroidicu"],
- export_shared_lib_headers: ["libandroidicu"],
- },
}
cc_library {
@@ -121,12 +117,23 @@ cc_library {
},
host_supported: true,
target: {
- vendor: {
- exclude_shared_libs: ["libandroidicu"],
- },
- host: {
- shared_libs: ["libandroidicu"],
- },
+ android: {
+ shared_libs: ["libandroidicu"],
+ export_shared_lib_headers: ["libandroidicu"],
+ },
+ host: {
+ shared_libs: [
+ "libicui18n",
+ "libicuuc",
+ ],
+ export_shared_lib_headers: [
+ "libicui18n",
+ "libicuuc",
+ ],
+ },
+ vendor: {
+ exclude_shared_libs: ["libandroidicu"],
+ },
},
}