diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-15 15:19:55 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-15 15:19:55 +0000 |
commit | 7a09400d627b6d0efd179bf5ac325a49d1b0ec1a (patch) | |
tree | c896a7d4cbf1ec3d06ac0f38da9323eb4e2a7d1e | |
parent | 135502ffa67e72367e6260b6ef67f8b800b2194a (diff) | |
download | rand_xorshift-7a09400d627b6d0efd179bf5ac325a49d1b0ec1a.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: I07eae5d85452f08e5c6dde1dbecc411a6a733976
-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 +} |