diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-17 02:07:35 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-11-17 02:07:35 +0000 |
commit | 7801ac73436ba3bd5a1e2168ad591c61056304da (patch) | |
tree | c896a7d4cbf1ec3d06ac0f38da9323eb4e2a7d1e | |
parent | 40ecb9cad9a4b98a16c316ea94bf3f29f1e32bc8 (diff) | |
parent | 4206e96812e9791953b474d73c25eff41c8866e8 (diff) | |
download | rand_xorshift-7801ac73436ba3bd5a1e2168ad591c61056304da.tar.gz |
Migrate to cargo_embargo. am: 7a09400d62 am: 9bbdf0a8c6 am: 4206e96812
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rand_xorshift/+/2832652
Change-Id: I64991e0a13b084837f95ff871209a11c8dc635a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | cargo2android.json | 9 | ||||
-rw-r--r-- | cargo_embargo.json | 10 |
3 files changed, 12 insertions, 13 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --config cargo2android.json. +// This file is generated by cargo_embargo. // Do not modify this file as changes will be overridden on upgrade. package { @@ -46,9 +46,7 @@ rust_library { cargo_pkg_version: "0.3.0", srcs: ["src/lib.rs"], edition: "2018", - rustlibs: [ - "librand_core", - ], + rustlibs: ["librand_core"], apex_available: [ "//apex_available:platform", "//apex_available:anyapex", diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index cf692e4..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "dependencies": true, - "dependency-blocklist": [ - "bincode" - ], - "device": true, - "run": true, - "tests": true -}
\ No newline at end of file diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..89ca815 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,10 @@ +{ + "package": { + "rand_xorshift": { + "dep_blocklist": [ + "libbincode" + ] + } + }, + "tests": true +} |