diff options
author | David Drysdale <drysdale@google.com> | 2024-02-29 09:12:12 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-29 09:12:12 +0000 |
commit | 9fc6f4b16fecdee416089f83b205f64dfe3805c0 (patch) | |
tree | 0db16b037f34fb8efea7f3538a92a1925b9c002a | |
parent | 9b342833239cb808c26a3d74b8fc2e9d9c8105ea (diff) | |
parent | da7840e08343e67e2134363c99d555bdabd0faaa (diff) | |
download | const-oid-9fc6f4b16fecdee416089f83b205f64dfe3805c0.tar.gz |
Merge "Shift host-only to visibility restriction" into main
-rw-r--r-- | Android.bp | 15 | ||||
-rw-r--r-- | cargo_embargo.json | 2 |
2 files changed, 15 insertions, 2 deletions
@@ -31,14 +31,27 @@ license { ], } -rust_library_host { +rust_library { name: "libconst_oid", + host_supported: true, crate_name: "const_oid", cargo_env_compat: true, cargo_pkg_version: "0.9.6", srcs: ["src/lib.rs"], edition: "2021", features: ["db"], + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], + product_available: true, + vendor_available: true, + visibility: [ + "//external/rust/crates/der:__subpackages__", + "//external/rust/crates/x509-cert:__subpackages__", + "//packages/modules/Virtualization:__subpackages__", + ], + } rust_library_rlib { diff --git a/cargo_embargo.json b/cargo_embargo.json index 30a0361..59bf7c7 100644 --- a/cargo_embargo.json +++ b/cargo_embargo.json @@ -11,7 +11,7 @@ { "package": { "const-oid": { - "device_supported": false + "add_module_block": "cargo2android_viz.bp" } } }, |