diff options
author | Matthew Maurer <mmaurer@google.com> | 2023-03-07 17:24:35 -0800 |
---|---|---|
committer | Matthew Maurer <mmaurer@google.com> | 2023-03-07 17:24:35 -0800 |
commit | 9dc431f28f32a449c06a3e4d6d230eb2b7dfa6ab (patch) | |
tree | 88a1afdae3a6d293bbdba8d3d33a559e427084e6 /Android.bp | |
parent | 665dfe79c942bf54752ed4a87fe17dcb9029c40f (diff) | |
download | protobuf-9dc431f28f32a449c06a3e4d6d230eb2b7dfa6ab.tar.gz |
Make protobuf available to product and vendor
Bug: 270690570
Test: mma in external/rust/crates
Change-Id: I96023e29cabae8dc31d1deba8ee1cd4490942e57
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -27,6 +27,7 @@ genrule { rust_library { name: "libprotobuf", + // has rustc warnings host_supported: true, crate_name: "protobuf", cargo_env_compat: true, @@ -46,11 +47,14 @@ rust_library { "com.android.compos", "com.android.virt", ], + product_available: true, + vendor_available: true, min_sdk_version: "29", } rust_library_host { name: "libprotobuf_with_serde", + // has rustc warnings crate_name: "protobuf", cargo_env_compat: true, cargo_pkg_version: "2.27.1", @@ -68,4 +72,6 @@ rust_library_host { "libserde", ], proc_macros: ["libserde_derive"], + product_available: true, + vendor_available: true, } |