San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
2 | |||||
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 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 \ | ||||
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 11 | Process.cpp \ |
Kenny Root | 344ca10 | 2012-04-03 17:23:01 -0700 | [diff] [blame] | 12 | Ext4.cpp \ |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 13 | Fat.cpp \ |
14 | Loop.cpp \ | ||||
15 | Devmapper.cpp \ | ||||
16 | ResponseCode.cpp \ | ||||
Paul Lawrence | 8799917 | 2014-02-20 12:21:31 -0800 | [diff] [blame] | 17 | CheckBattery.cpp \ |
Ken Sumrall | 9caab76 | 2013-06-11 19:10:20 -0700 | [diff] [blame] | 18 | VoldUtil.c \ |
Ken Sumrall | b87937c | 2013-03-19 21:46:39 -0700 | [diff] [blame] | 19 | fstrim.c \ |
Ken Sumrall | 8f869aa | 2010-12-03 03:47:09 -0800 | [diff] [blame] | 20 | cryptfs.c |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 21 | |
22 | common_c_includes := \ | ||||
Ken Sumrall | 3ed8236 | 2011-01-28 23:31:16 -0800 | [diff] [blame] | 23 | system/extras/ext4_utils \ |
Daniel Rosenberg | e82df16 | 2014-08-15 22:19:23 +0000 | [diff] [blame] | 24 | system/extras/f2fs_utils \ |
Kenny Root | c4c70f1 | 2013-06-14 12:11:38 -0700 | [diff] [blame] | 25 | external/openssl/include \ |
Paul Lawrence | 8799917 | 2014-02-20 12:21:31 -0800 | [diff] [blame] | 26 | external/scrypt/lib/crypto \ |
Paul Lawrence | 69f4ebd | 2014-04-14 12:17:14 -0700 | [diff] [blame] | 27 | frameworks/native/include \ |
28 | system/security/keystore \ | ||||
29 | hardware/libhardware/include/hardware \ | ||||
30 | system/security/softkeymaster/include/keymaster | ||||
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 31 | |
32 | common_shared_libraries := \ | ||||
33 | libsysutils \ | ||||
Paul Lawrence | 8799917 | 2014-02-20 12:21:31 -0800 | [diff] [blame] | 34 | libbinder \ |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 35 | libcutils \ |
Ying Wang | 741a169 | 2013-04-09 22:05:28 -0700 | [diff] [blame] | 36 | liblog \ |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 37 | libdiskconfig \ |
Ken Sumrall | 5d4c68e | 2011-01-30 19:06:03 -0800 | [diff] [blame] | 38 | libhardware_legacy \ |
Rom Lemarchand | 2ba45aa | 2013-01-16 12:29:28 -0800 | [diff] [blame] | 39 | liblogwrap \ |
Ken Sumrall | 5cf759a | 2013-08-14 20:15:17 -0700 | [diff] [blame] | 40 | libext4_utils \ |
Daniel Rosenberg | e82df16 | 2014-08-15 22:19:23 +0000 | [diff] [blame] | 41 | libf2fs_sparseblock \ |
Robert Craig | b9e3ba5 | 2014-02-04 10:53:00 -0500 | [diff] [blame] | 42 | libcrypto \ |
Paul Lawrence | 8799917 | 2014-02-20 12:21:31 -0800 | [diff] [blame] | 43 | libselinux \ |
Paul Lawrence | 69f4ebd | 2014-04-14 12:17:14 -0700 | [diff] [blame] | 44 | libutils \ |
45 | libhardware \ | ||||
46 | libsoftkeymaster | ||||
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 47 | |
Kenny Root | c4c70f1 | 2013-06-14 12:11:38 -0700 | [diff] [blame] | 48 | common_static_libraries := \ |
49 | libfs_mgr \ | ||||
Geremy Condra | c49f0f2 | 2013-08-07 13:12:41 -0700 | [diff] [blame] | 50 | libscrypt_static \ |
Paul Lawrence | 8799917 | 2014-02-20 12:21:31 -0800 | [diff] [blame] | 51 | libmincrypt \ |
52 | libbatteryservice | ||||
Kenny Root | c4c70f1 | 2013-06-14 12:11:38 -0700 | [diff] [blame] | 53 | |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 54 | include $(CLEAR_VARS) |
55 | |||||
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 56 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 57 | LOCAL_MODULE := libvold |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 58 | LOCAL_SRC_FILES := $(common_src_files) |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 59 | LOCAL_C_INCLUDES := $(common_c_includes) |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 60 | LOCAL_SHARED_LIBRARIES := $(common_shared_libraries) |
Kenny Root | c4c70f1 | 2013-06-14 12:11:38 -0700 | [diff] [blame] | 61 | LOCAL_STATIC_LIBRARIES := $(common_static_libraries) |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 62 | LOCAL_MODULE_TAGS := eng tests |
63 | |||||
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 64 | include external/stlport/libstlport.mk |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 65 | include $(BUILD_STATIC_LIBRARY) |
66 | |||||
67 | include $(CLEAR_VARS) | ||||
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 68 | |
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 69 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 70 | LOCAL_MODULE:= vold |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 71 | LOCAL_SRC_FILES := \ |
72 | main.cpp \ | ||||
73 | $(common_src_files) | ||||
74 | |||||
75 | LOCAL_C_INCLUDES := $(common_c_includes) | ||||
Nick Kralevich | 9713ed4 | 2012-02-23 13:20:30 -0800 | [diff] [blame] | 76 | LOCAL_CFLAGS := -Werror=format |
Kenny Root | acc9e7d | 2010-06-18 19:06:50 -0700 | [diff] [blame] | 77 | LOCAL_SHARED_LIBRARIES := $(common_shared_libraries) |
Kenny Root | c4c70f1 | 2013-06-14 12:11:38 -0700 | [diff] [blame] | 78 | LOCAL_STATIC_LIBRARIES := $(common_static_libraries) |
Ken Sumrall | f0679f0 | 2012-04-01 23:58:44 -0700 | [diff] [blame] | 79 | |
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 80 | include external/stlport/libstlport.mk |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 81 | include $(BUILD_EXECUTABLE) |
82 | |||||
83 | include $(CLEAR_VARS) | ||||
Kenny Root | 7b18a7b | 2010-03-15 13:13:41 -0700 | [diff] [blame] | 84 | |
Dan Albert | b2aaf3a | 2014-09-12 10:48:12 -0700 | [diff] [blame] | 85 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Kenny Root | 7b18a7b | 2010-03-15 13:13:41 -0700 | [diff] [blame] | 86 | LOCAL_SRC_FILES:= vdc.c |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 87 | LOCAL_MODULE:= vdc |
San Mehat | f1b736b | 2009-10-10 17:22:08 -0700 | [diff] [blame] | 88 | LOCAL_SHARED_LIBRARIES := libcutils |
89 | |||||
90 | include $(BUILD_EXECUTABLE) |