openaes: fully remove from build with encrypted backups disabled

Change-Id: I7941d90deb6c07bd354bfd5594b76a25ceccef1e
This commit is contained in:
Captain Throwback
2022-04-05 17:10:29 -04:00
committed by bigbiff
parent 25cee82e98
commit ace1121c64
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ endif
ifeq ($(BOARD_HAS_NO_REAL_SDCARD),)
TWRP_REQUIRED_MODULES += sgdisk
endif
ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true)
ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS),)
TWRP_REQUIRED_MODULES += openaes openaes_license
endif
ifeq ($(TW_INCLUDE_DUMLOCK), true)
+2 -2
View File
@@ -255,7 +255,7 @@ endif
ifneq ($(wildcard system/core/libsparse/Android.*),)
RECOVERY_LIBRARY_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsparse.so
endif
ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true)
ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS),)
RECOVERY_LIBRARY_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libopenaes.so
endif
ifeq ($(TARGET_USERIMAGES_USE_F2FS), true)
@@ -405,7 +405,7 @@ LOCAL_REQUIRED_MODULES += init_second_stage.recovery reboot.recovery plat_servic
include $(BUILD_PHONY_PACKAGE)
# copy license file for OpenAES
ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true)
ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS),)
include $(CLEAR_VARS)
LOCAL_MODULE := openaes_license
LOCAL_MODULE_TAGS := optional