diff options
-rw-r--r-- | 2.27.1/Android.bp | 10 | ||||
-rw-r--r-- | Android.bp | 10 |
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"], @@ -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: [ |