summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-13 08:52:20 +0200
committerTao Bao <tbao@google.com>2017-04-13 17:00:17 +0200
commit25dbe1717e3096ee59bfa4385cbcf80a972016a6 (patch)
tree90ea5c0f88f2ad2e2ef80b3ede8ed64691a9b35a /Android.mk
parentVerify the package compatibility with libvintf. (diff)
downloadandroid_bootable_recovery-25dbe1717e3096ee59bfa4385cbcf80a972016a6.tar
android_bootable_recovery-25dbe1717e3096ee59bfa4385cbcf80a972016a6.tar.gz
android_bootable_recovery-25dbe1717e3096ee59bfa4385cbcf80a972016a6.tar.bz2
android_bootable_recovery-25dbe1717e3096ee59bfa4385cbcf80a972016a6.tar.lz
android_bootable_recovery-25dbe1717e3096ee59bfa4385cbcf80a972016a6.tar.xz
android_bootable_recovery-25dbe1717e3096ee59bfa4385cbcf80a972016a6.tar.zst
android_bootable_recovery-25dbe1717e3096ee59bfa4385cbcf80a972016a6.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 03adf32bf..2a33bbe80 100644
--- a/Android.mk
+++ b/Android.mk
@@ -45,6 +45,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 \