From bf30e31acc920f87dbd0e5a9d789bcebc422b34a Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Mon, 14 Jan 2019 10:25:40 -0800 Subject: [PATCH] Make viewcompiler available on device We'll need this binary on device to be able to compile views at application install time. There will be a followup CL to the build system to make sure viewcompiler is built and installed by default. Bug: 111895153 Change-Id: I2c98864118dfeca79e36be760bd44b9afa03b4d4 --- startop/view_compiler/Android.bp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/startop/view_compiler/Android.bp b/startop/view_compiler/Android.bp index 2fc3a0dd874ec..7dc83c3db868d 100644 --- a/startop/view_compiler/Android.bp +++ b/startop/view_compiler/Android.bp @@ -46,7 +46,7 @@ cc_defaults { }, } -cc_library_host_static { +cc_library_static { name: "libviewcompiler", defaults: ["viewcompiler_defaults"], srcs: [ @@ -58,9 +58,10 @@ cc_library_host_static { "util.cc", "layout_validation.cc", ], + host_supported: true, } -cc_binary_host { +cc_binary { name: "viewcompiler", defaults: ["viewcompiler_defaults"], srcs: [ @@ -70,6 +71,7 @@ cc_binary_host { "libgflags", "libviewcompiler", ], + host_supported: true } cc_test_host {