aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 19:03:23 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 19:03:23 +0000
commit5537d48f4696ae46abc266d93ec76774ba09c901 (patch)
treed6ae2c9ffcc77091ecf58b5a08f63b251a79042d
parentc37ae7dfa49915315ba48e653147a6c32651abd0 (diff)
downloadprotobuf-parse-main.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: Ia076c7677b7878cf0d4aa8f7b6aed1c1f4e5cef1
-rw-r--r--Android.bp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index e7db97d..50dadaa 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: [
@@ -45,7 +47,7 @@ rust_library {
crate_name: "protobuf_parse",
cargo_env_compat: true,
cargo_pkg_version: "3.2.0",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
rustlibs: [
"libanyhow",
@@ -71,7 +73,7 @@ rust_binary {
crate_name: "parse_and_typecheck",
cargo_env_compat: true,
cargo_pkg_version: "3.2.0",
- srcs: ["src/bin/parse-and-typecheck.rs"],
+ crate_root: "src/bin/parse-and-typecheck.rs",
edition: "2021",
rustlibs: [
"libanyhow",