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 | a6b5f20bcbed08dff64fa9d845fb856a59525a9e (patch) | |
tree | a2ef9a7a25ea28e50fb8cc953c9b0e76a56b8c90 | |
parent | 81a66df692b4917ba430f6e8508c8ab6b37ec326 (diff) | |
parent | b6fc6ffa09bada5e5f210d2b54055f9b0c65a73a (diff) | |
download | spki-a6b5f20bcbed08dff64fa9d845fb856a59525a9e.tar.gz |
Merge "Shift host-only to visibility restriction" into main
-rw-r--r-- | Android.bp | 17 | ||||
-rw-r--r-- | cargo_embargo.json | 2 |
2 files changed, 17 insertions, 2 deletions
@@ -31,8 +31,9 @@ license { ], } -rust_library_host { +rust_library { name: "libspki", + host_supported: true, crate_name: "spki", cargo_env_compat: true, cargo_pkg_version: "0.7.3", @@ -40,6 +41,20 @@ rust_library_host { edition: "2021", features: ["alloc"], rustlibs: ["libder"], + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], + product_available: true, + vendor_available: true, + visibility: [ + "//external/rust/crates/pkcs1:__subpackages__", + "//external/rust/crates/pkcs8:__subpackages__", + "//external/rust/crates/x509-cert:__subpackages__", + "//packages/modules/Virtualization:__subpackages__", + "//system/keymint:__subpackages__", + ], + } rust_library_rlib { diff --git a/cargo_embargo.json b/cargo_embargo.json index 4b2876a..8987119 100644 --- a/cargo_embargo.json +++ b/cargo_embargo.json @@ -11,7 +11,7 @@ { "package": { "spki": { - "device_supported": false + "add_module_block": "cargo2android_viz.bp" } } }, |