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 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
      8 
      9 LOCAL_MODULE_TAGS := optional
     10 
     11 LOCAL_SRC_FILES := accessorychat.c
     12 
     13 LOCAL_MODULE := accessorychat
     14 
     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 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     26 
     27 LOCAL_MODULE_TAGS := optional
     28 
     29 LOCAL_SRC_FILES := accessorychat.c
     30 
     31 LOCAL_MODULE := accessorychat
     32 
     33 LOCAL_SHARED_LIBRARIES := libusbhost libcutils
     34 
     35 include $(BUILD_EXECUTABLE)
     36