aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-20 17:05:44 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-20 17:05:44 +0000
commit0237915febfd0448d55a3217760537d6d48c1106 (patch)
treea2d26b368277bfc29ec63dbbd3abbddaa8fdf767
parentd2b9c8c84e11c9bf22b945486d6484e39b44107e (diff)
downloadanyhow-main.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: Ib670e8b24ab5161ff2ba925d0b4eabb06e4e64ce
-rw-r--r--Android.bp24
1 files changed, 12 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp
index 2b94286..24c88cd 100644
--- a/Android.bp
+++ b/Android.bp
@@ -45,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: {
@@ -68,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: {
@@ -92,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: {
@@ -116,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: {
@@ -140,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: {
@@ -164,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: {
@@ -188,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: {
@@ -212,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: {
@@ -236,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: {
@@ -260,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: {
@@ -284,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: {
@@ -308,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",