Android.mk
changeset 12387 2f02c753a5dc
parent 12365 09e3ef028bc8
child 12439 3a0793e5e134
equal deleted inserted replaced
12386:a80816d0e9d2 12387:2f02c753a5dc
    51 	$(wildcard $(LOCAL_PATH)/src/test/*.c))
    51 	$(wildcard $(LOCAL_PATH)/src/test/*.c))
    52 
    52 
    53 LOCAL_SHARED_LIBRARIES := hidapi
    53 LOCAL_SHARED_LIBRARIES := hidapi
    54 
    54 
    55 LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
    55 LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
       
    56 LOCAL_CFLAGS += \
       
    57 	-Wall -Wextra \
       
    58 	-Wdocumentation \
       
    59 	-Wdocumentation-unknown-command \
       
    60 	-Wmissing-prototypes \
       
    61 	-Wunreachable-code-break \
       
    62 	-Wunneeded-internal-declaration \
       
    63 	-Wmissing-variable-declarations \
       
    64 	-Wfloat-conversion \
       
    65 	-Wshorten-64-to-32 \
       
    66 	-Wunreachable-code-return
       
    67 
       
    68 # Warnings we haven't fixed (yet)
       
    69 LOCAL_CFLAGS += -Wno-unused-parameter -Wno-sign-compare
       
    70  
       
    71 
    56 LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
    72 LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
    57 
    73 
    58 ifeq ($(NDK_DEBUG),1)
    74 ifeq ($(NDK_DEBUG),1)
    59     cmd-strip :=
    75     cmd-strip :=
    60 endif
    76 endif