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 \ | ||||
Kenny Root | 7b18a7b | 2010-03-15 13:13:41 -0700 | [diff] [blame] | 14 | VolumeManager.cpp \ |
15 | CommandListener.cpp \ | ||||
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 16 | VoldCommand.cpp \ |
17 | NetlinkManager.cpp \ | ||||
18 | NetlinkHandler.cpp \ | ||||
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 19 | Volume.cpp \ |
San Mehat | 49e2bce | 2009-10-12 16:29:01 -0700 | [diff] [blame] | 20 | DirectVolume.cpp \ |
San Mehat | a2677e4 | 2009-12-13 10:40:18 -0800 | [diff] [blame] | 21 | logwrapper.c \ |
San Mehat | 586536c | 2010-02-16 17:12:00 -0800 | [diff] [blame] | 22 | Process.cpp \ |
San Mehat | a19b250 | 2010-01-06 10:33:53 -0800 | [diff] [blame] | 23 | Fat.cpp \ |
San Mehat | b78a32c | 2010-01-10 13:02:12 -0800 | [diff] [blame] | 24 | Loop.cpp \ |
San Mehat | 8f2875b | 2010-02-18 11:40:49 -0800 | [diff] [blame] | 25 | Devmapper.cpp \ |
San Mehat | 2350c44 | 2010-03-02 13:16:50 -0800 | [diff] [blame] | 26 | ResponseCode.cpp \ |
Kenny Root | 7b18a7b | 2010-03-15 13:13:41 -0700 | [diff] [blame] | 27 | Xwarp.cpp |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 28 | |
29 | LOCAL_MODULE:= vold | ||||
30 | |||||
Kenny Root | 7b18a7b | 2010-03-15 13:13:41 -0700 | [diff] [blame] | 31 | LOCAL_C_INCLUDES := \ |
32 | $(KERNEL_HEADERS) \ | ||||
33 | external/openssl/include | ||||
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 34 | |
35 | LOCAL_CFLAGS := | ||||
36 | |||||
Kenny Root | 7b18a7b | 2010-03-15 13:13:41 -0700 | [diff] [blame] | 37 | LOCAL_SHARED_LIBRARIES := \ |
38 | libsysutils \ | ||||
39 | libcutils \ | ||||
40 | libdiskconfig \ | ||||
41 | libcrypto | ||||
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 42 | |
43 | include $(BUILD_EXECUTABLE) | ||||
44 | |||||
45 | include $(CLEAR_VARS) | ||||
Kenny Root | 7b18a7b | 2010-03-15 13:13:41 -0700 | [diff] [blame] | 46 | |
47 | LOCAL_SRC_FILES:= vdc.c | ||||
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 48 | |
49 | LOCAL_MODULE:= vdc | ||||
50 | |||||
51 | LOCAL_C_INCLUDES := $(KERNEL_HEADERS) | ||||
52 | |||||
53 | LOCAL_CFLAGS := | ||||
54 | |||||
55 | LOCAL_SHARED_LIBRARIES := libcutils | ||||
56 | |||||
57 | include $(BUILD_EXECUTABLE) | ||||
58 | |||||
59 | endif # ifeq ($(BUILD_VOLD,true) |