Turn on -Wall -Werror in media/jni. Fix warnings. Change-Id: I9da54ad379d8172ee535b52ee2b0637a2533f4e3
24 lines
467 B
Makefile
24 lines
467 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
android_media_AudioEffect.cpp \
|
|
android_media_Visualizer.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libcutils \
|
|
libutils \
|
|
libandroid_runtime \
|
|
libnativehelper \
|
|
libmedia
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
$(call include-path-for, audio-effects)
|
|
|
|
LOCAL_MODULE:= libaudioeffect_jni
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|