Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true) |
| 5 | LOCAL_SRC_FILES:= src/oaes.c \ |
| 6 | LOCAL_C_INCLUDES := \ |
| 7 | bootable/recovery/openaes/src/isaac \ |
| 8 | bootable/recovery/openaes/inc |
| 9 | LOCAL_CFLAGS:= -g -c -W |
| 10 | LOCAL_MODULE:=openaes |
| 11 | LOCAL_MODULE_TAGS:= eng |
| 12 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 13 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 14 | LOCAL_SHARED_LIBRARIES = libopenaes libc |
| 15 | include $(BUILD_EXECUTABLE) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | LOCAL_MODULE := libopenaes |
| 19 | LOCAL_MODULE_TAGS := eng |
| 20 | LOCAL_C_INCLUDES := \ |
| 21 | bootable/recovery/openaes/src/isaac \ |
| 22 | bootable/recovery/openaes/inc |
| 23 | LOCAL_SRC_FILES = src/oaes_lib.c src/isaac/rand.c |
| 24 | LOCAL_SHARED_LIBRARIES = libc |
| 25 | include $(BUILD_SHARED_LIBRARY) |
| 26 | endif |