aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2020-07-06 13:34:49 -0700
committerMatthew Maurer <mmaurer@google.com>2020-07-06 13:34:49 -0700
commit5b9e940f7329003cc4f114af376ca6669936dc26 (patch)
tree654cfc645fd75f18bed398b42212f7db8240dcd5 /Android.bp
parent75ec7601c79e594edd0a4ccc03bf95bff579df4b (diff)
downloadunicode-width-5b9e940f7329003cc4f114af376ca6669936dc26.tar.gz
Support building all variants.
Bug: 143217452 Test: cd external/rust; mma; atest in all TEST_MAPPING subdirs Change-Id: I675ad5a4215baaffc99d4b4a1b5072c470b107c4
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 1d122ff..7dac96d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,9 @@
// This file is generated by cargo2android.py --run --dependencies.
-rust_library_host_rlib {
+rust_library {
name: "libunicode_width",
crate_name: "unicode_width",
+ host_supported: true,
srcs: ["src/lib.rs"],
edition: "2015",
features: [