2017-04-28 01:31:05 +02:00
|
|
|
cc_binary {
|
|
|
|
name: "lmkd",
|
|
|
|
|
|
|
|
srcs: ["lmkd.c"],
|
|
|
|
shared_libs: [
|
|
|
|
"liblog",
|
|
|
|
"libcutils",
|
|
|
|
],
|
2018-03-07 21:27:50 +01:00
|
|
|
local_include_dirs: ["include"],
|
2017-04-28 01:31:05 +02:00
|
|
|
cflags: ["-Werror"],
|
|
|
|
|
|
|
|
init_rc: ["lmkd.rc"],
|
2018-01-04 19:43:58 +01:00
|
|
|
|
|
|
|
product_variables: {
|
|
|
|
debuggable: {
|
|
|
|
cflags: [
|
|
|
|
"-DLMKD_TRACE_KILLS"
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2017-04-28 01:31:05 +02:00
|
|
|
}
|
2018-03-07 21:27:50 +01:00
|
|
|
|
|
|
|
cc_library_static {
|
|
|
|
name: "liblmkd_utils",
|
|
|
|
srcs: ["liblmkd_utils.c"],
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
cppflags: [
|
|
|
|
"-g",
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
]
|
|
|
|
}
|