-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.mk
44 lines (34 loc) · 1.13 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
LOCAL_PATH := device/Nokia/PDA_sprout
ifeq ($(TARGET_DEVICE),PDA_sprout)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif
ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
LOCAL_PATH:= device/Nokia/PDA_sprout
include $(CLEAR_VARS)
LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib
LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64
sourceFiles := \
cryptfs_hw.c
commonSharedLibraries := \
libcutils \
libutils \
libdl \
libhardware
commonIncludes := \
hardware/libhardware/include/hardware/
LOCAL_C_INCLUDES := $(commonIncludes)
LOCAL_SRC_FILES := $(sourceFiles)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE:= libcryptfs_hw
LOCAL_SHARED_LIBRARIES := $(commonSharedLibraries)
LOCAL_MODULE_OWNER := qcom
ifeq ($(TARGET_SWV8_DISK_ENCRYPTION),true)
LOCAL_CFLAGS += -DCONFIG_SWV8_DISK_ENCRYPTION
endif
# USE_ICE_FOR_STORAGE_ENCRYPTION would be true in future if
# TARGET_USE_EMMC_USE_ICE is set
ifeq ($(TARGET_USE_UFS_ICE),true)
LOCAL_CFLAGS += -DUSE_ICE_FOR_STORAGE_ENCRYPTION
endif
include $(BUILD_SHARED_LIBRARY)
endif