Make cast available to product and vendor
Bug: 270690570
Test: mma in external/rust/crates
Change-Id: If6659c1076a5d4cb378d86715fed5a08f41ecb30
diff --git a/Android.bp b/Android.bp
index ad8f3c0..d272d39 100644
--- a/Android.bp
+++ b/Android.bp
@@ -39,6 +39,7 @@
rust_test {
name: "cast_test_src_lib",
+ // has rustc warnings
host_supported: true,
crate_name: "cast",
cargo_env_compat: true,
@@ -57,10 +58,17 @@
rust_library {
name: "libcast",
+ // has rustc warnings
host_supported: true,
crate_name: "cast",
cargo_env_compat: true,
cargo_pkg_version: "0.3.0",
srcs: ["src/lib.rs"],
edition: "2018",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ product_available: true,
+ vendor_available: true,
}