Update Android.bp by running cargo_embargo
Test: ran cargo_embargo
Change-Id: I1a1c424bc93f45281514c74d3d0bdbe80126ff60
diff --git a/2.27.1/Android.bp b/2.27.1/Android.bp
index 1466182..df37fb7 100644
--- a/2.27.1/Android.bp
+++ b/2.27.1/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: "2.27.1",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2015",
rustlibs: ["libprotobuf_deprecated"],
}
@@ -35,7 +37,7 @@
crate_name: "protobuf_codegen",
cargo_env_compat: true,
cargo_pkg_version: "2.27.1",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -50,7 +52,7 @@
crate_name: "protoc_gen_rust",
cargo_env_compat: true,
cargo_pkg_version: "2.27.1",
- srcs: ["src/bin/protoc-gen-rust.rs"],
+ crate_root: "src/bin/protoc-gen-rust.rs",
edition: "2015",
rustlibs: [
"libprotobuf_codegen_deprecated",