summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-13 19:53:42 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-13 19:53:42 +0200
commitca4afb4e840417bdc7a4e226e65422c48a5c764f (patch)
tree6ec69e46bc73d4a73e7c750181f9e89add6d2178
parentVerify the package compatibility with libvintf. am: 62e0bc7586 (diff)
parentAdd the missing LOCAL_CFLAGS for librecovery. (diff)
downloadandroid_bootable_recovery-ca4afb4e840417bdc7a4e226e65422c48a5c764f.tar
android_bootable_recovery-ca4afb4e840417bdc7a4e226e65422c48a5c764f.tar.gz
android_bootable_recovery-ca4afb4e840417bdc7a4e226e65422c48a5c764f.tar.bz2
android_bootable_recovery-ca4afb4e840417bdc7a4e226e65422c48a5c764f.tar.lz
android_bootable_recovery-ca4afb4e840417bdc7a4e226e65422c48a5c764f.tar.xz
android_bootable_recovery-ca4afb4e840417bdc7a4e226e65422c48a5c764f.tar.zst
android_bootable_recovery-ca4afb4e840417bdc7a4e226e65422c48a5c764f.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 \