Turn on -Wall -Werror in packages/. Fix warnings. Change-Id: I4ec7256a7df46017e1895575719f2b5aca978bd0
22 lines
420 B
Makefile
22 lines
420 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
com_android_printspooler_util_BitmapSerializeUtils.cpp \
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(JNI_H_INCLUDE)
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libnativehelper \
|
|
libjnigraphics \
|
|
liblog
|
|
|
|
LOCAL_MODULE := libprintspooler_jni
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|