Home | History | Annotate | Download | only in vold
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 common_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 
     21 common_c_includes := \
     22 	$(KERNEL_HEADERS) \
     23 	system/extras/ext4_utils \
     24 	external/openssl/include
     25 
     26 common_shared_libraries := \
     27 	libsysutils \
     28 	libcutils \
     29 	libdiskconfig \
     30 	libhardware_legacy \
     31 	libcrypto
     32 
     33 include $(CLEAR_VARS)
     34 
     35 LOCAL_MODULE := libvold
     36 
     37 LOCAL_SRC_FILES := $(common_src_files)
     38 
     39 LOCAL_C_INCLUDES := $(common_c_includes)
     40 
     41 LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
     42 
     43 LOCAL_STATIC_LIBRARIES := libfs_mgr
     44 
     45 LOCAL_MODULE_TAGS := eng tests
     46 
     47 include $(BUILD_STATIC_LIBRARY)
     48 
     49 include $(CLEAR_VARS)
     50 
     51 LOCAL_MODULE:= vold
     52 
     53 LOCAL_SRC_FILES := \
     54 	main.cpp \
     55 	$(common_src_files)
     56 
     57 LOCAL_C_INCLUDES := $(common_c_includes)
     58 
     59 LOCAL_CFLAGS := -Werror=format
     60 
     61 LOCAL_SHARED_LIBRARIES := $(common_shared_libraries)
     62 
     63 LOCAL_STATIC_LIBRARIES := libfs_mgr
     64 
     65 include $(BUILD_EXECUTABLE)
     66 
     67 include $(CLEAR_VARS)
     68 
     69 LOCAL_SRC_FILES:= vdc.c
     70 
     71 LOCAL_MODULE:= vdc
     72 
     73 LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
     74 
     75 LOCAL_CFLAGS := 
     76 
     77 LOCAL_SHARED_LIBRARIES := libcutils
     78 
     79 include $(BUILD_EXECUTABLE)
     80