Ethan Yonker | c798c9c | 2015-10-09 11:15:26 -0500 | [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 \ |
| 16 | fuse_adb_provider.c \ |
| 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 |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 26 | LOCAL_CFLAGS += -DUSE_FUSE_SIDELOAD22 |
Ethan Yonker | c798c9c | 2015-10-09 11:15:26 -0500 | [diff] [blame] | 27 | LOCAL_MODULE_TAGS := eng |
| 28 | LOCAL_MODULE := libminadbd |
| 29 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../ |
| 30 | LOCAL_SHARED_LIBRARIES := libfusesideload libcutils libc |
| 31 | include $(BUILD_SHARED_LIBRARY) |