aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-22 00:14:55 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-22 00:14:55 +0000
commit98c70705b9117b3b3cf0d569aba1f6bbeb0a41c6 (patch)
treef4fa6f9d4b20c969aded7412bf0fa4f12f8765dd
parent221823ec2133d518fcd9e02c06e362c9f678bd69 (diff)
parentcb3bc26de85e1953e6d02c509fd78c2df5d2effb (diff)
downloadremove_dir_all-android14-qpr2-s1-release.tar.gz
Change-Id: I840dc493d578539761a41c939fcebacbd7dce468
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json9
-rw-r--r--cargo_embargo.json7
3 files changed, 9 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index fa7c77b..e9cfd8f 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 {
@@ -47,9 +47,7 @@ rust_library {
cargo_pkg_version: "0.7.1",
srcs: ["src/lib.rs"],
edition: "2018",
- rustlibs: [
- "liblibc",
- ],
+ rustlibs: ["liblibc"],
apex_available: [
"//apex_available:platform",
"com.android.virt",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 42b7833..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "apex-available": [
- "//apex_available:platform",
- "com.android.virt"
- ],
- "dependencies": true,
- "device": true,
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..fbb9fcd
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,7 @@
+{
+ "apex_available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "run_cargo": false
+}