18a78e0a16
Split the adb-specific portions (fetching a block from the adb host and closing the connections) out from the rest of the FUSE filesystem code, so that we can reuse the fuse stuff for installing off sdcards as well. Change-Id: I0ba385fd35999c5f5cad27842bc82024a264dd14
32 lines
632 B
Makefile
32 lines
632 B
Makefile
# Copyright 2005 The Android Open Source Project
|
|
#
|
|
# Android.mk for adb
|
|
#
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
# minadbd library
|
|
# =========================================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
adb.c \
|
|
fdevent.c \
|
|
fuse_adb_provider.c \
|
|
transport.c \
|
|
transport_usb.c \
|
|
sockets.c \
|
|
services.c \
|
|
usb_linux_client.c \
|
|
utils.c
|
|
|
|
LOCAL_CFLAGS := -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter
|
|
LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
|
|
LOCAL_C_INCLUDES += bootable/recovery
|
|
|
|
LOCAL_MODULE := libminadbd
|
|
|
|
LOCAL_STATIC_LIBRARIES := libfusesideload libcutils libc
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|