From 72c22bf69b969c8fa094ecd62e9612996d8f9434 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Thu, 15 May 2014 15:16:46 -0700 Subject: [PATCH] libion: Turn on -Werror Change-Id: I0a933623147fb7bfb7251b1d9213cc174619ed42 --- libion/Android.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libion/Android.mk b/libion/Android.mk index e5d495b2f..6562cd3e9 100644 --- a/libion/Android.mk +++ b/libion/Android.mk @@ -1,4 +1,4 @@ -LOCAL_PATH:= $(call my-dir) +LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := ion.c @@ -7,6 +7,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := liblog LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers +LOCAL_CFLAGS := -Werror include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) @@ -15,6 +16,7 @@ LOCAL_MODULE := iontest LOCAL_MODULE_TAGS := optional tests LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel-headers LOCAL_SHARED_LIBRARIES := liblog +LOCAL_CFLAGS := -Werror include $(BUILD_EXECUTABLE) include $(call first-makefiles-under,$(LOCAL_PATH))