diff options
author | Dees_Troy <dees_troy@teamw.in> | 2013-05-04 14:39:56 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@yahoo.com> | 2013-06-22 23:16:55 +0200 |
commit | 83bd483f3db1df4b69c1612030e1a1be05b303ad (patch) | |
tree | d5c7b468b831244bfcd90aadda98b9d359d0d280 /prebuilt/Android.mk | |
parent | Fix building of updater binary (diff) | |
download | android_bootable_recovery-83bd483f3db1df4b69c1612030e1a1be05b303ad.tar android_bootable_recovery-83bd483f3db1df4b69c1612030e1a1be05b303ad.tar.gz android_bootable_recovery-83bd483f3db1df4b69c1612030e1a1be05b303ad.tar.bz2 android_bootable_recovery-83bd483f3db1df4b69c1612030e1a1be05b303ad.tar.lz android_bootable_recovery-83bd483f3db1df4b69c1612030e1a1be05b303ad.tar.xz android_bootable_recovery-83bd483f3db1df4b69c1612030e1a1be05b303ad.tar.zst android_bootable_recovery-83bd483f3db1df4b69c1612030e1a1be05b303ad.zip |
Diffstat (limited to '')
-rw-r--r-- | prebuilt/Android.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 00a86630f..147095100 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -79,6 +79,10 @@ endif ifneq ($(wildcard system/core/libsparse/Android.mk),) RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsparse.so endif +ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) + RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/openaes + RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libopenaes.so +endif TWRP_AUTOGEN := $(intermediates)/teamwin @@ -121,6 +125,17 @@ ifeq ($(BOARD_HAS_NO_REAL_SDCARD),) include $(BUILD_PREBUILT) endif +# copy license file for OpenAES +ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) + include $(CLEAR_VARS) + LOCAL_MODULE := ../openaes/LICENSE + LOCAL_MODULE_TAGS := eng + LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES + LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/license/openaes + LOCAL_SRC_FILES := $(LOCAL_MODULE) + include $(BUILD_PREBUILT) +endif + ifeq ($(TW_INCLUDE_DUMLOCK), true) #htcdumlock for /system for dumlock include $(CLEAR_VARS) |