1LOCAL_PATH:= $(call my-dir)
2
3# Build for Linux host only
4ifeq ($(HOST_OS),linux)
5
6include $(CLEAR_VARS)
7
8LOCAL_MODULE_TAGS := optional
9
10LOCAL_SRC_FILES :=  accessory.c \
11                    audio.c     \
12                    hid.c       \
13                    usb.c
14
15LOCAL_C_INCLUDES += external/tinyalsa/include
16
17LOCAL_MODULE := accessorytest
18
19LOCAL_STATIC_LIBRARIES := libusbhost libcutils libtinyalsa
20LOCAL_LDLIBS += -lpthread
21LOCAL_CFLAGS := -g -O0
22
23include $(BUILD_HOST_EXECUTABLE)
24
25endif
26