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