aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-04-28 22:32:42 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-28 22:32:42 +0000
commit5922e7ee56e0cbd4ea7e9f388b3de727c875f4a4 (patch)
tree95d23281f1be722c5e7ff14d322b70b0a5120db1 /Android.bp
parentcad73e31f1b0f31e7412178770230c50c9703715 (diff)
parent7ff3771e08c8986974cba124dcccb529c8f78fc9 (diff)
downloadslab-5922e7ee56e0cbd4ea7e9f388b3de727c875f4a4.tar.gz
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/slab/+/1690025 Change-Id: I948f9a7d53d821a0a74da272ab614a843d0a0093
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp9
1 files changed, 8 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 1430c4b..12b55a6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,5 @@
-// This file is generated by cargo2android.py --run --dependencies --device --tests --patch=patches/Android.bp.patch.
+// This file is generated by cargo2android.py --config cargo2android.json.
+// Do not modify this file as changes will be overridden on upgrade.
package {
default_applicable_licenses: ["external_rust_crates_slab_license"],
@@ -41,6 +42,9 @@ rust_defaults {
rust_test_host {
name: "slab_host_test_src_lib",
defaults: ["slab_defaults"],
+ test_options: {
+ unit_test: true,
+ },
}
rust_test {
@@ -63,6 +67,9 @@ rust_defaults {
rust_test_host {
name: "slab_host_test_tests_slab",
defaults: ["slab_defaults_slab"],
+ test_options: {
+ unit_test: true,
+ },
}
rust_test {