b7273785a2
Bug: 74443701
Test: Tested manually
Merged-In: Ifa13cc7d1c3ff3ac71a16cf55be5a48ce808ef59
Change-Id: Ifa13cc7d1c3ff3ac71a16cf55be5a48ce808ef59
(cherry picked from commit 083be30783
)
48 lines
839 B
Text
48 lines
839 B
Text
cc_binary {
|
|
name: "lmkd",
|
|
|
|
srcs: ["lmkd.c"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libcutils",
|
|
],
|
|
static_libs: [
|
|
"libstatslogc",
|
|
],
|
|
local_include_dirs: ["include"],
|
|
cflags: ["-Werror", "-DLMKD_TRACE_KILLS"],
|
|
init_rc: ["lmkd.rc"],
|
|
product_variables: {
|
|
use_lmkd_stats_log: {
|
|
cflags: [
|
|
"-DLMKD_LOG_STATS"
|
|
],
|
|
},
|
|
},
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libstatslogc",
|
|
srcs: ["statslog.c"],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
shared_libs: [
|
|
"liblog",
|
|
],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "liblmkd_utils",
|
|
srcs: ["liblmkd_utils.c"],
|
|
shared_libs: [
|
|
"libcutils",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
cppflags: [
|
|
"-g",
|
|
"-Wall",
|
|
"-Werror",
|
|
]
|
|
}
|