shithub: cstory

ref: 4a8877713e6851c8170865c652b36965a0153a7c
dir: /external/SDL2/src/hidapi/android/jni/Android.mk/

View raw version
LOCAL_PATH:= $(call my-dir)

HIDAPI_ROOT_REL:= ../..
HIDAPI_ROOT_ABS:= $(LOCAL_PATH)/../..

include $(CLEAR_VARS)

LOCAL_CPPFLAGS += -std=c++11

LOCAL_SRC_FILES := \
  $(HIDAPI_ROOT_REL)/android/hid.cpp

LOCAL_MODULE := libhidapi
LOCAL_LDLIBS := -llog

include $(BUILD_SHARED_LIBRARY)