aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 01:12:16 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 01:12:16 +0000
commit59121dc3cdd6e1629f0bc37440e1babd24fb2253 (patch)
tree73537449867374235678f3846dcab5ccfd9b2bdc
parent243db955ab1aacbe8245195b7f3ca2a258bac97f (diff)
parent40b1ad7d04003cb97be9e54cffadbaa15a0271b2 (diff)
downloadprotobuf-json-mapping-sdk-release.tar.gz
Snap for 11878282 from 40b1ad7d04003cb97be9e54cffadbaa15a0271b2 to sdk-releasesdk-release
Change-Id: I998a810a910cc31afdfe4b8cb7e50930e7760808
-rw-r--r--Android.bp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 49fe9d8..257a1e0 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: [
@@ -26,7 +28,7 @@ rust_library {
crate_name: "protobuf_json_mapping",
cargo_env_compat: true,
cargo_pkg_version: "3.2.0",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
rustlibs: [
"libprotobuf",
@@ -47,7 +49,7 @@ rust_test {
crate_name: "protobuf_json_mapping",
cargo_env_compat: true,
cargo_pkg_version: "3.2.0",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {