aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp22
1 files changed, 12 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index e17cc3c..af7f0b2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,7 @@
// This file is generated by cargo_embargo.
-// Do not modify this file as changes will be overridden on upgrade.
+// Do not modify this file after the first "rust_*" or "genrule" module
+// because the changes will be overridden on upgrade.
+// Content before the first "rust_*" or "genrule" module is preserved.
package {
default_applicable_licenses: [
@@ -46,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",
@@ -66,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: {
@@ -86,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: {
@@ -106,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: {
@@ -126,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: {
@@ -146,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: {
@@ -166,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: {
@@ -186,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: {
@@ -206,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: {