aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-09 13:57:39 +0000
committerAndrew Walbran <qwandor@google.com>2023-11-09 13:57:39 +0000
commita946f545699af58bd9e33e0621ccc3684b312c0a (patch)
tree5806f95ab6475ecdd357ef6d7199850f429e58f9
parent9c73b16b77d5c0ccc173f967a41b2ed50d97e3d5 (diff)
downloadplotters-svg-a946f545699af58bd9e33e0621ccc3684b312c0a.tar.gz
Migrate to cargo_embargo.
Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I48dada4e7f9d29eba232804a2b353e9c023a00c3
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json3
3 files changed, 5 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index 00131e9..993d717 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 {
@@ -26,9 +26,7 @@ rust_library {
cargo_pkg_version: "0.3.3",
srcs: ["src/lib.rs"],
edition: "2018",
- rustlibs: [
- "libplotters_backend",
- ],
+ rustlibs: ["libplotters_backend"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index bf78496..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "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..cb908d7
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,3 @@
+{
+ "run_cargo": false
+}