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 7aa88748f6)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user