Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 1 | # Copyright 2005 The Android Open Source Project |
| 2 | # |
| 3 | # Android.mk for adb |
| 4 | # |
| 5 | |
| 6 | LOCAL_PATH:= $(call my-dir) |
| 7 | |
| 8 | # minadbd library |
| 9 | # ========================================================= |
| 10 | |
| 11 | include $(CLEAR_VARS) |
| 12 | |
| 13 | LOCAL_SRC_FILES := \ |
| 14 | adb.c \ |
| 15 | fdevent.c \ |
Doug Zongker | 18a78e0 | 2014-07-10 07:31:46 -0700 | [diff] [blame] | 16 | fuse_adb_provider.c \ |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 17 | transport.c \ |
| 18 | transport_usb.c \ |
| 19 | sockets.c \ |
| 20 | services.c \ |
| 21 | usb_linux_client.c \ |
| 22 | utils.c |
| 23 | |
| 24 | LOCAL_CFLAGS := -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter |
| 25 | LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE |
Doug Zongker | 18a78e0 | 2014-07-10 07:31:46 -0700 | [diff] [blame] | 26 | LOCAL_C_INCLUDES += bootable/recovery |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 27 | |
| 28 | LOCAL_MODULE := libminadbd |
| 29 | |
Doug Zongker | 18a78e0 | 2014-07-10 07:31:46 -0700 | [diff] [blame] | 30 | LOCAL_STATIC_LIBRARIES := libfusesideload libcutils libc |
| 31 | |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 32 | include $(BUILD_STATIC_LIBRARY) |