blob: 8e6516207c69a9485cab87720efeeb1488687fe2 [file] [log] [blame]
Steven Moreland1457c922017-04-27 16:31:05 -07001cc_binary {
2 name: "lmkd",
3
4 srcs: ["lmkd.c"],
5 shared_libs: [
6 "liblog",
Steven Moreland1457c922017-04-27 16:31:05 -07007 "libcutils",
8 ],
Rajeev Kumar70450032018-01-31 17:54:56 -08009 static_libs: [
10 "libstatslogc",
11 ],
Suren Baghdasaryan0f100512018-01-24 16:51:41 -080012 local_include_dirs: ["include"],
Daniel Colascione347f6b42018-02-12 11:24:47 -080013 cflags: ["-Werror", "-DLMKD_TRACE_KILLS"],
Steven Moreland1457c922017-04-27 16:31:05 -070014 init_rc: ["lmkd.rc"],
Steven Moreland1457c922017-04-27 16:31:05 -070015}
Rajeev Kumarf0216a82018-01-24 14:40:36 -080016
Rajeev Kumar70450032018-01-31 17:54:56 -080017cc_library_static {
Rajeev Kumarf0216a82018-01-24 14:40:36 -080018 name: "libstatslogc",
19 srcs: ["statslog.c"],
20 cflags: [
21 "-Wall",
22 "-Werror",
23 ],
24 shared_libs: [
25 "liblog",
26 ],
27}
Suren Baghdasaryan0f100512018-01-24 16:51:41 -080028
29cc_library_static {
30 name: "liblmkd_utils",
31 srcs: ["liblmkd_utils.c"],
32 shared_libs: [
33 "libcutils",
34 ],
35 export_include_dirs: ["include"],
36 cppflags: [
37 "-g",
38 "-Wall",
39 "-Werror",
40 ]
41}