summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2014-05-15 17:16:46 -0500
committerMark Salyzyn2014-05-21 14:58:38 -0500
commit6e60d390d06886c7744f1543bf0431046f0879ee (patch)
tree12c42083d29751582073472dee3f395a519cb230 /libsuspend
parent72c22bf69b969c8fa094ecd62e9612996d8f9434 (diff)
downloadplatform-system-core-6e60d390d06886c7744f1543bf0431046f0879ee.tar.gz
platform-system-core-6e60d390d06886c7744f1543bf0431046f0879ee.tar.xz
platform-system-core-6e60d390d06886c7744f1543bf0431046f0879ee.zip
libsuspend: Turn on -Werror
Change-Id: I4ea982ab7d68a596ac79d93a01c05a109d24672d
Diffstat (limited to 'libsuspend')
-rw-r--r--libsuspend/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsuspend/Android.mk b/libsuspend/Android.mk
index a2fa3e0d8..1ba2f59a9 100644
--- a/libsuspend/Android.mk
+++ b/libsuspend/Android.mk
@@ -18,6 +18,7 @@ LOCAL_MODULE_TAGS := optional
18LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 18LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
19LOCAL_C_INCLUDES += $(LOCAL_PATH)/include 19LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
20LOCAL_SHARED_LIBRARIES := $(libsuspend_libraries) 20LOCAL_SHARED_LIBRARIES := $(libsuspend_libraries)
21LOCAL_CFLAGS := -Werror
21#LOCAL_CFLAGS += -DLOG_NDEBUG=0 22#LOCAL_CFLAGS += -DLOG_NDEBUG=0
22include $(BUILD_SHARED_LIBRARY) 23include $(BUILD_SHARED_LIBRARY)
23 24
@@ -27,5 +28,6 @@ LOCAL_MODULE := libsuspend
27LOCAL_MODULE_TAGS := optional 28LOCAL_MODULE_TAGS := optional
28LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 29LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
29LOCAL_C_INCLUDES += $(LOCAL_PATH)/include 30LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
31LOCAL_CFLAGS := -Werror
30#LOCAL_CFLAGS += -DLOG_NDEBUG=0 32#LOCAL_CFLAGS += -DLOG_NDEBUG=0
31include $(BUILD_STATIC_LIBRARY) 33include $(BUILD_STATIC_LIBRARY)