You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.5 KiB
55 lines
1.5 KiB
BUILD_VOLD2 := false
|
|
ifneq ($(TARGET_SIMULATOR),true)
|
|
BUILD_VOLD2 := true
|
|
endif
|
|
|
|
ifeq ($(BUILD_VOLD2),true)
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
main.cpp \
|
|
VolumeManager.cpp \
|
|
CommandListener.cpp \
|
|
VoldCommand.cpp \
|
|
NetlinkManager.cpp \
|
|
NetlinkHandler.cpp \
|
|
BlockDevice.cpp \
|
|
Volume.cpp \
|
|
DirectVolume.cpp \
|
|
logwrapper.c \
|
|
Process.cpp \
|
|
Fat.cpp \
|
|
Loop.cpp \
|
|
Devmapper.cpp \
|
|
ResponseCode.cpp \
|
|
Xwarp.cpp
|
|
|
|
LOCAL_MODULE:= vold
|
|
|
|
LOCAL_C_INCLUDES := $(KERNEL_HEADERS) -I../../frameworks/base/include/
|
|
|
|
LOCAL_CFLAGS :=
|
|
|
|
LOCAL_SHARED_LIBRARIES := libsysutils libcutils libdiskconfig
|
|
|
|
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)
|
|
|
|
endif # ifeq ($(BUILD_VOLD,true)
|