From 4232727a593e4ce7506fce3b31d35759142802c6 Mon Sep 17 00:00:00 2001 From: Matthew Maurer Date: Wed, 13 Nov 2019 17:41:57 -0800 Subject: Make crates depending on proc-macro host-only These crates are used to generate Rust source, and do not belong on the device. Test: m checkbuild Change-Id: I011e80957fa31598d269dfdc80236bf92da55b08 --- Android.bp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Android.bp b/Android.bp index 63ec66d..2a3cb09 100644 --- a/Android.bp +++ b/Android.bp @@ -1,8 +1,7 @@ // This file is generated by cargo2android.py. -rust_library_rlib { +rust_library_host_rlib { name: "libquote", - host_supported: true, crate_name: "quote", srcs: ["src/lib.rs"], edition: "2018", -- cgit v1.2.3