blob: fc3169316914bc0ff89df0f473d3dee3e50a2e9b [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 ],
Suren Baghdasaryan0f100512018-01-24 16:51:41 -08009 local_include_dirs: ["include"],
Steven Moreland1457c922017-04-27 16:31:05 -070010 cflags: ["-Werror"],
11
12 init_rc: ["lmkd.rc"],
Suren Baghdasaryanc7135592018-01-04 10:43:58 -080013
14 product_variables: {
15 debuggable: {
16 cflags: [
17 "-DLMKD_TRACE_KILLS"
18 ],
19 },
20 },
Steven Moreland1457c922017-04-27 16:31:05 -070021}
Rajeev Kumarf0216a82018-01-24 14:40:36 -080022
23cc_library_shared {
24 name: "libstatslogc",
25 srcs: ["statslog.c"],
26 cflags: [
27 "-Wall",
28 "-Werror",
29 ],
30 shared_libs: [
31 "liblog",
32 ],
33}
Suren Baghdasaryan0f100512018-01-24 16:51:41 -080034
35cc_library_static {
36 name: "liblmkd_utils",
37 srcs: ["liblmkd_utils.c"],
38 shared_libs: [
39 "libcutils",
40 ],
41 export_include_dirs: ["include"],
42 cppflags: [
43 "-g",
44 "-Wall",
45 "-Werror",
46 ]
47}