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