diff options
author | James Farrell <jamesfarrell@google.com> | 2024-05-22 23:09:26 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2024-05-22 23:09:26 +0000 |
commit | a37b870d855548878b4388a7bd00aedf629a95cb (patch) | |
tree | 093737387020ee22022e54da280573a578711280 /Android.bp | |
parent | e55f55e2f16b0dfcf58c7b82fa170c938ce5928a (diff) | |
parent | 26633bec60d582e6d5ec9c1e66021208083e7206 (diff) | |
download | num-bigint-master.tar.gz |
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/num-bigint/+/3096081
Change-Id: I9de7d41e79f1e70b972c8eeca73023e654c5f6f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 60 |
1 files changed, 20 insertions, 40 deletions
@@ -59,10 +59,8 @@ rust_library { crate_name: "num_bigint", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "src/lib.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "src/lib.rs", + srcs: [":copy_num-bigint_build_out"], edition: "2018", features: [ "default", @@ -90,10 +88,8 @@ rust_test { crate_name: "num_bigint", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "src/lib.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "src/lib.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -120,10 +116,8 @@ rust_test { crate_name: "bigint", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "tests/bigint.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "tests/bigint.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -151,10 +145,8 @@ rust_test { crate_name: "bigint_bitwise", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "tests/bigint_bitwise.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "tests/bigint_bitwise.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -182,10 +174,8 @@ rust_test { crate_name: "bigint_scalar", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "tests/bigint_scalar.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "tests/bigint_scalar.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -213,10 +203,8 @@ rust_test { crate_name: "biguint", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "tests/biguint.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "tests/biguint.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -244,10 +232,8 @@ rust_test { crate_name: "biguint_scalar", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "tests/biguint_scalar.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "tests/biguint_scalar.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -275,10 +261,8 @@ rust_test { crate_name: "fuzzed", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "tests/fuzzed.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "tests/fuzzed.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -306,10 +290,8 @@ rust_test { crate_name: "modpow", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "tests/modpow.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "tests/modpow.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -337,10 +319,8 @@ rust_test { crate_name: "roots", cargo_env_compat: true, cargo_pkg_version: "0.4.4", - srcs: [ - "tests/roots.rs", - ":copy_num-bigint_build_out", - ], + crate_root: "tests/roots.rs", + srcs: [":copy_num-bigint_build_out"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { |