forked from CyanogenMod/android_system_vold
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroid.mk
60 lines (43 loc) · 1.7 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
BUILD_VOLD2 := false
ifneq ($(TARGET_SIMULATOR),true)
BUILD_VOLD2 := true
endif
ifeq ($(BUILD_VOLD2),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
main.cpp \
VolumeManager.cpp \
CommandListener.cpp \
VoldCommand.cpp \
NetlinkManager.cpp \
NetlinkHandler.cpp \
Volume.cpp \
DirectVolume.cpp \
logwrapper.c \
Process.cpp \
Fat.cpp \
Ext.cpp \
Loop.cpp \
Devmapper.cpp \
ResponseCode.cpp \
Xwarp.cpp
LOCAL_MODULE:= vold
LOCAL_C_INCLUDES := \
$(KERNEL_HEADERS) \
external/openssl/include
LOCAL_CFLAGS :=
LOCAL_SHARED_LIBRARIES := \
libsysutils \
libcutils \
libdiskconfig \
libcrypto
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= vdc.c
LOCAL_MODULE:= vdc
LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
LOCAL_CFLAGS :=
LOCAL_SHARED_LIBRARIES := libcutils
include $(BUILD_EXECUTABLE)
endif # ifeq ($(BUILD_VOLD,true)