From c41cb82ea7499c132546c1ab6f798deda6a9d7af Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 22 Dec 2017 16:55:39 +0100 Subject: Squashed 'hidapi/' content from commit b767b43f git-subtree-dir: hidapi git-subtree-split: b767b43f3e6f9c5b92ea7d738331deb8e03c4baf --- android/jni/Android.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 android/jni/Android.mk (limited to 'android/jni') diff --git a/android/jni/Android.mk b/android/jni/Android.mk new file mode 100644 index 0000000..527b43f --- /dev/null +++ b/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) -- cgit v1.2.3