diff options
Diffstat (limited to 'hidapi/android/jni')
-rw-r--r-- | hidapi/android/jni/Android.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/hidapi/android/jni/Android.mk b/hidapi/android/jni/Android.mk new file mode 100644 index 0000000..527b43f --- /dev/null +++ b/hidapi/android/jni/Android.mk @@ -0,0 +1,19 @@ +LOCAL_PATH:= $(call my-dir) + +HIDAPI_ROOT_REL:= ../.. +HIDAPI_ROOT_ABS:= $(LOCAL_PATH)/../.. + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + $(HIDAPI_ROOT_REL)/libusb/hid.c + +LOCAL_C_INCLUDES += \ + $(HIDAPI_ROOT_ABS)/hidapi \ + $(HIDAPI_ROOT_ABS)/android + +LOCAL_SHARED_LIBRARIES := libusb1.0 + +LOCAL_MODULE := libhidapi + +include $(BUILD_SHARED_LIBRARY) |