summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:10:21 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:10:21 +0000
commitf44c73e980e1ebc841607e43b3965aecd57fc0b0 (patch)
tree20c7f5105a0083a998bf1466ebad894220f30160
parent957f034f3279524ceb3959c5d1a6e8e7382f2b09 (diff)
parente21f63295d4ad7125f101872ca15041ccc68948e (diff)
downloadpredicates-busytown-mac-infra-release.tar.gz
Snap for 11878398 from e21f63295d4ad7125f101872ca15041ccc68948e to busytown-mac-infra-releasebusytown-mac-infra-release
Change-Id: I4837909fc66006a3776ebe7ad35e8f600af6140a
-rw-r--r--Android.bp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index efbf0aa..1b613a2 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.
rust_library {
name: "libpredicates",
@@ -7,7 +9,7 @@ rust_library {
crate_name: "predicates",
cargo_env_compat: true,
cargo_pkg_version: "3.0.4",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: [
"color",
@@ -33,7 +35,7 @@ rust_test {
crate_name: "predicates",
cargo_env_compat: true,
cargo_pkg_version: "3.0.4",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {