aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-06-10 22:10:53 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-06-10 22:10:53 +0000
commitd8b98aa941bd4692341ce70a9d7c8d73bcdf05e8 (patch)
tree34e6a48c016bf1c9d99e668dbd3b5fc83549fee4
parent41477009d075832ce8a417b4b975a2a17ba10ca5 (diff)
parenta92606d494c8c4d17cae0bc4771fb874ed940eb0 (diff)
downloadahash-build-tools-release.tar.gz
Snap for 11949379 from a92606d494c8c4d17cae0bc4771fb874ed940eb0 to build-tools-releasebuild-tools-release
Change-Id: Ie4b35acd2b569c9fead9d53310b4280fddd13d57
-rw-r--r--patches/Android.bp.diff22
1 files changed, 18 insertions, 4 deletions
diff --git a/patches/Android.bp.diff b/patches/Android.bp.diff
index 574031d..abd9ff2 100644
--- a/patches/Android.bp.diff
+++ b/patches/Android.bp.diff
@@ -1,10 +1,17 @@
diff --git a/Android.bp b/Android.bp
-index f33ba7a..62b8b27 100644
+index 745d2e8..8e44ff7 100644
--- a/Android.bp
+++ b/Android.bp
-@@ -46,9 +46,16 @@ rust_library {
- cargo_pkg_version: "0.8.2",
- srcs: ["src/lib.rs"],
+@@ -40,23 +40,30 @@ license {
+ }
+
+ rust_library {
+ name: "libahash",
+ host_supported: true,
+ crate_name: "ahash",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.8.11",
+ crate_root: "src/lib.rs",
edition: "2018",
+ arch: {
+ arm64: {
@@ -20,3 +27,10 @@ index f33ba7a..62b8b27 100644
"getrandom",
"runtime-rng",
"specialize",
+ "std",
+ ],
+ rustlibs: [
+ "libcfg_if",
+ "libgetrandom",
+ "libonce_cell",
+ "libzerocopy",