Link libstatssocket as a shared library.

As part of moving libstatssocket into statsd apex, libstatssocket will
only be available as a shared library.

Bug: 145923416
Test: m
Change-Id: Ia6b13dcd378011c201b2595d2b3f3fc14213011b
This commit is contained in:
Muhammad Qureshi 2020-02-12 16:42:53 -08:00
parent ed8fe8465a
commit 87168c0e26
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",
], ],
} }