Home | History | Annotate | Download | only in accessorychat
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # Build for Linux (desktop) host
      4 ifeq ($(HOST_OS),linux)
      5 
      6 include $(CLEAR_VARS)
      7 
      8 LOCAL_MODULE_TAGS := optional
      9 
     10 LOCAL_SRC_FILES := accessorychat.c
     11 
     12 LOCAL_MODULE := accessorychat
     13 
     14 LOCAL_C_INCLUDES += bionic/libc/kernel/common
     15 LOCAL_STATIC_LIBRARIES := libusbhost libcutils
     16 LOCAL_LDLIBS += -lpthread
     17 LOCAL_CFLAGS := -g -O0
     18 
     19 include $(BUILD_HOST_EXECUTABLE)
     20 
     21 endif
     22 
     23 # Build for device
     24 include $(CLEAR_VARS)
     25 
     26 LOCAL_MODULE_TAGS := optional
     27 
     28 LOCAL_SRC_FILES := accessorychat.c
     29 
     30 LOCAL_MODULE := accessorychat
     31 
     32 LOCAL_SHARED_LIBRARIES := libusbhost libcutils
     33 
     34 include $(BUILD_EXECUTABLE)
     35