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