From e5d2c25ecf8aeaa1f1dee9215cb70b82a9f74d45 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Wed, 9 May 2018 11:05:44 -0700 Subject: recovery: Configure device menu based on runtime info. Drop the dependency on build time flag of AB_OTA_UPDATER when compiling device.cpp. Note that AB_OTA_UPDATER still guards the package install behavior (install.cpp). This can be extended to cover the entry of "Apply update from SD card". Test: Build and boot into recovery on angler and walleye respectively. Check the recovery menu. Change-Id: I36a6a6b4101ba61d4d374e32353c36cc5716f9ce --- Android.mk | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index afbc950fe..9dfb5f62c 100644 --- a/Android.mk +++ b/Android.mk @@ -185,10 +185,6 @@ LOCAL_STATIC_LIBRARIES := \ LOCAL_HAL_STATIC_LIBRARIES := libhealthd -ifeq ($(AB_OTA_UPDATER),true) - LOCAL_CFLAGS += -DAB_OTA_UPDATER=1 -endif - LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin ifeq ($(BOARD_CACHEIMAGE_PARTITION_SIZE),) -- cgit v1.2.3