summaryrefslogtreecommitdiffstats
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-18 01:46:05 +0200
committerTao Bao <tbao@google.com>2017-04-18 05:44:37 +0200
commitbc4b1fe4c4305ebf0fbfc891b9b508c14b5c8ef8 (patch)
tree4f0f193d3f36e29485339d8d67cb24d3c4dfc3b2 /tests/Android.mk
parentMerge "Fix the double free in verify_package_compatibility()." (diff)
downloadandroid_bootable_recovery-bc4b1fe4c4305ebf0fbfc891b9b508c14b5c8ef8.tar
android_bootable_recovery-bc4b1fe4c4305ebf0fbfc891b9b508c14b5c8ef8.tar.gz
android_bootable_recovery-bc4b1fe4c4305ebf0fbfc891b9b508c14b5c8ef8.tar.bz2
android_bootable_recovery-bc4b1fe4c4305ebf0fbfc891b9b508c14b5c8ef8.tar.lz
android_bootable_recovery-bc4b1fe4c4305ebf0fbfc891b9b508c14b5c8ef8.tar.xz
android_bootable_recovery-bc4b1fe4c4305ebf0fbfc891b9b508c14b5c8ef8.tar.zst
android_bootable_recovery-bc4b1fe4c4305ebf0fbfc891b9b508c14b5c8ef8.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