blob: 201c79534468ff00e93cbb585719e5b1319274c2 [file] [log] [blame]
Ethan Yonkerc798c9c2015-10-09 11:15:26 -05001# Copyright 2005 The Android Open Source Project
2#
3# Android.mk for adb
4#
5
6LOCAL_PATH:= $(call my-dir)
7
8# minadbd library
9# =========================================================
10
11include $(CLEAR_VARS)
12
13LOCAL_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
24LOCAL_CFLAGS := -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter
25LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
Ethan Yonker58f21322018-08-24 11:17:36 -050026LOCAL_CFLAGS += -DUSE_FUSE_SIDELOAD22
Ethan Yonkerc798c9c2015-10-09 11:15:26 -050027LOCAL_MODULE_TAGS := eng
28LOCAL_MODULE := libminadbd
29LOCAL_C_INCLUDES += $(LOCAL_PATH)/../
30LOCAL_SHARED_LIBRARIES := libfusesideload libcutils libc
31include $(BUILD_SHARED_LIBRARY)