aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2019-11-13 17:41:57 -0800
committerMatthew Maurer <mmaurer@google.com>2019-11-13 17:42:14 -0800
commit4232727a593e4ce7506fce3b31d35759142802c6 (patch)
tree7b26226cc7d1c9ef219d338d4599a0142a514ad2
parent87b35cf18ab9c60c99103e4d12301f967a936467 (diff)
downloadquote-4232727a593e4ce7506fce3b31d35759142802c6.tar.gz
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
-rw-r--r--Android.bp3
1 files changed, 1 insertions, 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",