summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhacker29 <dhackerdvm@gmail.com>2015-04-08 03:22:42 -0400
committerTom Marshall <tdm@cyngn.com>2015-11-25 15:35:47 -0800
commit0b0db7d064349f483635f577ebc70ad2df479f8c (patch)
tree52d95c9c1628ad30f3ebfa28393d9329cab119e8
parentfb1db30c09b083bebe33b81f4f6771aed21399f7 (diff)
downloadbootable_recovery-0b0db7d064349f483635f577ebc70ad2df479f8c.zip
bootable_recovery-0b0db7d064349f483635f577ebc70ad2df479f8c.tar.gz
bootable_recovery-0b0db7d064349f483635f577ebc70ad2df479f8c.tar.bz2
Don't disable including TARGET_RECOVERY_UI_LIB if exists
This is needed for fugu (Nexus Player) as it has one button on the bottom. Change-Id: Ic9f1f546abd90ff9bb6f983bc57628bcb45d641c
-rw-r--r--Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index d51e218..83d31f0 100644
--- a/Android.mk
+++ b/Android.mk
@@ -132,11 +132,11 @@ LOCAL_CFLAGS += -DUSE_EXT4 -DMINIVOLD
LOCAL_C_INCLUDES += system/extras/ext4_utils system/core/fs_mgr/include external/fsck_msdos
LOCAL_C_INCLUDES += system/vold
-#ifeq ($(TARGET_RECOVERY_UI_LIB),)
+ifeq ($(TARGET_RECOVERY_UI_LIB),)
LOCAL_SRC_FILES += default_device.cpp
-#else
-# LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UI_LIB)
-#endif
+else
+ LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UI_LIB)
+endif
LOCAL_C_INCLUDES += system/extras/ext4_utils
LOCAL_C_INCLUDES += external/boringssl/include