aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-28 00:15:03 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-28 00:15:03 +0000
commit40de787f902f53a2dd712c2cc32dfb56ac7b655c (patch)
tree27f284bb3f8e87585a1a61850cc5ce94c857c5dd
parent0dbce389ccc7a32542b7942941ff3f68602e11d1 (diff)
parenta2bac1eaff7803168e436bd499710cab49d2fcd4 (diff)
downloadtoml_datetime-android14-qpr2-release.tar.gz
Change-Id: I77824b5602209f9ff91cc888f8b5c749af255998
-rw-r--r--Android.bp8
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json11
3 files changed, 13 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 0c30ee6..dcfe148 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_host {
name: "libtoml_datetime",
crate_name: "toml_datetime",
@@ -11,7 +9,5 @@ rust_library_host {
srcs: ["src/lib.rs"],
edition: "2021",
features: ["serde"],
- rustlibs: [
- "libserde",
- ],
+ rustlibs: ["libserde"],
}
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 62f757a..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "features": "serde",
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..8e0c857
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,11 @@
+{
+ "features": [
+ "serde"
+ ],
+ "package": {
+ "toml_datetime": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}