aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-11-20 10:30:42 -0800
committerChih-Hung Hsieh <chh@google.com>2017-11-20 10:31:30 -0800
commit4c77a55a5662338be9c562c37d455f3c6d782792 (patch)
tree5c53db983e5c972ad0115d4be20d3590f9a015ea
parenta667a6faef44482c4d2c8a3ec1479ebf542e9fe4 (diff)
downloadpdk-4c77a55a5662338be9c562c37d455f3c6d782792.tar.gz
Use -Werror in pdk/apps/HelloPDK/jni
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I51ca69be31f03ebce5f1af5e5ae46e7c9f3683b8
-rw-r--r--apps/HelloPDK/jni/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/HelloPDK/jni/Android.mk b/apps/HelloPDK/jni/Android.mk
index 3c2e963..6abeb83 100644
--- a/apps/HelloPDK/jni/Android.mk
+++ b/apps/HelloPDK/jni/Android.mk
@@ -27,6 +27,8 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
HelloJniNative.cpp
+LOCAL_CFLAGS := -Wall -Werror
+
LOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
include $(BUILD_SHARED_LIBRARY)