Turn on -Wall -Werror in media/jni. Fix warnings. Change-Id: I9da54ad379d8172ee535b52ee2b0637a2533f4e3
20 lines
371 B
Makefile
20 lines
371 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
android_media_SoundPool_SoundPoolImpl.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libcutils \
|
|
libutils \
|
|
libandroid_runtime \
|
|
libnativehelper \
|
|
libmedia
|
|
|
|
LOCAL_MODULE:= libsoundpool
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|