summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-05-24 02:43:41 +0200
committerTao Bao <tbao@google.com>2016-10-09 21:55:50 +0200
commitb0c3f6ffebded0bc9a55e593456ff5e30e17201e (patch)
tree6f811017650c25e772167b06a586c7534025f513 /Android.mk
parentMerge "edify: Move State.script and State.errmsg to std::string." (diff)
downloadandroid_bootable_recovery-b0c3f6ffebded0bc9a55e593456ff5e30e17201e.tar
android_bootable_recovery-b0c3f6ffebded0bc9a55e593456ff5e30e17201e.tar.gz
android_bootable_recovery-b0c3f6ffebded0bc9a55e593456ff5e30e17201e.tar.bz2
android_bootable_recovery-b0c3f6ffebded0bc9a55e593456ff5e30e17201e.tar.lz
android_bootable_recovery-b0c3f6ffebded0bc9a55e593456ff5e30e17201e.tar.xz
android_bootable_recovery-b0c3f6ffebded0bc9a55e593456ff5e30e17201e.tar.zst
android_bootable_recovery-b0c3f6ffebded0bc9a55e593456ff5e30e17201e.zip
Diffstat (limited to '')
-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),)