summaryrefslogtreecommitdiffstats
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-19 03:50:23 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-19 03:50:23 +0200
commitd218dca8f983531ba2850298d1bb14a8826bcd08 (patch)
treeba40199dcf40c4adf2994c9ecac12201a00323f7 /tests/Android.mk
parentMerge "Add 'system' to update_verifier's gid" am: ba3f078f6f (diff)
parentMerge "Add tests for update_binary_command()." (diff)
downloadandroid_bootable_recovery-d218dca8f983531ba2850298d1bb14a8826bcd08.tar
android_bootable_recovery-d218dca8f983531ba2850298d1bb14a8826bcd08.tar.gz
android_bootable_recovery-d218dca8f983531ba2850298d1bb14a8826bcd08.tar.bz2
android_bootable_recovery-d218dca8f983531ba2850298d1bb14a8826bcd08.tar.lz
android_bootable_recovery-d218dca8f983531ba2850298d1bb14a8826bcd08.tar.xz
android_bootable_recovery-d218dca8f983531ba2850298d1bb14a8826bcd08.tar.zst
android_bootable_recovery-d218dca8f983531ba2850298d1bb14a8826bcd08.zip
Diffstat (limited to '')
-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