aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 15:41:31 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 15:41:31 +0000
commit8b6f37df39fd81070fb86b750d5715416f343de3 (patch)
treea2d26b368277bfc29ec63dbbd3abbddaa8fdf767
parente827a8068e917dde3643d7a6572970bbd9ee05e5 (diff)
parent0237915febfd0448d55a3217760537d6d48c1106 (diff)
downloadanyhow-build-tools-release.tar.gz
Snap for 11880863 from 0237915febfd0448d55a3217760537d6d48c1106 to build-tools-releasebuild-tools-release
Change-Id: I7b40516ea96a3a8f40fcd33998db32978e2dc98d
-rw-r--r--Android.bp28
1 files changed, 15 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index f512722..24c88cd 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_anyhow_license"],
@@ -43,7 +45,7 @@ rust_test {
crate_name: "anyhow",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -66,7 +68,7 @@ rust_test {
crate_name: "test_autotrait",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_autotrait.rs"],
+ crate_root: "tests/test_autotrait.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -90,7 +92,7 @@ rust_test {
crate_name: "test_boxed",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_boxed.rs"],
+ crate_root: "tests/test_boxed.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -114,7 +116,7 @@ rust_test {
crate_name: "test_chain",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_chain.rs"],
+ crate_root: "tests/test_chain.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -138,7 +140,7 @@ rust_test {
crate_name: "test_context",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_context.rs"],
+ crate_root: "tests/test_context.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -162,7 +164,7 @@ rust_test {
crate_name: "test_convert",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_convert.rs"],
+ crate_root: "tests/test_convert.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -186,7 +188,7 @@ rust_test {
crate_name: "test_downcast",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_downcast.rs"],
+ crate_root: "tests/test_downcast.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -210,7 +212,7 @@ rust_test {
crate_name: "test_fmt",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_fmt.rs"],
+ crate_root: "tests/test_fmt.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -234,7 +236,7 @@ rust_test {
crate_name: "test_macros",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_macros.rs"],
+ crate_root: "tests/test_macros.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -258,7 +260,7 @@ rust_test {
crate_name: "test_repr",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_repr.rs"],
+ crate_root: "tests/test_repr.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -282,7 +284,7 @@ rust_test {
crate_name: "test_source",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["tests/test_source.rs"],
+ crate_root: "tests/test_source.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -306,7 +308,7 @@ rust_library {
crate_name: "anyhow",
cargo_env_compat: true,
cargo_pkg_version: "1.0.79",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
features: [
"default",