summaryrefslogtreecommitdiffstats
path: root/uncrypt
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-30 19:41:14 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-09-30 19:41:14 +0200
commit695ef7cacc128efc0b710cb25d39c72da2eaef36 (patch)
tree98edb6021753eec604eb1105c45b4e8e7fa569a3 /uncrypt
parentMerge "Report uncrypt errors in details" (diff)
parentTurn on -Werror for recovery (diff)
downloadandroid_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.gz
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.bz2
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.lz
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.xz
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.tar.zst
android_bootable_recovery-695ef7cacc128efc0b710cb25d39c72da2eaef36.zip
Diffstat (limited to 'uncrypt')
-rw-r--r--uncrypt/Android.mk15
1 files changed, 8 insertions, 7 deletions
diff --git a/uncrypt/Android.mk b/uncrypt/Android.mk
index 09cfdfca5..361379971 100644
--- a/uncrypt/Android.mk
+++ b/uncrypt/Android.mk
@@ -19,23 +19,24 @@ LOCAL_CLANG := true
LOCAL_SRC_FILES := bootloader_message_writer.cpp
LOCAL_MODULE := libbootloader_message_writer
LOCAL_STATIC_LIBRARIES := libbase libfs_mgr
+LOCAL_CFLAGS := -Werror
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
+
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_CLANG := true
-
LOCAL_SRC_FILES := uncrypt.cpp
-
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
-
LOCAL_MODULE := uncrypt
-
-LOCAL_STATIC_LIBRARIES := libbootloader_message_writer libbase \
- liblog libfs_mgr libcutils \
-
+LOCAL_STATIC_LIBRARIES := libbootloader_message_writer \
+ libbase \
+ liblog \
+ libfs_mgr \
+ libcutils
+LOCAL_CFLAGS := -Werror
LOCAL_INIT_RC := uncrypt.rc
include $(BUILD_EXECUTABLE)