blob: 04956d87059c286739cb597e2d4f42651bd84fb7 [file] [log] [blame]
Doug Zongker9270a202012-01-09 15:16:13 -08001# 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 \
Doug Zongker18a78e02014-07-10 07:31:46 -070016 fuse_adb_provider.c \
Doug Zongker9270a202012-01-09 15:16:13 -080017 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
Doug Zongker18a78e02014-07-10 07:31:46 -070026LOCAL_C_INCLUDES += bootable/recovery
Doug Zongker9270a202012-01-09 15:16:13 -080027
28LOCAL_MODULE := libminadbd
29
Doug Zongker18a78e02014-07-10 07:31:46 -070030LOCAL_STATIC_LIBRARIES := libfusesideload libcutils libc
31
Doug Zongker9270a202012-01-09 15:16:13 -080032include $(BUILD_STATIC_LIBRARY)