diff options
author | Charisee <chiw@google.com> | 2022-07-22 22:50:59 +0000 |
---|---|---|
committer | Charisee <chiw@google.com> | 2022-07-22 22:50:59 +0000 |
commit | 35167644da641fa80e0b6b2b575ce50e57e97a1b (patch) | |
tree | c00c89a8ddddc29ab81aff32bc2b6437771446f9 | |
parent | 4bcb072d3004f0db06bb6e77d55e6112412a3347 (diff) | |
download | fxhash-35167644da641fa80e0b6b2b575ce50e57e97a1b.tar.gz |
Adding Android.bp file for new imported crate fx_hash
A fast, non-secure, hashing algorithm derived from an internal hasher used in FireFox and Rustc.
Test: mm
bug: 238918731
Change-Id: I25db67e8a1c32562e34d3409a5791e18d324a1c7
-rw-r--r-- | Android.bp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..e38b13b --- /dev/null +++ b/Android.bp @@ -0,0 +1,22 @@ +// This file is generated by cargo2android.py --run --device --dependencies. +// Do not modify this file as changes will be overridden on upgrade. + + + +rust_library { + name: "libfxhash", + // has rustc warnings + host_supported: true, + crate_name: "fxhash", + cargo_env_compat: true, + cargo_pkg_version: "0.2.1", + srcs: ["lib.rs"], + edition: "2015", + rustlibs: [ + "libbyteorder", + ], + apex_available: [ + "//apex_available:platform", + "//apex_available:anyapex", + ], +} |