Link libstatssocket as a shared library. am: 87168c0e26 am: 2171a0c2f4

Change-Id: Idb85f7875499f727744bd7b6cbe2f40ff7991efe
This commit is contained in:
Muhammad Qureshi 2020-02-14 22:19:30 +00:00
commit e18b6d0b90
1 changed files with 2 additions and 3 deletions

View File

@ -19,11 +19,11 @@ cc_binary {
"liblog", "liblog",
"libprocessgroup", "libprocessgroup",
"libpsi", "libpsi",
"libstatssocket",
], ],
static_libs: [ static_libs: [
"libstatslogc", "libstatslogc",
"libstatslog_lmkd", "libstatslog_lmkd",
"libstatssocket",
], ],
local_include_dirs: ["include"], local_include_dirs: ["include"],
cflags: ["-Werror", "-DLMKD_TRACE_KILLS"], cflags: ["-Werror", "-DLMKD_TRACE_KILLS"],
@ -71,8 +71,7 @@ cc_library_static {
generated_sources: ["statslog_lmkd.cpp"], generated_sources: ["statslog_lmkd.cpp"],
generated_headers: ["statslog_lmkd.h"], generated_headers: ["statslog_lmkd.h"],
export_generated_headers: ["statslog_lmkd.h"], export_generated_headers: ["statslog_lmkd.h"],
static_libs: [ shared_libs: [
"libcutils",
"libstatssocket", "libstatssocket",
], ],
} }