aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:10:25 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:10:25 +0000
commit5aafdf2b3a6b91ff2527f3b010b4e0f0d70c17f6 (patch)
tree9845ff21508e3ae246ab57025eab8e8503b8960f
parent8e0f0be9673611eb7a64a4a1d0d1b92b97385e68 (diff)
parenta3ce92547d098b925f32af64869c20144d29151a (diff)
downloadprotobuf-busytown-mac-infra-release.tar.gz
Snap for 11878398 from a3ce92547d098b925f32af64869c20144d29151a to busytown-mac-infra-releasebusytown-mac-infra-release
Change-Id: I52bd334a16485ceb6ea23b14ff6ca5403bee6f3b
-rw-r--r--2.27.1/Android.bp10
-rw-r--r--Android.bp10
2 files changed, 10 insertions, 10 deletions
diff --git a/2.27.1/Android.bp b/2.27.1/Android.bp
index 35d072b..9e005a9 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: [
@@ -33,10 +35,8 @@ rust_library {
crate_name: "protobuf",
cargo_env_compat: true,
cargo_pkg_version: "2.27.1",
- srcs: [
- "src/lib.rs",
- ":copy_protobuf_deprecated_build_out",
- ],
+ crate_root: "src/lib.rs",
+ srcs: [":copy_protobuf_deprecated_build_out"],
edition: "2018",
features: ["bytes"],
rustlibs: ["libbytes"],
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: [