Update Android.bp by running cargo_embargo am: 423f67044d am: 1e3775f11b
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/zeroize/+/3096371
Change-Id: I1be1b4bd100cc2fe3d13cd9b0123d4c18172d08a
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
index 012039d..8bc9c3b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,7 @@
// This file is generated by cargo_embargo.
-// Do not modify this file as changes will be overridden on upgrade.
+// Do not modify this file after the first "rust_*" or "genrule" module
+// because the changes will be overridden on upgrade.
+// Content before the first "rust_*" or "genrule" module is preserved.
package {
default_applicable_licenses: ["external_rust_crates_zeroize_license"],
@@ -37,7 +39,7 @@
crate_name: "zeroize",
cargo_env_compat: true,
cargo_pkg_version: "1.6.0",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: [
"alloc",
@@ -59,7 +61,7 @@
crate_name: "zeroize",
cargo_env_compat: true,
cargo_pkg_version: "1.6.0",
- srcs: ["tests/zeroize.rs"],
+ crate_root: "tests/zeroize.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -80,7 +82,7 @@
crate_name: "zeroize_derive",
cargo_env_compat: true,
cargo_pkg_version: "1.6.0",
- srcs: ["tests/zeroize_derive.rs"],
+ crate_root: "tests/zeroize_derive.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -100,7 +102,7 @@
crate_name: "zeroize",
cargo_env_compat: true,
cargo_pkg_version: "1.6.0",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: [
"alloc",