aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2020-06-09 14:27:31 +0100
committerAndrew Walbran <qwandor@google.com>2020-06-10 16:28:48 +0100
commit8c390197cea9dd7885d0c29ddcc41f4a878643ea (patch)
treedb520493f081eb1d5f679179172f07fba3aec734 /Android.bp
parent1bd0dd71d4f2acfd91911eab15b2e19474cc64a8 (diff)
downloadfutures-util-8c390197cea9dd7885d0c29ddcc41f4a878643ea.tar.gz
Allow building for device.
Ran 'cargo2android.py --run --device' and fixed up result. Bug: 158290206 Test: mm Change-Id: I96b9e94e655f9fc683ae92d97227ba309134b4cd
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 9f206f3..bc56973 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,7 +1,8 @@
-// This file is generated by cargo2android.py.
+// This file is generated by cargo2android.py --run --device --features channel,default,io,memchr,sink.
-rust_library_host_rlib {
+rust_library_rlib {
name: "libfutures_util",
+ host_supported: true,
crate_name: "futures_util",
srcs: ["src/lib.rs"],
edition: "2018",