1 LOCAL_PATH:= $(call my-dir)
6 CryptCommandListener.cpp \
31 common_c_includes := \
32 system/extras/ext4_utils \
33 system/extras/f2fs_utils \
34 external/scrypt/lib/crypto \
35 frameworks/native/include \
36 system/security/keystore \
37 hardware/libhardware/include/hardware \
38 system/security/softkeymaster/include/keymaster
40 common_shared_libraries := \
57 common_static_libraries := \
64 vold_conlyflags := -std=c11
65 vold_cflags := -Werror -Wall -Wno-missing-field-initializers -Wno-unused-variable -Wno-unused-parameter
69 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
70 LOCAL_MODULE := libvold
72 LOCAL_SRC_FILES := $(common_src_files)
73 LOCAL_C_INCLUDES := $(common_c_includes)
74 LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
75 LOCAL_STATIC_LIBRARIES := $(common_static_libraries)
76 LOCAL_MODULE_TAGS := eng tests
77 LOCAL_CFLAGS := $(vold_cflags)
78 LOCAL_CONLYFLAGS := $(vold_conlyflags)
80 include $(BUILD_STATIC_LIBRARY)
84 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
91 LOCAL_C_INCLUDES := $(common_c_includes)
92 LOCAL_CFLAGS := $(vold_cflags)
93 LOCAL_CONLYFLAGS := $(vold_conlyflags)
95 ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
96 LOCAL_C_INCLUDES += $(TARGET_CRYPTFS_HW_PATH)
97 common_shared_libraries += libcryptfs_hw
98 LOCAL_CFLAGS += -DCONFIG_HW_DISK_ENCRYPTION
101 LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
102 LOCAL_STATIC_LIBRARIES := $(common_static_libraries)
104 include $(BUILD_EXECUTABLE)
106 include $(CLEAR_VARS)
108 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
110 LOCAL_SRC_FILES:= vdc.c
112 LOCAL_SHARED_LIBRARIES := libcutils
113 LOCAL_CFLAGS := $(vold_cflags)
114 LOCAL_CONLYFLAGS := $(vold_conlyflags)
116 include $(BUILD_EXECUTABLE)