aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp22
1 files changed, 9 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index e892168..cd9e590 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --config cargo2android.json.
+// This file is generated by cargo_embargo.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -39,9 +39,7 @@ rust_library_host {
srcs: ["src/lib.rs"],
edition: "2021",
features: ["alloc"],
- rustlibs: [
- "libder",
- ],
+ rustlibs: ["libder"],
}
rust_library_rlib {
@@ -52,9 +50,7 @@ rust_library_rlib {
srcs: ["src/lib.rs"],
edition: "2021",
features: ["alloc"],
- rustlibs: [
- "libder_nostd",
- ],
+ rustlibs: ["libder_nostd"],
apex_available: [
"//apex_available:platform",
"com.android.virt",
@@ -69,10 +65,10 @@ rust_library_rlib {
product_available: true,
vendor_available: true,
visibility: [
- "//external/rust/crates/pkcs1:__subpackages__",
- "//external/rust/crates/pkcs8:__subpackages__",
- "//external/rust/crates/x509-cert:__subpackages__",
- "//system/keymint:__subpackages__",
- ]
- ,
+ "//external/rust/crates/pkcs1:__subpackages__",
+ "//external/rust/crates/pkcs8:__subpackages__",
+ "//external/rust/crates/x509-cert:__subpackages__",
+ "//system/keymint:__subpackages__",
+ ],
+
}