blob: 9802c9e47f10d8faa6527aa80b8cf3e477f43c39 [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 \
26 Loop.cpp
San Mehatf1b736b2009-10-10 17:22:08 -070027
28LOCAL_MODULE:= vold
29
30LOCAL_C_INCLUDES := $(KERNEL_HEADERS) -I../../frameworks/base/include/
31
32LOCAL_CFLAGS :=
33
34LOCAL_SHARED_LIBRARIES := libsysutils
35
36include $(BUILD_EXECUTABLE)
37
38include $(CLEAR_VARS)
39LOCAL_SRC_FILES:= \
40 vdc.c \
41
42LOCAL_MODULE:= vdc
43
44LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
45
46LOCAL_CFLAGS :=
47
48LOCAL_SHARED_LIBRARIES := libcutils
49
50include $(BUILD_EXECUTABLE)
51
52endif # ifeq ($(BUILD_VOLD,true)