lmkd: Enable stricter compiler checks
Enable -Wall and -Wextra compiler flags to catch compilation warnings. Bug: 147315292 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Merged-In: Ia802dbd7abb167d66b76390e269e4a4418ca5def Change-Id: Ia802dbd7abb167d66b76390e269e4a4418ca5def
This commit is contained in:
parent
dd7ec447ab
commit
5096d16091
|
|
@ -27,7 +27,12 @@ cc_binary {
|
|||
"liblmkd_utils",
|
||||
],
|
||||
local_include_dirs: ["include"],
|
||||
cflags: ["-Werror", "-DLMKD_TRACE_KILLS"],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wextra",
|
||||
"-DLMKD_TRACE_KILLS"
|
||||
],
|
||||
init_rc: ["lmkd.rc"],
|
||||
defaults: ["stats_defaults"],
|
||||
logtags: ["event.logtags"],
|
||||
|
|
@ -39,6 +44,7 @@ cc_library_static {
|
|||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wextra",
|
||||
],
|
||||
defaults: ["stats_defaults"],
|
||||
shared_libs: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue