From b33dd7d0292f0151abf21fe5f2928d7a5367e665 Mon Sep 17 00:00:00 2001 From: Jerome Gaillard Date: Tue, 10 Jul 2018 16:07:54 +0100 Subject: [PATCH] Create a host target for libpiex This is required for building a version of layoutlib using skia as its renderer. Test: sdk build Change-Id: Iaf504f8f5889c3612a11d514a428b080a89a7b04 --- Android.bp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.bp b/Android.bp index d50c18f..7e5cc37 100644 --- a/Android.bp +++ b/Android.bp @@ -5,6 +5,7 @@ cc_defaults { cc_library_static { name: "libbinary_parse", + host_supported: true, defaults: ["piex_default_cflags"], vendor_available: true, srcs: [ @@ -15,6 +16,7 @@ cc_library_static { cc_library_static { name: "libimage_type_recognition", + host_supported: true, defaults: ["piex_default_cflags"], vendor_available: true, srcs: [ @@ -25,6 +27,7 @@ cc_library_static { cc_library_static { name: "libtiff_directory", + host_supported: true, defaults: ["piex_default_cflags"], vendor_available: true, srcs: [ @@ -35,6 +38,7 @@ cc_library_static { cc_library_shared { name: "libpiex", + host_supported: true, defaults: ["piex_default_cflags"], vendor_available: true, vndk: {