summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-15 15:16:46 -0700
committerMark Salyzyn <salyzyn@google.com>2014-05-21 12:58:38 -0700
commit72c22bf69b969c8fa094ecd62e9612996d8f9434 (patch)
tree996d88f4d5e689b5bfa8a77fa866170795b7c057
parent676ffd54cb8be3ca5544349e475ddc8945dee5a9 (diff)
downloadsystem_core-72c22bf69b969c8fa094ecd62e9612996d8f9434.zip
system_core-72c22bf69b969c8fa094ecd62e9612996d8f9434.tar.gz
system_core-72c22bf69b969c8fa094ecd62e9612996d8f9434.tar.bz2
libion: Turn on -Werror
Change-Id: I0a933623147fb7bfb7251b1d9213cc174619ed42
-rw-r--r--libion/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/libion/Android.mk b/libion/Android.mk
index e5d495b..6562cd3 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))