• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3common_src_files := \
4	VolumeManager.cpp \
5	CommandListener.cpp \
6	VoldCommand.cpp \
7	NetlinkManager.cpp \
8	NetlinkHandler.cpp \
9	Volume.cpp \
10	DirectVolume.cpp \
11	logwrapper.c \
12	Process.cpp \
13	Ext4.cpp \
14	Fat.cpp \
15	Loop.cpp \
16	Devmapper.cpp \
17	ResponseCode.cpp \
18	Xwarp.cpp \
19	cryptfs.c
20
21common_c_includes := \
22	$(KERNEL_HEADERS) \
23	system/extras/ext4_utils \
24	external/openssl/include
25
26common_shared_libraries := \
27	libsysutils \
28	libcutils \
29	libdiskconfig \
30	libhardware_legacy \
31	libcrypto
32
33include $(CLEAR_VARS)
34
35LOCAL_MODULE := libvold
36
37LOCAL_SRC_FILES := $(common_src_files)
38
39LOCAL_C_INCLUDES := $(common_c_includes)
40
41LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
42
43LOCAL_STATIC_LIBRARIES := libfs_mgr
44
45LOCAL_MODULE_TAGS := eng tests
46
47include $(BUILD_STATIC_LIBRARY)
48
49include $(CLEAR_VARS)
50
51LOCAL_MODULE:= vold
52
53LOCAL_SRC_FILES := \
54	main.cpp \
55	$(common_src_files)
56
57LOCAL_C_INCLUDES := $(common_c_includes)
58
59LOCAL_CFLAGS := -Werror=format
60
61LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
62
63LOCAL_STATIC_LIBRARIES := libfs_mgr
64
65include $(BUILD_EXECUTABLE)
66
67include $(CLEAR_VARS)
68
69LOCAL_SRC_FILES:= vdc.c
70
71LOCAL_MODULE:= vdc
72
73LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
74
75LOCAL_CFLAGS :=
76
77LOCAL_SHARED_LIBRARIES := libcutils
78
79include $(BUILD_EXECUTABLE)
80