diff options
author | James Farrell <jamesfarrell@google.com> | 2024-06-07 15:27:50 +0000 |
---|---|---|
committer | James Farrell <jamesfarrell@google.com> | 2024-06-07 15:27:50 +0000 |
commit | a92606d494c8c4d17cae0bc4771fb874ed940eb0 (patch) | |
tree | 34e6a48c016bf1c9d99e668dbd3b5fc83549fee4 | |
parent | de9be2244fe41dfcfc608334302fe06175fdbca0 (diff) | |
download | ahash-main.tar.gz |
Test: treehugger
Change-Id: Id55855bcbbd6dfd7373ed41c1d55f47687776caf
-rw-r--r-- | patches/Android.bp.diff | 22 |
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", |