Merge "Enable lmkd kill tracing everywhere"

This commit is contained in:
Suren Baghdasaryan 2018-08-03 17:49:29 +00:00 committed by Gerrit Code Review
commit e961bbcadc
2 changed files with 3 additions and 12 deletions

View file

@ -7,17 +7,8 @@ cc_binary {
"liblog",
],
local_include_dirs: ["include"],
cflags: ["-Werror"],
cflags: ["-Werror", "-DLMKD_TRACE_KILLS"],
init_rc: ["lmkd.rc"],
product_variables: {
debuggable: {
cflags: [
"-DLMKD_TRACE_KILLS"
],
},
},
}
cc_library_static {

View file

@ -52,8 +52,8 @@
#else /* LMKD_TRACE_KILLS */
#define TRACE_KILL_START(pid)
#define TRACE_KILL_END()
#define TRACE_KILL_START(pid) ((void)(pid))
#define TRACE_KILL_END() ((void)0)
#endif /* LMKD_TRACE_KILLS */