diff options
author | Greg Hackmann <ghackmann@google.com> | 2015-03-04 16:45:49 -0800 |
---|---|---|
committer | Greg Hackmann <ghackmann@google.com> | 2015-03-10 15:14:38 -0700 |
commit | e6b793c7b03dfc100e3f4fdba2571fa254e7650d (patch) | |
tree | ade9490dc89d7a0f1719782412e52a962086a6f0 /adf | |
parent | 39b0c1c67d8c3c2ca1af4a61542c30fe001e7f8a (diff) | |
download | system_core-e6b793c7b03dfc100e3f4fdba2571fa254e7650d.zip system_core-e6b793c7b03dfc100e3f4fdba2571fa254e7650d.tar.gz system_core-e6b793c7b03dfc100e3f4fdba2571fa254e7650d.tar.bz2 |
libadf: enable -Werror
Bug: 19606869
Change-Id: If2ea55732e71e8288641b6b34d229b367fd3fb3b
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'adf')
-rw-r--r-- | adf/libadf/Android.mk | 1 | ||||
-rw-r--r-- | adf/libadf/tests/Android.mk | 1 | ||||
-rw-r--r-- | adf/libadfhwc/Android.mk | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/adf/libadf/Android.mk b/adf/libadf/Android.mk index 908aa6c..7df354b 100644 --- a/adf/libadf/Android.mk +++ b/adf/libadf/Android.mk @@ -18,6 +18,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := adf.c LOCAL_MODULE := libadf LOCAL_MODULE_TAGS := optional +LOCAL_CFLAGS += -Werror LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include LOCAL_C_INCLUDES += $(LOCAL_EXPORT_C_INCLUDE_DIRS) include $(BUILD_STATIC_LIBRARY) diff --git a/adf/libadf/tests/Android.mk b/adf/libadf/tests/Android.mk index 93efafa..68e5817 100644 --- a/adf/libadf/tests/Android.mk +++ b/adf/libadf/tests/Android.mk @@ -19,4 +19,5 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := adf_test.cpp LOCAL_MODULE := adf-unit-tests LOCAL_STATIC_LIBRARIES := libadf +LOCAL_CFLAGS += -Werror include $(BUILD_NATIVE_TEST) diff --git a/adf/libadfhwc/Android.mk b/adf/libadfhwc/Android.mk index acea322..898f9c9 100644 --- a/adf/libadfhwc/Android.mk +++ b/adf/libadfhwc/Android.mk @@ -19,7 +19,7 @@ LOCAL_SRC_FILES := adfhwc.cpp LOCAL_MODULE := libadfhwc LOCAL_MODULE_TAGS := optional LOCAL_STATIC_LIBRARIES := libadf liblog libutils -LOCAL_CFLAGS += -DLOG_TAG=\"adfhwc\" +LOCAL_CFLAGS += -DLOG_TAG=\"adfhwc\" -Werror LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include LOCAL_C_INCLUDES += $(LOCAL_EXPORT_C_INCLUDE_DIRS) include $(BUILD_STATIC_LIBRARY) |