summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-16 15:50:10 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-16 15:50:10 +0000
commit858d3628e778dabf1781fc768cc7c36e279f8810 (patch)
tree7685554695a99635691bbfe8d59cbf8eaaa9a235
parent6925c7dc421fda44cfca1267d8cd5734d068298b (diff)
downloadshared_library-858d3628e778dabf1781fc768cc7c36e279f8810.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: Ie93ddc709f869b0364d6a81ca18f553cb999ac00
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json10
-rw-r--r--cargo_embargo.json13
3 files changed, 14 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp
index f4bb7db..cca7e4f 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 6e68088..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "apex-available": [
- "//apex_available:platform",
- "com.android.virt"
- ],
- "device": true,
- "no-presubmit": 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..98cba6d
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,13 @@
+{
+ "apex_available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "package": {
+ "shared_library": {
+ "no_presubmit": true
+ }
+ },
+ "run_cargo": false,
+ "tests": true
+}