aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-08-19 16:55:56 -0700
committerKelvin Zhang <zhangkelvin@google.com>2021-08-20 11:42:51 -0700
commit8d806d16b8aa55f2e68dcce40ca61d2dd648a11f (patch)
tree50bdee7233d7cec0b950d12836d71f534d43f6be
parent539c01b94857c0bae0fca42099384ef932b0e343 (diff)
downloadzucchini-8d806d16b8aa55f2e68dcce40ca61d2dd648a11f.tar.gz
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
-rw-r--r--Android.bp9
1 files 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",
],