San Mehat | 11f78c1 | 2010-01-03 08:59:37 -0800 | [diff] [blame] | 1 | BUILD_VOLD2 := false |
| 2 | ifneq ($(TARGET_SIMULATOR),true) |
| 3 | BUILD_VOLD2 := true |
| 4 | endif |
| 5 | |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 6 | ifeq ($(BUILD_VOLD2),true) |
| 7 | |
| 8 | LOCAL_PATH:= $(call my-dir) |
| 9 | |
| 10 | include $(CLEAR_VARS) |
| 11 | |
| 12 | LOCAL_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 Mehat | 49e2bce | 2009-10-12 16:29:01 -0700 | [diff] [blame] | 21 | DirectVolume.cpp \ |
San Mehat | a2677e4 | 2009-12-13 10:40:18 -0800 | [diff] [blame] | 22 | logwrapper.c \ |
| 23 | ProcessKiller.c \ |
San Mehat | bf04185 | 2010-01-04 10:09:16 -0800 | [diff] [blame] | 24 | geom_mbr_enc.c \ |
San Mehat | a19b250 | 2010-01-06 10:33:53 -0800 | [diff] [blame] | 25 | Fat.cpp \ |
San Mehat | b78a32c | 2010-01-10 13:02:12 -0800 | [diff] [blame] | 26 | Loop.cpp \ |
| 27 | Devmapper.cpp |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 28 | |
| 29 | LOCAL_MODULE:= vold |
| 30 | |
| 31 | LOCAL_C_INCLUDES := $(KERNEL_HEADERS) -I../../frameworks/base/include/ |
| 32 | |
| 33 | LOCAL_CFLAGS := |
| 34 | |
Doug Kwan | 1bc9558 | 2010-01-07 13:54:17 -0800 | [diff] [blame] | 35 | LOCAL_SHARED_LIBRARIES := libsysutils libcutils |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 36 | |
| 37 | include $(BUILD_EXECUTABLE) |
| 38 | |
| 39 | include $(CLEAR_VARS) |
| 40 | LOCAL_SRC_FILES:= \ |
| 41 | vdc.c \ |
| 42 | |
| 43 | LOCAL_MODULE:= vdc |
| 44 | |
| 45 | LOCAL_C_INCLUDES := $(KERNEL_HEADERS) |
| 46 | |
| 47 | LOCAL_CFLAGS := |
| 48 | |
| 49 | LOCAL_SHARED_LIBRARIES := libcutils |
| 50 | |
| 51 | include $(BUILD_EXECUTABLE) |
| 52 | |
| 53 | endif # ifeq ($(BUILD_VOLD,true) |