summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:10:06 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:10:06 +0000
commit5b6bad85b5d0d51601fae3b6571ff9c6f06e6e36 (patch)
tree924b5e1b9c98c01fdc20b78971e718e90a72c093
parent7890b8ce011fb0818bdbb9a87968c5d2b0e76564 (diff)
parent827e2b5b66afa2aaf5da2f0215ae28aa450abbe7 (diff)
downloadp9_wire_format_derive-busytown-mac-infra-release.tar.gz
Snap for 11878398 from 827e2b5b66afa2aaf5da2f0215ae28aa450abbe7 to busytown-mac-infra-releasebusytown-mac-infra-release
Change-Id: If99cb3c1a0d9e77685e1fe2525871fe8ad5024fc
-rw-r--r--Android.bp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 99364a4..e2b35fb 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_p9_wire_format_derive_license"],
@@ -21,7 +23,7 @@ rust_proc_macro {
crate_name: "p9_wire_format_derive",
cargo_env_compat: true,
cargo_pkg_version: "0.2.3",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2015",
rustlibs: [
"libproc_macro2",
@@ -35,7 +37,7 @@ rust_test_host {
crate_name: "p9_wire_format_derive",
cargo_env_compat: true,
cargo_pkg_version: "0.2.3",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {