summaryrefslogtreecommitdiffstats
path: root/libs/usb/tests/accessorytest/Android.mk
blob: 6d9a9460c6750f417779c030e8f477b8eea2b989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
LOCAL_PATH:= $(call my-dir)

# Build for Linux host only
ifeq ($(HOST_OS),linux)

include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES :=  accessory.c \
                    audio.c     \
                    hid.c       \
                    usb.c

LOCAL_C_INCLUDES += external/tinyalsa/include

LOCAL_MODULE := accessorytest

LOCAL_STATIC_LIBRARIES := libusbhost libcutils libtinyalsa
LOCAL_LDLIBS += -lpthread
LOCAL_CFLAGS := -g -O0

include $(BUILD_HOST_EXECUTABLE)

endif