summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Android.mk20
1 files changed, 3 insertions, 17 deletions
diff --git a/Android.mk b/Android.mk
index e10fef108..130575fea 100644
--- a/Android.mk
+++ b/Android.mk
@@ -302,11 +302,6 @@ ifneq ($(wildcard bionic/libc/include/sys/capability.h),)
LOCAL_CFLAGS += -DHAVE_CAPABILITIES
endif
-# Auto filled build flag
-ifeq ($(PLATFORM_VERSION), 5.0.1)
- LOCAL_CFLAGS += -DANDROID_VERSION=5
-endif
-
LOCAL_ADDITIONAL_DEPENDENCIES := \
dump_image \
erase_image \
@@ -451,12 +446,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libaosprecovery
LOCAL_MODULE_TAGS := eng optional
LOCAL_C_INCLUDES := $(LOCAL_PATH)/libmincrypt/includes
-LOCAL_SRC_FILES := adb_install.cpp asn1_decoder.cpp bootloader.cpp mtdutils/mtdutils.c legacy_property_service.c
-ifeq ($(PLATFORM_VERSION), 5.0.1)
- LOCAL_SRC_FILES += verifier.cpp
-else
- LOCAL_SRC_FILES += verifierold.cpp
-endif
+LOCAL_SRC_FILES := adb_install.cpp asn1_decoder.cpp bootloader.cpp mtdutils/mtdutils.c legacy_property_service.c verifier.cpp
LOCAL_SHARED_LIBRARIES += libc liblog libcutils libmtdutils libfusesideload libmincrypttwrp
ifneq ($(BOARD_RECOVERY_BLDRMSG_OFFSET),)
@@ -493,7 +483,8 @@ include $(commands_recovery_local_path)/injecttwrp/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)/mtp/Android.mk
+ $(commands_recovery_local_path)/mtp/Android.mk \
+ $(commands_recovery_local_path)/minzip/Android.mk
ifneq ($(TARGET_ARCH), arm64)
include $(commands_recovery_local_path)/dosfstools/Android.mk
@@ -503,11 +494,6 @@ ifeq ($(TW_INCLUDE_CRYPTO), true)
include $(commands_recovery_local_path)/crypto/lollipop/Android.mk
include $(commands_recovery_local_path)/crypto/scrypt/Android.mk
endif
-ifeq ($(PLATFORM_VERSION), 5.0.1)
- include $(commands_recovery_local_path)/minzip/Android.mk
-else
- include $(commands_recovery_local_path)/minzipold/Android.mk
-endif
ifeq ($(BUILD_ID), GINGERBREAD)
TW_NO_EXFAT := true
endif