summaryrefslogtreecommitdiffstats
path: root/rs/jni/Android.mk
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-10 20:35:59 -0800
committerAndreas Gampe <agampe@google.com>2014-11-10 20:35:59 -0800
commit67333928bfea7d53d8bc1b83599532f6fe5e2b2c (patch)
treee35e7d84305ef7e2da4ae780c11f902d22e12010 /rs/jni/Android.mk
parent538b00f6e583dfd38f6e329ef6715fb72f924160 (diff)
downloadframeworks_base-67333928bfea7d53d8bc1b83599532f6fe5e2b2c.zip
frameworks_base-67333928bfea7d53d8bc1b83599532f6fe5e2b2c.tar.gz
frameworks_base-67333928bfea7d53d8bc1b83599532f6fe5e2b2c.tar.bz2
Frameworks/base: Wall Werror in rs
Turn on -Wall -Werror in rs/. Fix warnings. Change-Id: I41923e4578edf26dbf6a31a83b6999e80d6d385a
Diffstat (limited to 'rs/jni/Android.mk')
-rw-r--r--rs/jni/Android.mk27
1 files changed, 14 insertions, 13 deletions
diff --git a/rs/jni/Android.mk b/rs/jni/Android.mk
index f2c2e98..f1f0bfc 100644
--- a/rs/jni/Android.mk
+++ b/rs/jni/Android.mk
@@ -5,27 +5,28 @@ LOCAL_SRC_FILES:= \
android_renderscript_RenderScript.cpp
LOCAL_SHARED_LIBRARIES := \
- libandroid_runtime \
- libandroidfw \
- libnativehelper \
- libRS \
- libcutils \
- liblog \
- libskia \
- libutils \
- libui \
- libgui
+ libandroid_runtime \
+ libandroidfw \
+ libnativehelper \
+ libRS \
+ libcutils \
+ liblog \
+ libskia \
+ libutils \
+ libui \
+ libgui
LOCAL_STATIC_LIBRARIES :=
rs_generated_include_dir := $(call intermediates-dir-for,SHARED_LIBRARIES,libRS,,)
LOCAL_C_INCLUDES += \
- $(JNI_H_INCLUDE) \
- frameworks/rs \
- $(rs_generated_include_dir)
+ $(JNI_H_INCLUDE) \
+ frameworks/rs \
+ $(rs_generated_include_dir)
LOCAL_CFLAGS += -Wno-unused-parameter -std=c++11
+LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
LOCAL_ADDITIONAL_DEPENDENCIES := $(addprefix $(rs_generated_include_dir)/,rsgApiFuncDecl.h)
LOCAL_MODULE:= librs_jni