Update Android.bp by running cargo_embargo
Test: ran cargo_embargo
Change-Id: I0862056de722d943683e189cc8b6d5adfcfaff2e
diff --git a/Android.bp b/Android.bp
index 57c9584..4dfe415 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: [
@@ -25,7 +27,7 @@
crate_name: "protobuf_codegen",
cargo_env_compat: true,
cargo_pkg_version: "3.2.0",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
rustlibs: [
"libanyhow",
@@ -43,7 +45,7 @@
crate_name: "protobuf_codegen",
cargo_env_compat: true,
cargo_pkg_version: "3.2.0",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -66,7 +68,7 @@
crate_name: "protoc_gen_rust",
cargo_env_compat: true,
cargo_pkg_version: "3.2.0",
- srcs: ["src/bin/protoc-gen-rust.rs"],
+ crate_root: "src/bin/protoc-gen-rust.rs",
edition: "2021",
rustlibs: [
"libanyhow",