aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-18 02:13:38 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-18 02:13:38 +0000
commita986e8f0a67089f53ef1e59b1966a439d2bd0416 (patch)
treec896a7d4cbf1ec3d06ac0f38da9323eb4e2a7d1e
parent40ecb9cad9a4b98a16c316ea94bf3f29f1e32bc8 (diff)
parent0dd180cc0faf2736ec64bb8c4ce3d3e4f64f1824 (diff)
downloadrand_xorshift-android14-qpr2-s3-release.tar.gz
Change-Id: I8efa4485757a55e6ede36faddb831adb818542bb
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json9
-rw-r--r--cargo_embargo.json10
3 files changed, 12 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index ebc61c1..e0a15da 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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
+}