Android.mk
changeset 12387 2f02c753a5dc
parent 12365 09e3ef028bc8
child 12439 3a0793e5e134
     1.1 --- a/Android.mk	Fri Oct 12 22:05:58 2018 -0700
     1.2 +++ b/Android.mk	Fri Nov 02 17:18:03 2018 -0700
     1.3 @@ -53,6 +53,22 @@
     1.4  LOCAL_SHARED_LIBRARIES := hidapi
     1.5  
     1.6  LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
     1.7 +LOCAL_CFLAGS += \
     1.8 +	-Wall -Wextra \
     1.9 +	-Wdocumentation \
    1.10 +	-Wdocumentation-unknown-command \
    1.11 +	-Wmissing-prototypes \
    1.12 +	-Wunreachable-code-break \
    1.13 +	-Wunneeded-internal-declaration \
    1.14 +	-Wmissing-variable-declarations \
    1.15 +	-Wfloat-conversion \
    1.16 +	-Wshorten-64-to-32 \
    1.17 +	-Wunreachable-code-return
    1.18 +
    1.19 +# Warnings we haven't fixed (yet)
    1.20 +LOCAL_CFLAGS += -Wno-unused-parameter -Wno-sign-compare
    1.21 + 
    1.22 +
    1.23  LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
    1.24  
    1.25  ifeq ($(NDK_DEBUG),1)