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_STATIC_LIBRARIES := libusbhost libcutils
     15 LOCAL_LDLIBS += -lpthread
     16 LOCAL_CFLAGS := -g -O0
     17 
     18 include $(BUILD_HOST_EXECUTABLE)
     19 
     20 endif
     21 
     22 # Build for device
     23 include $(CLEAR_VARS)
     24 
     25 LOCAL_MODULE_TAGS := optional
     26 
     27 LOCAL_SRC_FILES := accessorychat.c
     28 
     29 LOCAL_MODULE := accessorychat
     30 
     31 LOCAL_SHARED_LIBRARIES := libusbhost libcutils
     32 
     33 include $(BUILD_EXECUTABLE)
     34