diff --git a/lmkd/Android.bp b/lmkd/Android.bp index 8e6516207..58647f2ff 100644 --- a/lmkd/Android.bp +++ b/lmkd/Android.bp @@ -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 {