Skip to content

Commit

Permalink
libadf: enable -Werror
Browse files Browse the repository at this point in the history
Bug: 19606869

Change-Id: If2ea55732e71e8288641b6b34d229b367fd3fb3b
Signed-off-by: Greg Hackmann <[email protected]>
  • Loading branch information
greghackmann committed Mar 10, 2015
1 parent 39b0c1c commit e6b793c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions adf/libadf/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions adf/libadf/tests/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion adf/libadfhwc/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e6b793c

Please sign in to comment.