aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-11-29 14:03:56 -0800
committerJoel Galenson <jgalenson@google.com>2021-12-10 15:32:48 -0800
commit49ea629403923baa5827f5f8115ae7b10d2dd62d (patch)
tree9eb9b985863843fbf9332a33951797aca28db187
parentfdbed56a11f9e5552c1dd56747d7621417c96595 (diff)
downloadhashbrown-android-s-qpr3-beta-1.tar.gz
Test: None Change-Id: Iccc7524d842e114c29df81128e8c115c85f03201
-rw-r--r--Android.bp13
-rw-r--r--TEST_MAPPING8
-rw-r--r--cargo2android.json4
3 files changed, 16 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 73e0c70..28b8053 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --device --run --dependencies.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -39,8 +39,11 @@ license {
rust_library {
name: "libhashbrown",
+ // has rustc warnings
host_supported: true,
crate_name: "hashbrown",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.11.2",
srcs: ["src/lib.rs"],
edition: "2018",
features: [
@@ -52,11 +55,3 @@ rust_library {
"libahash",
],
}
-
-// dependent_library ["feature_list"]
-// ahash-0.7.2 "folded_multiply,runtime-rng,specialize"
-// cfg-if-1.0.0
-// getrandom-0.2.2
-// libc-0.2.92 "default,std"
-// once_cell-1.7.2 "alloc,race,unstable"
-// version_check-0.9.3
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 48ee89d..91f37bf 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -7,5 +7,13 @@
{
"name": "legacykeystore_test"
}
+ ],
+ "presubmit-rust": [
+ {
+ "name": "keystore2_test"
+ },
+ {
+ "name": "legacykeystore_test"
+ }
]
}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..bf78496
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,4 @@
+{
+ "device": true,
+ "run": true
+} \ No newline at end of file