aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:09:11 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-26 07:09:11 +0000
commit93b2acfb4a006a7018cf0c4060c1edf07e64a303 (patch)
treeea9cfb0c7543e22cc8b44d74af8ca350a066c767
parent0ded98daae7b472f44f658197f990d2840bed9bd (diff)
parent8389d29a6a6e64843213cb29d850ab9ed1d0272c (diff)
downloadgetrandom-busytown-mac-infra-release.tar.gz
Snap for 11878398 from 8389d29a6a6e64843213cb29d850ab9ed1d0272c to busytown-mac-infra-releasebusytown-mac-infra-release
Change-Id: Ib476b381e8291535458547e4173d60812948fa17
-rw-r--r--Android.bp12
1 files changed, 7 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index e5c7ab1..19509bf 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_getrandom_license"],
@@ -43,7 +45,7 @@ rust_test {
crate_name: "getrandom",
cargo_env_compat: true,
cargo_pkg_version: "0.2.12",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -63,7 +65,7 @@ rust_test {
crate_name: "normal",
cargo_env_compat: true,
cargo_pkg_version: "0.2.12",
- srcs: ["tests/normal.rs"],
+ crate_root: "tests/normal.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -84,7 +86,7 @@ rust_test {
crate_name: "rdrand",
cargo_env_compat: true,
cargo_pkg_version: "0.2.12",
- srcs: ["tests/rdrand.rs"],
+ crate_root: "tests/rdrand.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -105,7 +107,7 @@ rust_library {
crate_name: "getrandom",
cargo_env_compat: true,
cargo_pkg_version: "0.2.12",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
features: ["std"],
rustlibs: [