summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-09 23:00:36 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-10-09 23:00:37 +0200
commitaa4924cab176a3ac49c4a02e7b6c4012ffa50ee4 (patch)
tree6f811017650c25e772167b06a586c7534025f513 /Android.mk
parentMerge "edify: Move State.script and State.errmsg to std::string." (diff)
parentDisable the meaningless parts of the UI for A/B. (diff)
downloadandroid_bootable_recovery-aa4924cab176a3ac49c4a02e7b6c4012ffa50ee4.tar
android_bootable_recovery-aa4924cab176a3ac49c4a02e7b6c4012ffa50ee4.tar.gz
android_bootable_recovery-aa4924cab176a3ac49c4a02e7b6c4012ffa50ee4.tar.bz2
android_bootable_recovery-aa4924cab176a3ac49c4a02e7b6c4012ffa50ee4.tar.lz
android_bootable_recovery-aa4924cab176a3ac49c4a02e7b6c4012ffa50ee4.tar.xz
android_bootable_recovery-aa4924cab176a3ac49c4a02e7b6c4012ffa50ee4.tar.zst
android_bootable_recovery-aa4924cab176a3ac49c4a02e7b6c4012ffa50ee4.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 7fa98b049..15e281cf6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -101,6 +101,10 @@ LOCAL_HAL_STATIC_LIBRARIES := libhealthd
LOCAL_C_INCLUDES += system/extras/ext4_utils
LOCAL_STATIC_LIBRARIES += libext4_utils_static libz
+ifeq ($(AB_OTA_UPDATER),true)
+ LOCAL_CFLAGS += -DAB_OTA_UPDATER=1
+endif
+
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
ifeq ($(TARGET_RECOVERY_UI_LIB),)