aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:05:14 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:05:14 +0000
commit3d6f49680f404c90222aa0a353c958ff747b907e (patch)
tree9eb9b985863843fbf9332a33951797aca28db187
parent69de2932d96a41066ab7a4c281255abcfe756703 (diff)
parent25db71cf266133f64057d417298195b7b11e519d (diff)
downloadhashbrown-android13-mainline-adbd-release.tar.gz
Snap for 8564071 from 25db71cf266133f64057d417298195b7b11e519d to mainline-adbd-releaseaml_adb_331610000aml_adb_331314020aml_adb_331113120aml_adb_331011050aml_adb_331011040android13-mainline-adbd-release
Change-Id: I6372e938b12117648f6047b45171db63b421afdf
-rw-r--r--Android.bp13
-rw-r--r--TEST_MAPPING10
-rw-r--r--cargo2android.json4
3 files changed, 17 insertions, 10 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 e707449..91f37bf 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -5,7 +5,15 @@
"name": "keystore2_test"
},
{
- "name": "vpnprofilestore_test"
+ "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