aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp18
1 files changed, 9 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 491fde4..af7f0b2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -48,7 +48,7 @@ rust_library {
crate_name: "minimal_lexical",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
features: [
"default",
@@ -68,7 +68,7 @@ rust_test {
crate_name: "integration_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["tests/integration_tests.rs"],
+ crate_root: "tests/integration_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -88,7 +88,7 @@ rust_test {
crate_name: "lemire_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["tests/lemire_tests.rs"],
+ crate_root: "tests/lemire_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -108,7 +108,7 @@ rust_test {
crate_name: "mask_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["tests/mask_tests.rs"],
+ crate_root: "tests/mask_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -128,7 +128,7 @@ rust_test {
crate_name: "number_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["tests/number_tests.rs"],
+ crate_root: "tests/number_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -148,7 +148,7 @@ rust_test {
crate_name: "parse_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["tests/parse_tests.rs"],
+ crate_root: "tests/parse_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -168,7 +168,7 @@ rust_test {
crate_name: "rounding_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["tests/rounding_tests.rs"],
+ crate_root: "tests/rounding_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -188,7 +188,7 @@ rust_test {
crate_name: "slow_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["tests/slow_tests.rs"],
+ crate_root: "tests/slow_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -208,7 +208,7 @@ rust_test {
crate_name: "vec_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.2.1",
- srcs: ["tests/vec_tests.rs"],
+ crate_root: "tests/vec_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {