Update Android.bp by running cargo_embargo
Test: ran cargo_embargo
Change-Id: I882ce316817911bb8f2a60f3fc0716b4335ff884
diff --git a/Android.bp b/Android.bp
index 059bef4..c812596 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_serde_cbor_license"],
@@ -43,7 +45,7 @@
crate_name: "serde_cbor",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
features: [
"default",
@@ -68,7 +70,7 @@
crate_name: "bennofs",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["tests/bennofs.rs"],
+ crate_root: "tests/bennofs.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -94,7 +96,7 @@
crate_name: "canonical",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["tests/canonical.rs"],
+ crate_root: "tests/canonical.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -120,7 +122,7 @@
crate_name: "de",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["tests/de.rs"],
+ crate_root: "tests/de.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -146,7 +148,7 @@
crate_name: "enum",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["tests/enum.rs"],
+ crate_root: "tests/enum.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -172,7 +174,7 @@
crate_name: "ser",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["tests/ser.rs"],
+ crate_root: "tests/ser.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -198,7 +200,7 @@
crate_name: "std_types",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["tests/std_types.rs"],
+ crate_root: "tests/std_types.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -224,7 +226,7 @@
crate_name: "tags",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["tests/tags.rs"],
+ crate_root: "tests/tags.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -250,7 +252,7 @@
crate_name: "value",
cargo_env_compat: true,
cargo_pkg_version: "0.11.2",
- srcs: ["tests/value.rs"],
+ crate_root: "tests/value.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {