diff options
author | Frederick Mayle <fmayle@google.com> | 2023-03-29 18:03:11 -0700 |
---|---|---|
committer | Frederick Mayle <fmayle@google.com> | 2023-03-29 18:03:11 -0700 |
commit | b439b3182b329f4fa872c933a5e1023e19763083 (patch) | |
tree | 7a1d746b6f75161103cc2d88e8e4e6f1a70ed0d0 | |
parent | 6d8387d7bbed1bbc1cac408838ebcc738234d2c7 (diff) | |
download | chrono-b439b3182b329f4fa872c933a5e1023e19763083.tar.gz |
chrono: enable "serde" featureandroid-u-beta-1-gpl
Needed by crosvm.
cargo2android.py is failing for this crate at ToT because of a
warning-as-error, so I edited the Android.bp manually.
Bug: 275386231
Test: m
Change-Id: Ie6b77d6dccf29d70fee4f8bacccd1266565fa8d2
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | cargo2android.json | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 } |