diff options
-rw-r--r-- | Android.bp | 14 | ||||
-rw-r--r-- | cargo_embargo.json | 2 |
2 files changed, 14 insertions, 2 deletions
@@ -31,8 +31,9 @@ license { ], } -rust_library_host { +rust_library { name: "libx509_cert", + host_supported: true, crate_name: "x509_cert", cargo_env_compat: true, cargo_pkg_version: "0.2.4", @@ -43,6 +44,17 @@ rust_library_host { "libder", "libspki", ], + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], + product_available: true, + vendor_available: true, + visibility: [ + "//packages/modules/Virtualization:__subpackages__", + "//system/keymint:__subpackages__", + ], + } rust_library_rlib { diff --git a/cargo_embargo.json b/cargo_embargo.json index e6f2c7a..a36fc1f 100644 --- a/cargo_embargo.json +++ b/cargo_embargo.json @@ -9,7 +9,7 @@ { "package": { "x509-cert": { - "device_supported": false + "add_module_block": "cargo2android_viz.bp" } } }, |