summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-09 13:58:04 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-09 13:58:04 +0000
commita663e31c94f52d54c550746ff9417230d4e9c83f (patch)
tree2c10729ad3ffe53a6cd2a27359aa28bd9a0a02d1
parent847b6b6d03fe44ae69df0ea0320e896357415324 (diff)
downloadppv-lite86-a663e31c94f52d54c550746ff9417230d4e9c83f.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: If72c67aa0870b0509d61977fb7a458a66725acbd
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json11
-rw-r--r--cargo_embargo.json8
3 files changed, 9 insertions, 12 deletions
diff --git a/Android.bp b/Android.bp
index 71f8f5b..c243107 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 {
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 60b7aa4..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "apex-available": [
- "//apex_available:platform",
- "com.android.virt"
- ],
- "dependencies": true,
- "device": true,
- "run": true,
- "tests": true,
- "vendor-available": true
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..fcc96ec
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "apex_available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "run_cargo": false,
+ "tests": true
+}