diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2023-02-23 15:41:42 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-02-23 15:41:42 +0000 |
commit | 4763f6f9649812c8814c55ee50724005db9deb50 (patch) | |
tree | 7cb99e6175b4535041b4ef03b4e26d68bc944ba0 | |
parent | c78c4a16d611834f29ad271cd91992bc898a8591 (diff) | |
parent | 4bb8111a346477321796bcea2e42820b25f706dd (diff) | |
download | fastrand-4763f6f9649812c8814c55ee50724005db9deb50.tar.gz |
Add Android.bp am: 8ea5f7c86d am: 2ab4591102 am: 4bb8111a34
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/fastrand/+/2452805
Change-Id: I7dea5df328e96a63d27198c96082526915640eef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 18 | ||||
-rw-r--r-- | cargo2android.json | 9 |
2 files changed, 27 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..38adde8 --- /dev/null +++ b/Android.bp @@ -0,0 +1,18 @@ +// This file is generated by cargo2android.py --config cargo2android.json. +// Do not modify this file as changes will be overridden on upgrade. + + + +rust_library { + name: "libfastrand", + host_supported: true, + crate_name: "fastrand", + cargo_env_compat: true, + cargo_pkg_version: "1.8.0", + srcs: ["src/lib.rs"], + edition: "2018", + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], +} diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..5c18d15 --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,9 @@ +{ + "apex-available": [ + "//apex_available:platform", + "com.android.virt" + ], + "dependencies": true, + "device": true, + "run": true +} |