summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-13 19:34:28 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-13 19:34:28 +0200
commitb145e43a080cb048193f154526512acd9292ac5b (patch)
tree909890c200b57f873f2db8652645a540de63b8cc
parentVerify the package compatibility with libvintf. (diff)
parentAdd the missing LOCAL_CFLAGS for librecovery. (diff)
downloadandroid_bootable_recovery-b145e43a080cb048193f154526512acd9292ac5b.tar
android_bootable_recovery-b145e43a080cb048193f154526512acd9292ac5b.tar.gz
android_bootable_recovery-b145e43a080cb048193f154526512acd9292ac5b.tar.bz2
android_bootable_recovery-b145e43a080cb048193f154526512acd9292ac5b.tar.lz
android_bootable_recovery-b145e43a080cb048193f154526512acd9292ac5b.tar.xz
android_bootable_recovery-b145e43a080cb048193f154526512acd9292ac5b.tar.zst
android_bootable_recovery-b145e43a080cb048193f154526512acd9292ac5b.zip
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 1b83d75ff..9e374de8f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -47,6 +47,11 @@ LOCAL_SRC_FILES := \
install.cpp
LOCAL_CFLAGS := -Wno-unused-parameter -Werror
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
+
+ifeq ($(AB_OTA_UPDATER),true)
+ LOCAL_CFLAGS += -DAB_OTA_UPDATER=1
+endif
+
LOCAL_MODULE := librecovery
LOCAL_STATIC_LIBRARIES := \
libminui \