summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-13 08:52:20 +0200
committerTao Bao <tbao@google.com>2017-04-18 00:58:56 +0200
commit7fdcb19e10528afd1cd0a80fa2efa51e5e6e3aba (patch)
treeb4c69bd86c26d7ca0dad2331a83797408d2544dd
parentVerify the package compatibility with libvintf. (diff)
downloadandroid_bootable_recovery-7fdcb19e10528afd1cd0a80fa2efa51e5e6e3aba.tar
android_bootable_recovery-7fdcb19e10528afd1cd0a80fa2efa51e5e6e3aba.tar.gz
android_bootable_recovery-7fdcb19e10528afd1cd0a80fa2efa51e5e6e3aba.tar.bz2
android_bootable_recovery-7fdcb19e10528afd1cd0a80fa2efa51e5e6e3aba.tar.lz
android_bootable_recovery-7fdcb19e10528afd1cd0a80fa2efa51e5e6e3aba.tar.xz
android_bootable_recovery-7fdcb19e10528afd1cd0a80fa2efa51e5e6e3aba.tar.zst
android_bootable_recovery-7fdcb19e10528afd1cd0a80fa2efa51e5e6e3aba.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 \