blob: 1beefdac4d5b8d8550fb7c842e7165e6b389a76e [file] [log] [blame]
Dees_Troy83bd4832013-05-04 12:39:56 +00001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4ifneq ($(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)
26endif