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 083be30783870ce4093d1d5f040f42f9f3c27510)
This commit is contained in:
Rajeev Kumar 2018-03-09 18:29:44 -08:00
parent 294b1dd97f
commit 9dd1497b95
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 {