diff options
author | bigbiff bigbiff <bigbiff@teamw.in> | 2014-09-03 00:59:01 +0200 |
---|---|---|
committer | bigbiff bigbiff <bigbiff@teamw.in> | 2014-09-03 03:44:49 +0200 |
commit | c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30 (patch) | |
tree | a994f2110aeeb58ef2bc1f23c31f695cd840ac46 /Android.mk | |
parent | Fix derp (diff) | |
download | android_bootable_recovery-c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30.tar android_bootable_recovery-c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30.tar.gz android_bootable_recovery-c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30.tar.bz2 android_bootable_recovery-c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30.tar.lz android_bootable_recovery-c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30.tar.xz android_bootable_recovery-c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30.tar.zst android_bootable_recovery-c7eee6fef0263ed4eb5aa0d934a0a8c972d41b30.zip |
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk index 921a84bd9..ea6bb57c9 100644 --- a/Android.mk +++ b/Android.mk @@ -73,7 +73,8 @@ LOCAL_STATIC_LIBRARIES := LOCAL_SHARED_LIBRARIES := LOCAL_STATIC_LIBRARIES += libcrecovery libguitwrp -LOCAL_SHARED_LIBRARIES += libz libc libstlport libcutils libstdc++ libtar libblkid libminuitwrp libminadbd libmtdutils libminzip libaosprecovery +LOCAL_SHARED_LIBRARIES += libz libc libstlport libcutils libstdc++ libtar libblkid libminuitwrp libminadbd libmtdutils libminzip libaosprecovery libcorkscrew +LOCAL_SHARED_LIBRARIES += libgccdemangle ifneq ($(wildcard system/core/libsparse/Android.mk),) LOCAL_SHARED_LIBRARIES += libsparse @@ -84,6 +85,7 @@ ifeq ($(TW_OEM_BUILD),true) BOARD_HAS_NO_REAL_SDCARD := true TW_USE_TOOLBOX := true TW_EXCLUDE_SUPERSU := true + TW_EXCLUDE_MTP := true endif ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) LOCAL_CFLAGS += -DUSE_EXT4 @@ -124,6 +126,10 @@ LOCAL_MODULE_TAGS := eng LOCAL_C_INCLUDES += system/extras/ext4_utils #TWRP Build Flags +ifeq ($(TW_EXCLUDE_MTP),) + LOCAL_SHARED_LIBRARIES += libtwrpmtp + LOCAL_CFLAGS += -DTW_HAS_MTP +endif ifneq ($(TW_NO_SCREEN_TIMEOUT),) LOCAL_CFLAGS += -DTW_NO_SCREEN_TIMEOUT endif @@ -373,7 +379,8 @@ include $(commands_recovery_local_path)/injecttwrp/Android.mk \ $(commands_recovery_local_path)/openaes/Android.mk \ $(commands_recovery_local_path)/toolbox/Android.mk \ $(commands_recovery_local_path)/libmincrypt/Android.mk \ - $(commands_recovery_local_path)/twrpTarMain/Android.mk + $(commands_recovery_local_path)/twrpTarMain/Android.mk \ + $(commands_recovery_local_path)/mtp/Android.mk ifeq ($(TW_INCLUDE_CRYPTO_SAMSUNG), true) include $(commands_recovery_local_path)/crypto/libcrypt_samsung/Android.mk @@ -411,5 +418,3 @@ endif ifeq ($(TW_INCLUDE_FB2PNG), true) include $(commands_recovery_local_path)/fb2png/Android.mk endif - -commands_recovery_local_path := |