aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-10 00:14:41 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-10 00:14:41 +0000
commit5ee91b4f98cc93757c60cfb013a26e09976bc55d (patch)
treeaaa0209fe40c9ef15bfe9cc5f3c35d633efc312e
parent88d1f839cdefaf2cba80e9bb2ea31b416749a59d (diff)
parent35bb38904b9c11ac40b025bc7fe2fe478cedb3d7 (diff)
downloadwhich-android14-qpr2-s2-release.tar.gz
Change-Id: Idfb496d799d1e996408c0e89bf7afde55255235d
-rw-r--r--Android.bp3
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json4
3 files changed, 5 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index 22790af..155eace 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 {
@@ -20,7 +20,6 @@ license {
rust_library {
name: "libwhich",
- // has rustc warnings
host_supported: true,
crate_name: "which",
cargo_env_compat: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 5fd6c55..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "device": true,
- "features": "",
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..b639cc5
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,4 @@
+{
+ "features": [],
+ "run_cargo": false
+}