aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2020-07-06 13:34:55 -0700
committerMatthew Maurer <mmaurer@google.com>2020-07-06 13:34:55 -0700
commit04f52bafb378c9ff04c70e2526a8ee33fe910d5f (patch)
treedc23af837f8d718ceef05792cdcf2f7e9fc9a2e5
parentf2f95748422b349a3f3ef4ea3b0b55faa4d4ea44 (diff)
downloadwhich-04f52bafb378c9ff04c70e2526a8ee33fe910d5f.tar.gz
Support building all variants.
Bug: 143217452 Test: cd external/rust; mma; atest in all TEST_MAPPING subdirs Change-Id: I35e772bbff2254b53efa423288a02a43535e427a
-rw-r--r--Android.bp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index fc7db87..2b88382 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,13 +1,14 @@
// This file is generated by cargo2android.py.
-rust_library_host_rlib {
+rust_library {
name: "libwhich",
crate_name: "which",
srcs: ["src/lib.rs"],
edition: "2015",
- rlibs: [
+ rustlibs: [
"liblibc",
],
+ host_supported: true,
}
// dependent_library ["feature_list"]