aboutsummaryrefslogtreecommitdiff
path: root/bootloader_message
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-28 11:42:17 -0700
committerTianjie Xu <xunchang@google.com>2016-09-30 11:18:01 -0700
commit17e316cce0047dcb892fb6dae9924cf6e0b41516 (patch)
treeed0fa36534423e5fa55c22afa38248bd1dd303c1 /bootloader_message
parent4c3f6ab8f7be21acf33ff0dfabec9047aac36e3c (diff)
Turn on -Werror for recovery
Also remove the 0xff comparison when validating the bootloader message fields. As the fields won't be erased to 0xff after we remove the MTD support. Bug: 28202046 Test: The recovery folder compiles for aosp_x86-eng Change-Id: Ibb30ea1b2b28676fb08c7e92a1e5f7b6ef3247ab (cherry picked from commit 7aa88748f6ec4e53333d1a15747bc44826ccc410)
Diffstat (limited to 'bootloader_message')
-rw-r--r--bootloader_message/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootloader_message/Android.mk b/bootloader_message/Android.mk
index 815ac67d..a8c50819 100644
--- a/bootloader_message/Android.mk
+++ b/bootloader_message/Android.mk
@@ -19,6 +19,7 @@ LOCAL_CLANG := true
LOCAL_SRC_FILES := bootloader_message.cpp
LOCAL_MODULE := libbootloader_message
LOCAL_STATIC_LIBRARIES := libbase libfs_mgr
+LOCAL_CFLAGS := -Werror
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
include $(BUILD_STATIC_LIBRARY)