f0679f0da4
The new filesystem manager is in charge of mounting the block devices now, removing much of the knowledge from init.<device>.rc. This also let us clean up some init code dealing with encryption, so this change updates vold to work with that. More cleanup is possible, but the main goal of the filesystem manager was to enable e2fsck, not a full cleanup of encryption. Change-Id: I00ea80a923d14770ed8fdd190e8840be195f8514
79 lines
1.3 KiB
Makefile
79 lines
1.3 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
common_src_files := \
|
|
VolumeManager.cpp \
|
|
CommandListener.cpp \
|
|
VoldCommand.cpp \
|
|
NetlinkManager.cpp \
|
|
NetlinkHandler.cpp \
|
|
Volume.cpp \
|
|
DirectVolume.cpp \
|
|
logwrapper.c \
|
|
Process.cpp \
|
|
Ext4.cpp \
|
|
Fat.cpp \
|
|
Loop.cpp \
|
|
Devmapper.cpp \
|
|
ResponseCode.cpp \
|
|
Xwarp.cpp \
|
|
cryptfs.c
|
|
|
|
common_c_includes := \
|
|
$(KERNEL_HEADERS) \
|
|
system/extras/ext4_utils \
|
|
external/openssl/include
|
|
|
|
common_shared_libraries := \
|
|
libsysutils \
|
|
libcutils \
|
|
libdiskconfig \
|
|
libhardware_legacy \
|
|
libcrypto
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libvold
|
|
|
|
LOCAL_SRC_FILES := $(common_src_files)
|
|
|
|
LOCAL_C_INCLUDES := $(common_c_includes)
|
|
|
|
LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
|
|
|
|
LOCAL_STATIC_LIBRARIES := libfs_mgr
|
|
|
|
LOCAL_MODULE_TAGS := eng tests
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE:= vold
|
|
|
|
LOCAL_SRC_FILES := \
|
|
main.cpp \
|
|
$(common_src_files)
|
|
|
|
LOCAL_C_INCLUDES := $(common_c_includes)
|
|
|
|
LOCAL_CFLAGS := -Werror=format
|
|
|
|
LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
|
|
|
|
LOCAL_STATIC_LIBRARIES := libfs_mgr
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= vdc.c
|
|
|
|
LOCAL_MODULE:= vdc
|
|
|
|
LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
|
|
|
|
LOCAL_CFLAGS :=
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils
|
|
|
|
include $(BUILD_EXECUTABLE)
|