aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-14 18:21:29 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-14 18:45:59 +0000
commit590d9e906d59114fa13a7e265ac0b9d3b2abac63 (patch)
tree31bfbde306507249ed3a8e8e1dbbbf6b383c3152
parent8febd65b6f4b0f503f8ea6f9805ea43f50a8c9eb (diff)
downloadpdl-runtime-590d9e906d59114fa13a7e265ac0b9d3b2abac63.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: If951baca8e16f91f2476740ddca741ec4f359fe3
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json6
-rw-r--r--cargo_embargo.json4
3 files changed, 5 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 2a3bab3..d558bb4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
-// 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.
-
-
rust_library {
name: "libpdl_runtime",
host_supported: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index fcf6c7d..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "device": true,
- "min-sdk-version": "33",
- "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..6549d09
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,4 @@
+{
+ "min_sdk_version": "33",
+ "run_cargo": false
+}