From 17e316cce0047dcb892fb6dae9924cf6e0b41516 Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Wed, 28 Sep 2016 11:42:17 -0700 Subject: 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) --- update_verifier/Android.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'update_verifier/Android.mk') diff --git a/update_verifier/Android.mk b/update_verifier/Android.mk index 2bfd01622..090db998b 100644 --- a/update_verifier/Android.mk +++ b/update_verifier/Android.mk @@ -23,5 +23,6 @@ LOCAL_MODULE := update_verifier LOCAL_SHARED_LIBRARIES := libbase libcutils libhardware liblog LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. +LOCAL_CFLAGS := -Werror include $(BUILD_EXECUTABLE) -- cgit v1.2.3