summaryrefslogtreecommitdiffstats
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-19 06:20:45 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-04-19 06:20:46 +0200
commita6084f8c9b862a3998ad6a2a850520e9179aba0e (patch)
treedcdd81fe523d8a75c2bc280da981fb159df0d6ae /tests/Android.mk
parentinit.rc: Remove sys.powerctl action (diff)
parentAdd tests for update_binary_command(). (diff)
downloadandroid_bootable_recovery-a6084f8c9b862a3998ad6a2a850520e9179aba0e.tar
android_bootable_recovery-a6084f8c9b862a3998ad6a2a850520e9179aba0e.tar.gz
android_bootable_recovery-a6084f8c9b862a3998ad6a2a850520e9179aba0e.tar.bz2
android_bootable_recovery-a6084f8c9b862a3998ad6a2a850520e9179aba0e.tar.lz
android_bootable_recovery-a6084f8c9b862a3998ad6a2a850520e9179aba0e.tar.xz
android_bootable_recovery-a6084f8c9b862a3998ad6a2a850520e9179aba0e.tar.zst
android_bootable_recovery-a6084f8c9b862a3998ad6a2a850520e9179aba0e.zip
Diffstat (limited to 'tests/Android.mk')
-rw-r--r--tests/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index 1e433a76e..22a8efcbb 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -86,6 +86,11 @@ LOCAL_CFLAGS := \
-D_FILE_OFFSET_BITS=64
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
+
+ifeq ($(AB_OTA_UPDATER),true)
+LOCAL_CFLAGS += -DAB_OTA_UPDATER=1
+endif
+
LOCAL_MODULE := recovery_component_test
LOCAL_C_INCLUDES := bootable/recovery
LOCAL_SRC_FILES := \