aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-12 00:40:08 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 00:40:08 +0000
commitc7b02ead65f98e1dc574a3c326bba1d2076ca30e (patch)
treecdf3a190b947cdb08736bbd4c0bbe1f2c712c98e
parentbe0264527b3cc78bbb634469493a31f83ed9c713 (diff)
parente272d2a876a6d0d19bdcd47f1a3f7dcc1e89b172 (diff)
downloadsmali-c7b02ead65f98e1dc574a3c326bba1d2076ca30e.tar.gz
Merge "Use -Werror in external/smali"android-o-mr1-iot-preview-6o-mr1-iot-preview-6
am: e272d2a876 Change-Id: I8798885f431ddaa11562cc8442474c2f43ff7b1b
-rw-r--r--deodexerant/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/deodexerant/Android.mk b/deodexerant/Android.mk
index 46a9dba8..34585fa8 100644
--- a/deodexerant/Android.mk
+++ b/deodexerant/Android.mk
@@ -39,6 +39,12 @@ LOCAL_SHARED_LIBRARIES := libdl
LOCAL_MODULE_TAGS := optional
+LOCAL_CFLAGS := \
+ -Wall -Werror \
+ -Wno-incompatible-pointer-types-discards-qualifiers \
+ -Wno-main-return-type \
+ -Wno-unused-parameter \
+
LOCAL_LDFLAGS := -Wl,--hash-style=sysv
include $(BUILD_EXECUTABLE)