summaryrefslogtreecommitdiffstats
path: root/uncrypt/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-30 19:48:23 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-30 19:48:23 +0200
commitdbde5cf1d5b76b6cee3f22e17b05881551ac8d8b (patch)
treebbbd3b7918991412222eb8a534153aa19ef593df /uncrypt/Android.mk
parentMerge "Report uncrypt errors in details" am: af8b9363c6 (diff)
parentMerge "Turn on -Werror for recovery" (diff)
downloadandroid_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.gz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.bz2
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.lz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.xz
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.tar.zst
android_bootable_recovery-dbde5cf1d5b76b6cee3f22e17b05881551ac8d8b.zip
Diffstat (limited to 'uncrypt/Android.mk')
-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)