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