aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 18:55:46 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 18:55:46 +0000
commit230522dee7565640d9a0f076462ec8eac618c504 (patch)
tree9845ff21508e3ae246ab57025eab8e8503b8960f
parent9c1f69d7342a1c25f84a329cd8fdfc0db65c8109 (diff)
downloadprotobuf-master.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: I0d6cb3ca0dc96aa5ce704e6c6c712e42c71b6958
-rw-r--r--Android.bp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index a1853db..ae76f27 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_protobuf_license"],
@@ -31,10 +33,8 @@ rust_library {
crate_name: "protobuf",
cargo_env_compat: true,
cargo_pkg_version: "3.2.0",
- srcs: [
- "src/lib.rs",
- ":copy_protobuf_build_out",
- ],
+ crate_root: "src/lib.rs",
+ srcs: [":copy_protobuf_build_out"],
edition: "2021",
features: ["bytes"],
rustlibs: [