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

Bug: 74443701
Test: Tested manually
Change-Id: Ifa13cc7d1c3ff3ac71a16cf55be5a48ce808ef59
This commit is contained in:
Rajeev Kumar 2018-03-09 18:29:44 -08:00
parent a11e49518b
commit 6afff4243c
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@ cc_binary {
local_include_dirs: ["include"], local_include_dirs: ["include"],
cflags: ["-Werror", "-DLMKD_TRACE_KILLS"], cflags: ["-Werror", "-DLMKD_TRACE_KILLS"],
init_rc: ["lmkd.rc"], init_rc: ["lmkd.rc"],
product_variables: {
use_lmkd_stats_log: {
cflags: [
"-DLMKD_LOG_STATS"
],
},
},
} }
cc_library_static { cc_library_static {