aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2020-06-09 15:25:35 +0100
committerAndrew Walbran <qwandor@google.com>2020-06-09 15:25:35 +0100
commit171c5f5dc158a547145796e9909044a0ade7844d (patch)
tree314caa3490719a78dc5c1a85f36ad57c58e86f8b
parent21d3fa795c67fc76aeda5775dbef7961618259f8 (diff)
downloadpin-project-171c5f5dc158a547145796e9909044a0ade7844d.tar.gz
Allow building for device.
Ran 'cargo2android.py --run --device'. Bug: 158290206 Test: mm Change-Id: Ie13c1b4e526aa76bcfde31163fed37f6befa0317
-rw-r--r--Android.bp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index de06908..6cae518 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.
-rust_library_host_rlib {
+rust_library_rlib {
name: "libpin_project",
+ host_supported: true,
crate_name: "pin_project",
srcs: ["src/lib.rs"],
edition: "2018",