blob: 55231f2c8d80c56c0c506bd5527365b7ea799818 [file] [log] [blame]
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08001# Copyright 2005 The Android Open Source Project
2#
3# Android.mk for adb
4#
5
6LOCAL_PATH:= $(call my-dir)
7
Dan Albert9113b472015-07-30 10:25:32 -07008adb_host_sanitize :=
9adb_target_sanitize :=
10
Dan Albert1ba1d7c2015-05-05 17:46:50 -070011adb_version := $(shell git -C $(LOCAL_PATH) rev-parse --short=12 HEAD 2>/dev/null)-android
12
13ADB_COMMON_CFLAGS := \
Dan Albert23fee8f2015-05-20 18:56:10 -070014 -Wall -Wextra -Werror \
Dan Albert459df8f2015-07-08 13:50:42 -070015 -Wno-unused-parameter \
Dan Albert286bb6d2015-07-09 20:35:09 +000016 -Wno-missing-field-initializers \
Elliott Hughes6d929972015-10-27 13:40:35 -070017 -Wvla \
Dan Albert1ba1d7c2015-05-05 17:46:50 -070018 -DADB_REVISION='"$(adb_version)"' \
19
Josh Gaob7b1edf2015-11-11 17:56:12 -080020ADB_COMMON_linux_CFLAGS := \
21 -std=c++14 \
22 -Wexit-time-destructors \
23
24ADB_COMMON_darwin_CFLAGS := \
25 -std=c++14 \
26 -Wexit-time-destructors \
27
Spencer Lowe347c1d2015-08-02 18:13:54 -070028# Define windows.h and tchar.h Unicode preprocessor symbols so that
29# CreateFile(), _tfopen(), etc. map to versions that take wchar_t*, breaking the
30# build if you accidentally pass char*. Fix by calling like:
31# CreateFileW(widen(utf8).c_str()).
32ADB_COMMON_windows_CFLAGS := \
33 -DUNICODE=1 -D_UNICODE=1 \
34
Dan Albert630b9af2014-11-24 23:34:35 -080035# libadb
36# =========================================================
37
38# Much of adb is duplicated in bootable/recovery/minadb and fastboot. Changes
39# made to adb rarely get ported to the other two, so the trees have diverged a
40# bit. We'd like to stop this because it is a maintenance nightmare, but the
41# divergence makes this difficult to do all at once. For now, we will start
42# small by moving common files into a static library. Hopefully some day we can
43# get enough of adb in here that we no longer need minadb. https://b/17626262
Dan Albertba3a2512015-02-18 17:47:33 -080044LIBADB_SRC_FILES := \
Dan Albertbac34742015-02-25 17:51:28 -080045 adb.cpp \
46 adb_auth.cpp \
Dan Albertcc731cc2015-02-24 21:26:58 -080047 adb_io.cpp \
Dan Albertbac34742015-02-25 17:51:28 -080048 adb_listeners.cpp \
Yabin Cuiaed3c612015-09-22 15:52:57 -070049 adb_trace.cpp \
Elliott Hughes58305772015-04-17 13:57:15 -070050 adb_utils.cpp \
Dan Albertbac34742015-02-25 17:51:28 -080051 sockets.cpp \
52 transport.cpp \
53 transport_local.cpp \
54 transport_usb.cpp \
Dan Albertba3a2512015-02-18 17:47:33 -080055
Elliott Hughes53daee62015-04-19 13:17:01 -070056LIBADB_TEST_SRCS := \
57 adb_io_test.cpp \
58 adb_utils_test.cpp \
59 transport_test.cpp \
60
Dan Albertbf106472015-02-20 17:20:09 -080061LIBADB_CFLAGS := \
Dan Albert1ba1d7c2015-05-05 17:46:50 -070062 $(ADB_COMMON_CFLAGS) \
Dan Albertba3a2512015-02-18 17:47:33 -080063 -fvisibility=hidden \
Elliott Hughes4f1d7b52015-07-24 14:32:46 -070064
65LIBADB_linux_CFLAGS := \
Josh Gaob7b1edf2015-11-11 17:56:12 -080066 $(ADB_COMMON_linux_CFLAGS) \
67
68LIBADB_darwin_CFLAGS := \
69 $(ADB_COMMON_darwin_CFLAGS) \
Dan Albert630b9af2014-11-24 23:34:35 -080070
Dan Willemsen87a419c2015-08-13 14:43:34 -070071LIBADB_windows_CFLAGS := \
72 $(ADB_COMMON_windows_CFLAGS) \
Elliott Hughes4f1d7b52015-07-24 14:32:46 -070073
Dan Albertbac34742015-02-25 17:51:28 -080074LIBADB_darwin_SRC_FILES := \
75 fdevent.cpp \
Elliott Hughes1a4d85a2015-04-16 13:24:58 -070076 get_my_path_darwin.cpp \
Dan Albert7447dd02015-04-16 19:20:40 -070077 usb_osx.cpp \
Dan Albertbac34742015-02-25 17:51:28 -080078
79LIBADB_linux_SRC_FILES := \
80 fdevent.cpp \
81 get_my_path_linux.cpp \
82 usb_linux.cpp \
83
84LIBADB_windows_SRC_FILES := \
Elliott Hughesa2f2e562015-04-16 16:47:02 -070085 sysdeps_win32.cpp \
Dan Albertbac34742015-02-25 17:51:28 -080086 usb_windows.cpp \
Dan Albert94493762014-11-25 11:00:56 -080087
Yabin Cuibec02fc2015-08-28 15:44:27 -070088LIBADB_TEST_linux_SRCS := \
89 fdevent_test.cpp \
Yabin Cuic1b1f6f2015-09-15 16:27:09 -070090 socket_test.cpp \
Yabin Cuibec02fc2015-08-28 15:44:27 -070091
92LIBADB_TEST_darwin_SRCS := \
93 fdevent_test.cpp \
Yabin Cuic1b1f6f2015-09-15 16:27:09 -070094 socket_test.cpp \
Yabin Cuibec02fc2015-08-28 15:44:27 -070095
Spencer Lowe6ae5732015-09-08 17:13:04 -070096LIBADB_TEST_windows_SRCS := \
97 sysdeps_win32_test.cpp \
98
Dan Albert94493762014-11-25 11:00:56 -080099include $(CLEAR_VARS)
Elliott Hughes2acec912015-04-16 14:12:50 -0700100LOCAL_CLANG := true
Dan Albert94493762014-11-25 11:00:56 -0800101LOCAL_MODULE := libadbd
102LOCAL_CFLAGS := $(LIBADB_CFLAGS) -DADB_HOST=0
Dan Albert21c3eaf2015-02-18 17:20:44 -0800103LOCAL_SRC_FILES := \
104 $(LIBADB_SRC_FILES) \
Dan Albertbac34742015-02-25 17:51:28 -0800105 adb_auth_client.cpp \
Dan Albert3c438582015-02-20 17:24:30 -0800106 fdevent.cpp \
Dan Albertbac34742015-02-25 17:51:28 -0800107 jdwp_service.cpp \
Elliott Hughes2acec912015-04-16 14:12:50 -0700108 usb_linux_client.cpp \
Dan Albert21c3eaf2015-02-18 17:20:44 -0800109
Dan Albert9113b472015-07-30 10:25:32 -0700110LOCAL_SANITIZE := $(adb_target_sanitize)
Elliott Hughes7b506092015-04-20 08:09:20 -0700111
Dan Alberte2462192015-03-19 13:25:27 -0700112# Even though we're building a static library (and thus there's no link step for
113# this to take effect), this adds the includes to our path.
114LOCAL_STATIC_LIBRARIES := libbase
115
Dan Albert94493762014-11-25 11:00:56 -0800116include $(BUILD_STATIC_LIBRARY)
117
Dan Albert630b9af2014-11-24 23:34:35 -0800118include $(CLEAR_VARS)
119LOCAL_MODULE := libadb
Dan Willemsen87a419c2015-08-13 14:43:34 -0700120LOCAL_MODULE_HOST_OS := darwin linux windows
Dan Albert94493762014-11-25 11:00:56 -0800121LOCAL_CFLAGS := $(LIBADB_CFLAGS) -DADB_HOST=1
Dan Willemsen87a419c2015-08-13 14:43:34 -0700122LOCAL_CFLAGS_windows := $(LIBADB_windows_CFLAGS)
123LOCAL_CFLAGS_linux := $(LIBADB_linux_CFLAGS)
Josh Gaob7b1edf2015-11-11 17:56:12 -0800124LOCAL_CFLAGS_darwin := $(LIBADB_darwin_CFLAGS)
Dan Alberte1ca6232015-02-19 13:19:42 -0800125LOCAL_SRC_FILES := \
126 $(LIBADB_SRC_FILES) \
Dan Albertbac34742015-02-25 17:51:28 -0800127 adb_auth_host.cpp \
Dan Albert630b9af2014-11-24 23:34:35 -0800128
Dan Willemsen87a419c2015-08-13 14:43:34 -0700129LOCAL_SRC_FILES_darwin := $(LIBADB_darwin_SRC_FILES)
130LOCAL_SRC_FILES_linux := $(LIBADB_linux_SRC_FILES)
131LOCAL_SRC_FILES_windows := $(LIBADB_windows_SRC_FILES)
132
Dan Albert9113b472015-07-30 10:25:32 -0700133LOCAL_SANITIZE := $(adb_host_sanitize)
Elliott Hughes7b506092015-04-20 08:09:20 -0700134
Dan Alberte1ca6232015-02-19 13:19:42 -0800135# Even though we're building a static library (and thus there's no link step for
Dan Alberte2462192015-03-19 13:25:27 -0700136# this to take effect), this adds the includes to our path.
137LOCAL_STATIC_LIBRARIES := libcrypto_static libbase
Dan Alberte1ca6232015-02-19 13:19:42 -0800138
Dan Willemsen87a419c2015-08-13 14:43:34 -0700139LOCAL_C_INCLUDES_windows := development/host/windows/usb/api/
Dan Willemsen66680c52015-09-03 20:29:56 -0700140LOCAL_MULTILIB := first
Dan Albert88cf1c82015-02-24 14:08:03 -0800141
Dan Albert630b9af2014-11-24 23:34:35 -0800142include $(BUILD_HOST_STATIC_LIBRARY)
143
Dan Albert055f1aa2015-02-20 17:24:58 -0800144include $(CLEAR_VARS)
Elliott Hughes53daee62015-04-19 13:17:01 -0700145LOCAL_CLANG := true
Dan Albert055f1aa2015-02-20 17:24:58 -0800146LOCAL_MODULE := adbd_test
147LOCAL_CFLAGS := -DADB_HOST=0 $(LIBADB_CFLAGS)
Yabin Cuibec02fc2015-08-28 15:44:27 -0700148LOCAL_SRC_FILES := \
149 $(LIBADB_TEST_SRCS) \
150 $(LIBADB_TEST_linux_SRCS) \
David Pursell0955c662015-08-31 10:42:13 -0700151 shell_service.cpp \
David Pursellb9e2e842015-08-31 15:36:18 -0700152 shell_service_protocol.cpp \
153 shell_service_protocol_test.cpp \
David Pursell0955c662015-08-31 10:42:13 -0700154 shell_service_test.cpp \
Yabin Cuibec02fc2015-08-28 15:44:27 -0700155
Dan Albert9113b472015-07-30 10:25:32 -0700156LOCAL_SANITIZE := $(adb_target_sanitize)
Dan Albert055f1aa2015-02-20 17:24:58 -0800157LOCAL_STATIC_LIBRARIES := libadbd
Yabin Cuicb992d92015-09-08 18:27:10 -0700158LOCAL_SHARED_LIBRARIES := libbase libcutils
Dan Albert055f1aa2015-02-20 17:24:58 -0800159include $(BUILD_NATIVE_TEST)
160
Spencer Lowcf168a82015-05-24 15:36:28 -0700161# adb_test
162# =========================================================
163
Dan Albert055f1aa2015-02-20 17:24:58 -0800164include $(CLEAR_VARS)
Dan Albert055f1aa2015-02-20 17:24:58 -0800165LOCAL_MODULE := adb_test
Spencer Lowebf770f2015-09-07 23:39:02 -0700166LOCAL_MODULE_HOST_OS := darwin linux windows
Dan Albert055f1aa2015-02-20 17:24:58 -0800167LOCAL_CFLAGS := -DADB_HOST=1 $(LIBADB_CFLAGS)
Dan Willemsen87a419c2015-08-13 14:43:34 -0700168LOCAL_CFLAGS_windows := $(LIBADB_windows_CFLAGS)
169LOCAL_CFLAGS_linux := $(LIBADB_linux_CFLAGS)
Josh Gaob7b1edf2015-11-11 17:56:12 -0800170LOCAL_CFLAGS_darwin := $(LIBADB_darwin_CFLAGS)
David Pursellb9e2e842015-08-31 15:36:18 -0700171LOCAL_SRC_FILES := \
172 $(LIBADB_TEST_SRCS) \
173 services.cpp \
174 shell_service_protocol.cpp \
175 shell_service_protocol_test.cpp \
176
David Pursellb404dec2015-09-11 16:06:59 -0700177LOCAL_SRC_FILES_linux := $(LIBADB_TEST_linux_SRCS)
Dan Willemsen87a419c2015-08-13 14:43:34 -0700178LOCAL_SRC_FILES_darwin := $(LIBADB_TEST_darwin_SRCS)
Spencer Lowe6ae5732015-09-08 17:13:04 -0700179LOCAL_SRC_FILES_windows := $(LIBADB_TEST_windows_SRCS)
Dan Albert9113b472015-07-30 10:25:32 -0700180LOCAL_SANITIZE := $(adb_host_sanitize)
Yabin Cuicb992d92015-09-08 18:27:10 -0700181LOCAL_SHARED_LIBRARIES := libbase
Dan Albert055f1aa2015-02-20 17:24:58 -0800182LOCAL_STATIC_LIBRARIES := \
183 libadb \
184 libcrypto_static \
185 libcutils \
186
Spencer Lowe6ae5732015-09-08 17:13:04 -0700187# Set entrypoint to wmain from sysdeps_win32.cpp instead of main
188LOCAL_LDFLAGS_windows := -municode
Dan Willemsen87a419c2015-08-13 14:43:34 -0700189LOCAL_LDLIBS_linux := -lrt -ldl -lpthread
190LOCAL_LDLIBS_darwin := -framework CoreFoundation -framework IOKit
191LOCAL_LDLIBS_windows := -lws2_32 -luserenv
192LOCAL_STATIC_LIBRARIES_windows := AdbWinApi
Dan Albert055f1aa2015-02-20 17:24:58 -0800193
Spencer Lowcf168a82015-05-24 15:36:28 -0700194include $(BUILD_HOST_NATIVE_TEST)
195
Elliott Hughese67f1f82015-04-30 17:32:03 -0700196# adb device tracker (used by ddms) test tool
197# =========================================================
198
199ifeq ($(HOST_OS),linux)
200include $(CLEAR_VARS)
Elliott Hughese67f1f82015-04-30 17:32:03 -0700201LOCAL_MODULE := adb_device_tracker_test
202LOCAL_CFLAGS := -DADB_HOST=1 $(LIBADB_CFLAGS)
Dan Willemsen87a419c2015-08-13 14:43:34 -0700203LOCAL_CFLAGS_windows := $(LIBADB_windows_CFLAGS)
204LOCAL_CFLAGS_linux := $(LIBADB_linux_CFLAGS)
Josh Gaob7b1edf2015-11-11 17:56:12 -0800205LOCAL_CFLAGS_darwin := $(LIBADB_darwin_CFLAGS)
Elliott Hughese67f1f82015-04-30 17:32:03 -0700206LOCAL_SRC_FILES := test_track_devices.cpp
Dan Albert9113b472015-07-30 10:25:32 -0700207LOCAL_SANITIZE := $(adb_host_sanitize)
Yabin Cuicb992d92015-09-08 18:27:10 -0700208LOCAL_SHARED_LIBRARIES := libbase
Elliott Hughese67f1f82015-04-30 17:32:03 -0700209LOCAL_STATIC_LIBRARIES := libadb libcrypto_static libcutils
210LOCAL_LDLIBS += -lrt -ldl -lpthread
211include $(BUILD_HOST_EXECUTABLE)
212endif
213
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800214# adb host tool
215# =========================================================
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800216include $(CLEAR_VARS)
217
Dan Willemsen87a419c2015-08-13 14:43:34 -0700218LOCAL_LDLIBS_linux := -lrt -ldl -lpthread
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800219
Dan Willemsen87a419c2015-08-13 14:43:34 -0700220LOCAL_LDLIBS_darwin := -lpthread -framework CoreFoundation -framework IOKit -framework Carbon
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800221
Dan Willemsen87a419c2015-08-13 14:43:34 -0700222# Use wmain instead of main
223LOCAL_LDFLAGS_windows := -municode
224LOCAL_LDLIBS_windows := -lws2_32 -lgdi32
225LOCAL_STATIC_LIBRARIES_windows := AdbWinApi
226LOCAL_REQUIRED_MODULES_windows := AdbWinApi AdbWinUsbApi
Dan Albert9697ce52015-02-20 17:28:44 -0800227
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800228LOCAL_SRC_FILES := \
Elliott Hughesb708d162015-10-27 16:03:15 -0700229 adb_client.cpp \
Dan Albertc89e0cc2015-05-08 16:13:53 -0700230 client/main.cpp \
Dan Albertbac34742015-02-25 17:51:28 -0800231 console.cpp \
232 commandline.cpp \
Dan Albertbac34742015-02-25 17:51:28 -0800233 file_sync_client.cpp \
Elliott Hughesb708d162015-10-27 16:03:15 -0700234 line_printer.cpp \
235 services.cpp \
David Pursellb9e2e842015-08-31 15:36:18 -0700236 shell_service_protocol.cpp \
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800237
Dan Albert7fd821e2015-02-24 22:38:21 -0800238LOCAL_CFLAGS += \
Dan Albert1ba1d7c2015-05-05 17:46:50 -0700239 $(ADB_COMMON_CFLAGS) \
Dan Albert7fd821e2015-02-24 22:38:21 -0800240 -D_GNU_SOURCE \
241 -DADB_HOST=1 \
242
Dan Willemsen87a419c2015-08-13 14:43:34 -0700243LOCAL_CFLAGS_windows := \
244 $(ADB_COMMON_windows_CFLAGS)
245
Josh Gaob7b1edf2015-11-11 17:56:12 -0800246LOCAL_CFLAGS_linux := \
247 $(ADB_COMMON_linux_CFLAGS) \
248
249LOCAL_CFLAGS_darwin := \
250 $(ADB_COMMON_darwin_CFLAGS) \
251 -Wno-sizeof-pointer-memaccess -Wno-unused-parameter \
252
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800253LOCAL_MODULE := adb
Kenny Rootd5d6d972012-09-26 09:58:07 -0700254LOCAL_MODULE_TAGS := debug
Dan Willemsen87a419c2015-08-13 14:43:34 -0700255LOCAL_MODULE_HOST_OS := darwin linux windows
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800256
Dan Albert9113b472015-07-30 10:25:32 -0700257LOCAL_SANITIZE := $(adb_host_sanitize)
Dan Albert630b9af2014-11-24 23:34:35 -0800258LOCAL_STATIC_LIBRARIES := \
259 libadb \
Elliott Hughes2baae3a2015-04-17 10:59:34 -0700260 libbase \
Dan Albert630b9af2014-11-24 23:34:35 -0800261 libcrypto_static \
Elliott Hughes53daee62015-04-19 13:17:01 -0700262 libcutils \
Elliott Hughes9309ecb2015-04-27 14:20:17 -0700263 liblog \
Dan Albert630b9af2014-11-24 23:34:35 -0800264
Dan Willemsen87a419c2015-08-13 14:43:34 -0700265LOCAL_CXX_STL := libc++_static
Colin Cross55bf5f02015-04-16 16:21:44 -0700266
267# Don't add anything here, we don't want additional shared dependencies
268# on the host adb tool, and shared libraries that link against libc++
269# will violate ODR
270LOCAL_SHARED_LIBRARIES :=
271
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800272include $(BUILD_HOST_EXECUTABLE)
273
Ying Wang96535ba2012-09-05 10:26:43 -0700274$(call dist-for-goals,dist_files sdk,$(LOCAL_BUILT_MODULE))
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800275
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800276
277# adbd device daemon
278# =========================================================
279
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800280include $(CLEAR_VARS)
281
Elliott Hughes53daee62015-04-19 13:17:01 -0700282LOCAL_CLANG := true
Dan Albert9697ce52015-02-20 17:28:44 -0800283
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800284LOCAL_SRC_FILES := \
Dan Albertc89e0cc2015-05-08 16:13:53 -0700285 daemon/main.cpp \
Dan Albertbac34742015-02-25 17:51:28 -0800286 services.cpp \
287 file_sync_service.cpp \
288 framebuffer_service.cpp \
289 remount_service.cpp \
290 set_verity_enable_state_service.cpp \
David Pursell80f67022015-08-28 15:08:49 -0700291 shell_service.cpp \
David Pursellb9e2e842015-08-31 15:36:18 -0700292 shell_service_protocol.cpp \
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800293
Christopher Ferris51448eb2014-09-03 19:48:48 -0700294LOCAL_CFLAGS := \
Dan Albert1ba1d7c2015-05-05 17:46:50 -0700295 $(ADB_COMMON_CFLAGS) \
Josh Gaob7b1edf2015-11-11 17:56:12 -0800296 $(ADB_COMMON_linux_CFLAGS) \
Dan Albertbac34742015-02-25 17:51:28 -0800297 -DADB_HOST=0 \
298 -D_GNU_SOURCE \
Dan Albertbac34742015-02-25 17:51:28 -0800299 -Wno-deprecated-declarations \
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800300
Elliott Hughes5cba5042015-06-17 15:23:42 -0700301LOCAL_CFLAGS += -DALLOW_ADBD_NO_AUTH=$(if $(filter userdebug eng,$(TARGET_BUILD_VARIANT)),1,0)
Nick Kralevich5890fe32012-01-19 13:11:35 -0800302
Elliott Hughesec7a6672015-03-16 21:58:32 +0000303ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
Paul Lawrenceec900bb2014-10-09 14:22:49 +0000304LOCAL_CFLAGS += -DALLOW_ADBD_DISABLE_VERITY=1
Elliott Hughes5cba5042015-06-17 15:23:42 -0700305LOCAL_CFLAGS += -DALLOW_ADBD_ROOT=1
Paul Lawrenceec900bb2014-10-09 14:22:49 +0000306endif
307
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800308LOCAL_MODULE := adbd
309
310LOCAL_FORCE_STATIC_EXECUTABLE := true
311LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
312LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
Tao Bao175b7bb2015-03-29 11:22:34 -0700313LOCAL_C_INCLUDES += system/extras/ext4_utils
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -0800314
Dan Albert9113b472015-07-30 10:25:32 -0700315LOCAL_SANITIZE := $(adb_target_sanitize)
Dan Albert630b9af2014-11-24 23:34:35 -0800316LOCAL_STATIC_LIBRARIES := \
Dan Albert94493762014-11-25 11:00:56 -0800317 libadbd \
Tao Bao175b7bb2015-03-29 11:22:34 -0700318 libbase \
Dan Albert030b76f2015-01-26 17:13:54 -0800319 libfs_mgr \
Sami Tolvanen8ad80762015-10-20 13:24:24 +0100320 libfec \
321 libfec_rs \
William Robertsbd2d9612015-08-04 14:23:04 -0700322 libselinux \
Dan Albert630b9af2014-11-24 23:34:35 -0800323 liblog \
Dan Albert630b9af2014-11-24 23:34:35 -0800324 libmincrypt \
Dan Albert030b76f2015-01-26 17:13:54 -0800325 libext4_utils_static \
Sami Tolvanen8ad80762015-10-20 13:24:24 +0100326 libsquashfs_utils \
Dan Alberte2462192015-03-19 13:25:27 -0700327 libcutils \
328 libbase \
Sami Tolvanen8ad80762015-10-20 13:24:24 +0100329 libcrypto_static
Paul Lawrenceec900bb2014-10-09 14:22:49 +0000330
Jeff Brown29e1e732011-07-11 22:12:32 -0700331include $(BUILD_EXECUTABLE)