From 8d806d16b8aa55f2e68dcce40ca61d2dd648a11f Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Thu, 19 Aug 2021 16:55:56 -0700 Subject: Link liblog/libbase statically zucchini might need to run on host w/o android repo(for testing purposes). Therefore statically link the binary. Test: th Change-Id: Ic3847cbf4694418fa43270580596bf7d5cc70f8e --- Android.bp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Android.bp b/Android.bp index c320bf0..820b60f 100644 --- a/Android.bp +++ b/Android.bp @@ -1,4 +1,3 @@ - filegroup { name: "libzucchini_srcs", @@ -109,7 +108,6 @@ filegroup { ], } - cc_library { name: "libzucchini", host_supported: true, @@ -119,7 +117,10 @@ cc_library { include_build_directory: false, srcs: [":libzucchini_srcs"], local_include_dirs: ["aosp/include"], - export_include_dirs: ["aosp/include/components"], + export_include_dirs: [ + "aosp/include/components", + "aosp/include/", + ], static_libs: [ "libchrome", "libcutils", @@ -145,8 +146,6 @@ cc_binary { "libchrome", "libcutils", "libzucchini", - ], - shared_libs: [ "liblog", "libbase", ], -- cgit v1.2.3