Support building all variants.
Bug: 143217452
Test: cd external/rust; mma; atest in all TEST_MAPPING subdirs
Change-Id: Ic8427a93f0dfcffab08b66fe71466e14b97b1215
diff --git a/Android.bp b/Android.bp
index 8d0a51d..1db6c51 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,6 +1,6 @@
// This file is generated by cargo2android.py --run --features=runtime,clang_9_0 --dependencies.
-rust_library_host_rlib {
+rust_library_host {
name: "libclang_sys",
crate_name: "clang_sys",
srcs: ["src/lib.rs"],
@@ -20,7 +20,7 @@
"libloading",
"runtime",
],
- rlibs: [
+ rustlibs: [
"libglob",
"liblibc",
"liblibloading",