shithub: cstory

ref: cf6a3d9a4822ba3207a599f3803c8e465348fbc6
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)