aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Gaillard <jgaillard@google.com>2018-10-22 09:23:18 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-22 09:23:18 +0000
commit710596947a8c534b1ddaa86419367ada5071fc21 (patch)
tree982b6c48231d15762b655a62d359e6d14ed47e30
parentfbd77027524c39f6975465ed9a8b73840d6756e2 (diff)
parentd725ce1108f9991e4183d5cd84e36d43c177edbc (diff)
downloadharfbuzz_ng-710596947a8c534b1ddaa86419367ada5071fc21.tar.gz
Merge "Create a host target for libharfbuzz_ng"
-rw-r--r--Android.bp15
1 files changed, 14 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 24175022d..a205af817 100644
--- a/Android.bp
+++ b/Android.bp
@@ -53,6 +53,7 @@
//
cc_library_shared {
name: "libharfbuzz_ng",
+ host_supported: true,
arch: {
arm: {
instruction_set: "arm",
@@ -97,11 +98,23 @@ cc_library_shared {
"src/hb-icu.cc",
],
+ target: {
+ android: {
+ shared_libs: [
+ "libutils",
+ ],
+ },
+ host: {
+ static_libs: [
+ "libutils",
+ ],
+ },
+ },
+
shared_libs: [
"libcutils",
"libicuuc",
"libicui18n",
- "libutils",
"liblog",
],