summaryrefslogtreecommitdiffstats
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-19 03:54:22 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-19 03:54:22 +0200
commit9c5ae7445fc58ed4f20dae34a44ab7c4006f531a (patch)
tree76fe46ade651071b75929bc62997e19c1494aeea /tests/Android.mk
parentinit.rc: Remove sys.powerctl action am: 37ac94978c (diff)
parentMerge "Add tests for update_binary_command()." am: 44f61b4ce5 am: 1fc109bdc7 (diff)
downloadandroid_bootable_recovery-9c5ae7445fc58ed4f20dae34a44ab7c4006f531a.tar
android_bootable_recovery-9c5ae7445fc58ed4f20dae34a44ab7c4006f531a.tar.gz
android_bootable_recovery-9c5ae7445fc58ed4f20dae34a44ab7c4006f531a.tar.bz2
android_bootable_recovery-9c5ae7445fc58ed4f20dae34a44ab7c4006f531a.tar.lz
android_bootable_recovery-9c5ae7445fc58ed4f20dae34a44ab7c4006f531a.tar.xz
android_bootable_recovery-9c5ae7445fc58ed4f20dae34a44ab7c4006f531a.tar.zst
android_bootable_recovery-9c5ae7445fc58ed4f20dae34a44ab7c4006f531a.zip
Diffstat (limited to 'tests/Android.mk')
-rw-r--r--tests/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index a1f0d4892..20cbcc147 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -85,6 +85,10 @@ LOCAL_CFLAGS := \
-Werror \
-D_FILE_OFFSET_BITS=64
+ifeq ($(AB_OTA_UPDATER),true)
+LOCAL_CFLAGS += -DAB_OTA_UPDATER=1
+endif
+
LOCAL_MODULE := recovery_component_test
LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_C_INCLUDES := bootable/recovery