lmkd: Enable stricter compiler checks
Enable -Wall and -Wextra compiler flags to catch compilation warnings. Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Ia802dbd7abb167d66b76390e269e4a4418ca5def
This commit is contained in:
parent
ed715a3424
commit
e538ba2df6
|
|
@ -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