summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-01-10 15:33:27 +0100
committerDees_Troy <dees_troy@teamw.in>2013-01-10 15:33:27 +0100
commit4546fe778d8bd1d4cd6f72532a75ac87ecb33e0b (patch)
tree4e89eec9518a5bfc391f9563be1940d7c13608d1
parentFix ifdefs for Samsung encryption (diff)
downloadandroid_bootable_recovery-4546fe778d8bd1d4cd6f72532a75ac87ecb33e0b.tar
android_bootable_recovery-4546fe778d8bd1d4cd6f72532a75ac87ecb33e0b.tar.gz
android_bootable_recovery-4546fe778d8bd1d4cd6f72532a75ac87ecb33e0b.tar.bz2
android_bootable_recovery-4546fe778d8bd1d4cd6f72532a75ac87ecb33e0b.tar.lz
android_bootable_recovery-4546fe778d8bd1d4cd6f72532a75ac87ecb33e0b.tar.xz
android_bootable_recovery-4546fe778d8bd1d4cd6f72532a75ac87ecb33e0b.tar.zst
android_bootable_recovery-4546fe778d8bd1d4cd6f72532a75ac87ecb33e0b.zip
-rw-r--r--Android.mk4
-rw-r--r--prebuilt/Android.mk3
2 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 6600e15a2..09e869e41 100644
--- a/Android.mk
+++ b/Android.mk
@@ -67,6 +67,10 @@ LOCAL_STATIC_LIBRARIES += libminadbd libminzip libunz
LOCAL_STATIC_LIBRARIES += libminuitwrp libpixelflinger_static libpng libjpegtwrp libgui
LOCAL_SHARED_LIBRARIES += libz libc libstlport libcutils libstdc++ libmincrypt libext4_utils libtar
+ifneq ($(wildcard system/core/libsparse/Android.mk),)
+LOCAL_SHARED_LIBRARIES += libsparse
+endif
+
ifeq ($(TARGET_USERIMAGES_USE_EXT4), true)
LOCAL_CFLAGS += -DUSE_EXT4
LOCAL_C_INCLUDES += system/extras/ext4_utils
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index d2024f39e..bf60782c1 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -72,6 +72,9 @@ endif
ifeq ($(TARGET_USERIMAGES_USE_EXT4), true)
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/make_ext4fs
endif
+ifneq ($(wildcard system/core/libsparse/Android.mk),)
+ RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsparse.so
+endif
TWRP_AUTOGEN := $(intermediates)/teamwin