summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-13 08:52:20 +0200
committergitbuildkicker <android-build@google.com>2017-04-13 22:40:19 +0200
commit235cc8c7a489969de3f36598cf4c979c82cd90c1 (patch)
tree90ea5c0f88f2ad2e2ef80b3ede8ed64691a9b35a
parentmerge in oc-release history after reset to oc-dev (diff)
downloadandroid_bootable_recovery-235cc8c7a489969de3f36598cf4c979c82cd90c1.tar
android_bootable_recovery-235cc8c7a489969de3f36598cf4c979c82cd90c1.tar.gz
android_bootable_recovery-235cc8c7a489969de3f36598cf4c979c82cd90c1.tar.bz2
android_bootable_recovery-235cc8c7a489969de3f36598cf4c979c82cd90c1.tar.lz
android_bootable_recovery-235cc8c7a489969de3f36598cf4c979c82cd90c1.tar.xz
android_bootable_recovery-235cc8c7a489969de3f36598cf4c979c82cd90c1.tar.zst
android_bootable_recovery-235cc8c7a489969de3f36598cf4c979c82cd90c1.zip
-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 \