Use usel_mkd_stats_log build variable while compiling lmkd with stats logging feature.

Bug: 74443701
Test: Tested manually
Merged-In: Ifa13cc7d1c3ff3ac71a16cf55be5a48ce808ef59
Change-Id: Ifa13cc7d1c3ff3ac71a16cf55be5a48ce808ef59
(cherry picked from commit 083be30783)
This commit is contained in:
Rajeev Kumar 2018-03-09 18:29:44 -08:00
parent 6e9a327504
commit b7273785a2

View file

@ -12,6 +12,13 @@ cc_binary {
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 {