blob: d90b399cc6bdc2371f4eac02ea0fd1ec62a125c4 [file] [log] [blame]
San Mehat11f78c12010-01-03 08:59:37 -08001BUILD_VOLD2 := false
2ifneq ($(TARGET_SIMULATOR),true)
3 BUILD_VOLD2 := true
4endif
5
San Mehatf1b736b2009-10-10 17:22:08 -07006ifeq ($(BUILD_VOLD2),true)
7
8LOCAL_PATH:= $(call my-dir)
9
10include $(CLEAR_VARS)
11
12LOCAL_SRC_FILES:= \
13 main.cpp \
14 VolumeManager.cpp \
15 CommandListener.cpp \
16 VoldCommand.cpp \
17 NetlinkManager.cpp \
18 NetlinkHandler.cpp \
19 BlockDevice.cpp \
20 Volume.cpp \
San Mehat49e2bce2009-10-12 16:29:01 -070021 DirectVolume.cpp \
San Mehata2677e42009-12-13 10:40:18 -080022 logwrapper.c \
23 ProcessKiller.c \
San Mehatbf041852010-01-04 10:09:16 -080024 geom_mbr_enc.c \
San Mehata19b2502010-01-06 10:33:53 -080025 Fat.cpp \
San Mehatb78a32c2010-01-10 13:02:12 -080026 Loop.cpp \
27 Devmapper.cpp
San Mehatf1b736b2009-10-10 17:22:08 -070028
29LOCAL_MODULE:= vold
30
31LOCAL_C_INCLUDES := $(KERNEL_HEADERS) -I../../frameworks/base/include/
32
33LOCAL_CFLAGS :=
34
Doug Kwan1bc95582010-01-07 13:54:17 -080035LOCAL_SHARED_LIBRARIES := libsysutils libcutils
San Mehatf1b736b2009-10-10 17:22:08 -070036
37include $(BUILD_EXECUTABLE)
38
39include $(CLEAR_VARS)
40LOCAL_SRC_FILES:= \
41 vdc.c \
42
43LOCAL_MODULE:= vdc
44
45LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
46
47LOCAL_CFLAGS :=
48
49LOCAL_SHARED_LIBRARIES := libcutils
50
51include $(BUILD_EXECUTABLE)
52
53endif # ifeq ($(BUILD_VOLD,true)