platform_system_core/lmkd/Android.bp
Mark Salyzyn be5235619f resolve merge conflicts of f062a2cd9e to pi-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5eb1bc16bf25b27172b6d2ea355768df2f6d8ff7
2018-04-06 07:56:54 -07:00

48 lines
839 B
Text

cc_binary {
name: "lmkd",
srcs: ["lmkd.c"],
shared_libs: [
"libcutils",
"liblog",
],
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",
]
}