aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:10:36 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:10:36 +0000
commita456fc1d6c14f49ab21ed65dcb4f9e3c49990396 (patch)
tree2f077fe93273ccb6060bf3f6fc7a4a8a6ccf6f62
parent81b4417223d1742bd375a6af83d3277ffa77a5a9 (diff)
parentf46ca43be04430f361298992cc144b9d99fb3314 (diff)
downloadremain-busytown-mac-infra-release.tar.gz
Snap for 11878398 from f46ca43be04430f361298992cc144b9d99fb3314 to busytown-mac-infra-releasebusytown-mac-infra-release
Change-Id: If9f81f13dd2fcc9b4d3784bfb7fe26105de2fb95
-rw-r--r--Android.bp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index 4ee7075..003d745 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_remain_license"],
@@ -42,7 +44,7 @@ rust_proc_macro {
crate_name: "remain",
cargo_env_compat: true,
cargo_pkg_version: "0.2.12",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
rustlibs: [
"libproc_macro2",
@@ -56,7 +58,7 @@ rust_test_host {
crate_name: "stable",
cargo_env_compat: true,
cargo_pkg_version: "0.2.12",
- srcs: ["tests/stable.rs"],
+ crate_root: "tests/stable.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -79,7 +81,7 @@ rust_test_host {
crate_name: "unstable",
cargo_env_compat: true,
cargo_pkg_version: "0.2.12",
- srcs: ["tests/unstable.rs"],
+ crate_root: "tests/unstable.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {