aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2023-03-07 17:23:29 -0800
committerMatthew Maurer <mmaurer@google.com>2023-03-07 17:23:29 -0800
commitee34eded1b1a2b18a7d3a3b4cb5f1034da9d36f1 (patch)
tree543441716e90d651a18c9a2ca72c0fd06a19c0b5
parent2a622be6b3b28eda0b906ccb6c1f626f107208b8 (diff)
downloadcast-ee34eded1b1a2b18a7d3a3b4cb5f1034da9d36f1.tar.gz
Make cast available to product and vendor
Bug: 270690570 Test: mma in external/rust/crates Change-Id: If6659c1076a5d4cb378d86715fed5a08f41ecb30
-rw-r--r--Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ad8f3c0..d272d39 100644
--- a/Android.bp
+++ b/Android.bp
@@ -39,6 +39,7 @@ license {
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_test {
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,
}