aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 01:12:14 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 01:12:14 +0000
commita3ce92547d098b925f32af64869c20144d29151a (patch)
tree9845ff21508e3ae246ab57025eab8e8503b8960f
parent850b9b2a88785e1ea487ccf11e85734f2771f294 (diff)
parent230522dee7565640d9a0f076462ec8eac618c504 (diff)
downloadprotobuf-a3ce92547d098b925f32af64869c20144d29151a.tar.gz
Snap for 11878282 from 230522dee7565640d9a0f076462ec8eac618c504 to sdk-release
Change-Id: Ib6a748a101bd941852aa0e87b95b336bae0e6ccf
-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: [