2010-01-03 17:59:37 +01:00
|
|
|
BUILD_VOLD2 := false
|
|
|
|
ifneq ($(TARGET_SIMULATOR),true)
|
|
|
|
BUILD_VOLD2 := true
|
|
|
|
endif
|
|
|
|
|
2009-10-11 02:22:08 +02:00
|
|
|
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 \
|
2009-10-13 01:29:01 +02:00
|
|
|
DirectVolume.cpp \
|
2009-12-13 19:40:18 +01:00
|
|
|
logwrapper.c \
|
|
|
|
ProcessKiller.c \
|
2010-01-04 19:09:16 +01:00
|
|
|
geom_mbr_enc.c \
|
2010-01-06 19:33:53 +01:00
|
|
|
Fat.cpp \
|
|
|
|
Loop.cpp
|
2009-10-11 02:22:08 +02:00
|
|
|
|
|
|
|
LOCAL_MODULE:= vold
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(KERNEL_HEADERS) -I../../frameworks/base/include/
|
|
|
|
|
|
|
|
LOCAL_CFLAGS :=
|
|
|
|
|
2010-01-07 22:54:17 +01:00
|
|
|
LOCAL_SHARED_LIBRARIES := libsysutils libcutils
|
2009-10-11 02:22:08 +02:00
|
|
|
|
|
|
|
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)
|