summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp56
1 files changed, 28 insertions, 28 deletions
diff --git a/Android.bp b/Android.bp
index 9ac81d7..a7d4bb8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -9,7 +9,7 @@ rust_test_host {
crate_name: "accrue_errors",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/accrue_errors.rs"],
+ crate_root: "tests/accrue_errors.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -31,7 +31,7 @@ rust_test_host {
crate_name: "attrs_with",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/attrs_with.rs"],
+ crate_root: "tests/attrs_with.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -53,7 +53,7 @@ rust_test_host {
crate_name: "computed_bound",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/computed_bound.rs"],
+ crate_root: "tests/computed_bound.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -75,7 +75,7 @@ rust_test_host {
crate_name: "custom_bound",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/custom_bound.rs"],
+ crate_root: "tests/custom_bound.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -97,7 +97,7 @@ rust_test_host {
crate_name: "defaults",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/defaults.rs"],
+ crate_root: "tests/defaults.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -119,7 +119,7 @@ rust_test_host {
crate_name: "enums_default",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/enums_default.rs"],
+ crate_root: "tests/enums_default.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -141,7 +141,7 @@ rust_test_host {
crate_name: "enums_newtype",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/enums_newtype.rs"],
+ crate_root: "tests/enums_newtype.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -163,7 +163,7 @@ rust_test_host {
crate_name: "enums_struct",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/enums_struct.rs"],
+ crate_root: "tests/enums_struct.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -185,7 +185,7 @@ rust_test_host {
crate_name: "enums_unit",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/enums_unit.rs"],
+ crate_root: "tests/enums_unit.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -207,7 +207,7 @@ rust_test_host {
crate_name: "error",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/error.rs"],
+ crate_root: "tests/error.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -229,7 +229,7 @@ rust_test_host {
crate_name: "flatten",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/flatten.rs"],
+ crate_root: "tests/flatten.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -251,7 +251,7 @@ rust_test_host {
crate_name: "flatten_error_accumulation",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/flatten_error_accumulation.rs"],
+ crate_root: "tests/flatten_error_accumulation.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -273,7 +273,7 @@ rust_test_host {
crate_name: "flatten_from_field",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/flatten_from_field.rs"],
+ crate_root: "tests/flatten_from_field.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -295,7 +295,7 @@ rust_test_host {
crate_name: "from_generics",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/from_generics.rs"],
+ crate_root: "tests/from_generics.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -317,7 +317,7 @@ rust_test_host {
crate_name: "from_meta",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/from_meta.rs"],
+ crate_root: "tests/from_meta.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -339,7 +339,7 @@ rust_test_host {
crate_name: "from_type_param",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/from_type_param.rs"],
+ crate_root: "tests/from_type_param.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -361,7 +361,7 @@ rust_test_host {
crate_name: "from_type_param_default",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/from_type_param_default.rs"],
+ crate_root: "tests/from_type_param_default.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -383,7 +383,7 @@ rust_test_host {
crate_name: "from_variant",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/from_variant.rs"],
+ crate_root: "tests/from_variant.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -405,7 +405,7 @@ rust_test_host {
crate_name: "generics",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/generics.rs"],
+ crate_root: "tests/generics.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -427,7 +427,7 @@ rust_test_host {
crate_name: "happy_path",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/happy_path.rs"],
+ crate_root: "tests/happy_path.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -449,7 +449,7 @@ rust_test_host {
crate_name: "hash_map",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/hash_map.rs"],
+ crate_root: "tests/hash_map.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -471,7 +471,7 @@ rust_test_host {
crate_name: "multiple",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/multiple.rs"],
+ crate_root: "tests/multiple.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -493,7 +493,7 @@ rust_test_host {
crate_name: "newtype",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/newtype.rs"],
+ crate_root: "tests/newtype.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -515,7 +515,7 @@ rust_test_host {
crate_name: "skip",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/skip.rs"],
+ crate_root: "tests/skip.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -537,7 +537,7 @@ rust_test_host {
crate_name: "split_declaration",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/split_declaration.rs"],
+ crate_root: "tests/split_declaration.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -559,7 +559,7 @@ rust_test_host {
crate_name: "supports",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/supports.rs"],
+ crate_root: "tests/supports.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -581,7 +581,7 @@ rust_test_host {
crate_name: "unsupported_attributes",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["tests/unsupported_attributes.rs"],
+ crate_root: "tests/unsupported_attributes.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -603,7 +603,7 @@ rust_library_host {
crate_name: "darling",
cargo_env_compat: true,
cargo_pkg_version: "0.20.8",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
rustlibs: ["libdarling_core"],
proc_macros: ["libdarling_macro"],