summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2014-04-30 10:50:53 -0500
committerMark Salyzyn2014-05-07 18:56:21 -0500
commita04464adaf5b95ae953f8577632d3cf8aa2c80a3 (patch)
treec4310ee12b17d98841e3e7cdd819618f8a95c080 /liblog/Android.mk
parentd150618d8d31ca1b56258902c40ad5c38f1c4e31 (diff)
downloadplatform-system-core-a04464adaf5b95ae953f8577632d3cf8aa2c80a3.tar.gz
platform-system-core-a04464adaf5b95ae953f8577632d3cf8aa2c80a3.tar.xz
platform-system-core-a04464adaf5b95ae953f8577632d3cf8aa2c80a3.zip
liblog: set -Werror
- Deal with some -Wunused issues - Cleanup UNUSED to __unused transition Change-Id: Icd33808d4c974625f4fd0a126a90a2b4c90c8314
Diffstat (limited to 'liblog/Android.mk')
-rw-r--r--liblog/Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/liblog/Android.mk b/liblog/Android.mk
index 41440ad97..69ca4164f 100644
--- a/liblog/Android.mk
+++ b/liblog/Android.mk
@@ -57,7 +57,7 @@ endif
57# ======================================================== 57# ========================================================
58LOCAL_MODULE := liblog 58LOCAL_MODULE := liblog
59LOCAL_SRC_FILES := $(liblog_host_sources) 59LOCAL_SRC_FILES := $(liblog_host_sources)
60LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 60LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 -Werror
61include $(BUILD_HOST_STATIC_LIBRARY) 61include $(BUILD_HOST_STATIC_LIBRARY)
62 62
63include $(CLEAR_VARS) 63include $(CLEAR_VARS)
@@ -74,7 +74,7 @@ include $(BUILD_HOST_SHARED_LIBRARY)
74include $(CLEAR_VARS) 74include $(CLEAR_VARS)
75LOCAL_MODULE := lib64log 75LOCAL_MODULE := lib64log
76LOCAL_SRC_FILES := $(liblog_host_sources) 76LOCAL_SRC_FILES := $(liblog_host_sources)
77LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 -m64 77LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 -m64 -Werror
78include $(BUILD_HOST_STATIC_LIBRARY) 78include $(BUILD_HOST_STATIC_LIBRARY)
79 79
80# Shared and static library for target 80# Shared and static library for target
@@ -82,13 +82,13 @@ include $(BUILD_HOST_STATIC_LIBRARY)
82include $(CLEAR_VARS) 82include $(CLEAR_VARS)
83LOCAL_MODULE := liblog 83LOCAL_MODULE := liblog
84LOCAL_SRC_FILES := $(liblog_target_sources) 84LOCAL_SRC_FILES := $(liblog_target_sources)
85LOCAL_CFLAGS := $(liblog_cflags) 85LOCAL_CFLAGS := -Werror
86include $(BUILD_STATIC_LIBRARY) 86include $(BUILD_STATIC_LIBRARY)
87 87
88include $(CLEAR_VARS) 88include $(CLEAR_VARS)
89LOCAL_MODULE := liblog 89LOCAL_MODULE := liblog
90LOCAL_WHOLE_STATIC_LIBRARIES := liblog 90LOCAL_WHOLE_STATIC_LIBRARIES := liblog
91LOCAL_CFLAGS := $(liblog_cflags) 91LOCAL_CFLAGS := -Werror
92include $(BUILD_SHARED_LIBRARY) 92include $(BUILD_SHARED_LIBRARY)
93 93
94include $(call first-makefiles-under,$(LOCAL_PATH)) 94include $(call first-makefiles-under,$(LOCAL_PATH))