aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2020-10-23 08:03:14 -0700
committerJoel Galenson <jgalenson@google.com>2020-10-23 09:56:07 -0700
commite0c0907593ac36ac6446144ebc51cc9880affa87 (patch)
treeefe45fbfde22e4917441700e34c40f5b1e717b43
parente382669d064c170070dd0defbf524b20c8c49997 (diff)
downloadmio-e0c0907593ac36ac6446144ebc51cc9880affa87.tar.gz
Add Android.bp with required features
Test: Build Change-Id: Iab4c14b9f63972c5d7040389c1b7672f5e04bc66
-rw-r--r--Android.bp24
1 files changed, 24 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..e71bd12
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,24 @@
+// This file is generated by cargo2android.py --device --run --dependencies --features os-poll,tcp,udp,uds.
+
+rust_library {
+ name: "libmio",
+ host_supported: true,
+ crate_name: "mio",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ features: [
+ "os-poll",
+ "tcp",
+ "udp",
+ "uds",
+ ],
+ rustlibs: [
+ "liblibc",
+ "liblog_rust",
+ ],
+}
+
+// dependent_library ["feature_list"]
+// cfg-if-0.1.10
+// libc-0.2.73 "default,std"
+// log-0.4.11 "std"