diff options
Diffstat (limited to 'utility')
-rw-r--r-- | utility/Android.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utility/Android.mk b/utility/Android.mk index a87df1c..5249a30 100644 --- a/utility/Android.mk +++ b/utility/Android.mk @@ -10,6 +10,12 @@ common_src_files := \ common_module := libutility common_module_tags := optional +common_cflags := \ + -Wall \ + -Werror \ + -Wextra \ + -Wno-unused-parameter + ############################# # Target build @@ -20,6 +26,8 @@ LOCAL_SRC_FILES := $(common_src_files) LOCAL_MODULE := $(common_module) LOCAL_MODULE_TAGS := $(common_module_tags) +LOCAL_CFLAGS := $(common_cflags) + LOCAL_C_INCLUDES += \ $(call include-path-for, stlport) \ bionic @@ -36,4 +44,6 @@ LOCAL_SRC_FILES := $(common_src_files) LOCAL_MODULE := $(common_module)_host LOCAL_MODULE_TAGS := $(common_module_tags) +LOCAL_CFLAGS := $(common_cflags) + include $(BUILD_HOST_STATIC_LIBRARY) |