2017-04-28 01:31:05 +02:00
|
|
|
cc_binary {
|
|
|
|
name: "lmkd",
|
|
|
|
|
|
|
|
srcs: ["lmkd.c"],
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
2018-03-21 20:24:58 +01:00
|
|
|
"liblog",
|
2017-04-28 01:31:05 +02:00
|
|
|
],
|
2018-02-01 02:54:56 +01:00
|
|
|
static_libs: [
|
|
|
|
"libstatslogc",
|
2018-05-02 20:19:27 +02:00
|
|
|
"libstatssocket",
|
2018-02-01 02:54:56 +01:00
|
|
|
],
|
2018-01-25 01:51:41 +01:00
|
|
|
local_include_dirs: ["include"],
|
2018-02-12 20:24:47 +01:00
|
|
|
cflags: ["-Werror", "-DLMKD_TRACE_KILLS"],
|
2017-04-28 01:31:05 +02:00
|
|
|
init_rc: ["lmkd.rc"],
|
2018-03-10 03:29:44 +01:00
|
|
|
product_variables: {
|
|
|
|
use_lmkd_stats_log: {
|
|
|
|
cflags: [
|
|
|
|
"-DLMKD_LOG_STATS"
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2018-07-27 01:34:27 +02:00
|
|
|
logtags: ["event.logtags"],
|
2017-04-28 01:31:05 +02:00
|
|
|
}
|
2018-01-24 23:40:36 +01:00
|
|
|
|
2018-02-01 02:54:56 +01:00
|
|
|
cc_library_static {
|
2018-01-24 23:40:36 +01:00
|
|
|
name: "libstatslogc",
|
|
|
|
srcs: ["statslog.c"],
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
shared_libs: [
|
|
|
|
"liblog",
|
|
|
|
],
|
2018-05-02 20:19:27 +02:00
|
|
|
static_libs: ["libstatssocket",],
|
2018-01-24 23:40:36 +01:00
|
|
|
}
|
2018-01-25 01:51:41 +01:00
|
|
|
|
|
|
|
cc_library_static {
|
|
|
|
name: "liblmkd_utils",
|
|
|
|
srcs: ["liblmkd_utils.c"],
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
cppflags: [
|
|
|
|
"-g",
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
]
|
|
|
|
}
|