aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-20 17:03:08 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-20 17:03:08 +0000
commit999d7f849e141eaebd5b3d2aa50b986aadcb2cf1 (patch)
tree3caa57f701998c3359cd739daec54f115e6325c0
parente09b882eec55e4abd2b206edb3685dd80a5f7cce (diff)
downloadminimal-lexical-master.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: I2eb59dd395caf60d53d2dc05bfd8f746a772ac75
-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: {