aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-01 23:14:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-01 23:14:28 +0000
commit8b63fb853a431db4759f49927a6fe3b05aab9d7b (patch)
tree7a1d746b6f75161103cc2d88e8e4e6f1a70ed0d0
parent12be72f05d1d8c5138eab8365d584fc8f00d93d3 (diff)
parenta8a37a45a3f38004d0714765ba7a57ab5a6d8cda (diff)
downloadchrono-android14-d1-s7-release.tar.gz
Change-Id: Ic256f9989375ad1728332f2cee55e42a72cd2fe4
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 673d0e8..e7f5dbe 100644
--- a/Android.bp
+++ b/Android.bp
@@ -42,6 +42,7 @@ rust_library {
features: [
"clock",
"libc",
+ "serde",
"std",
"winapi",
],
@@ -49,6 +50,7 @@ rust_library {
"liblibc",
"libnum_integer",
"libnum_traits",
+ "libserde",
],
apex_available: [
"//apex_available:platform",
diff --git a/cargo2android.json b/cargo2android.json
index 90c5a67..cd14e87 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -4,6 +4,6 @@
"com.android.virt"
],
"device": true,
- "features": "std,clock",
+ "features": "std,clock,serde",
"run": true
}