Android.mk 555 B

1234567891011121314151617181920212223
  1. LOCAL_PATH := $(call my-dir)
  2. include $(CLEAR_VARS)
  3. #OPENCV_INSTALL_MODULES:=off
  4. #OPENCV_LIB_TYPE:=SHARED
  5. ifdef OPENCV_ANDROID_SDK
  6. ifneq ("","$(wildcard $(OPENCV_ANDROID_SDK)/OpenCV.mk)")
  7. include ${OPENCV_ANDROID_SDK}/OpenCV.mk
  8. else
  9. include ${OPENCV_ANDROID_SDK}/sdk/native/jni/OpenCV.mk
  10. endif
  11. else
  12. include ../../sdk/native/jni/OpenCV.mk
  13. endif
  14. LOCAL_SRC_FILES := DetectionBasedTracker_jni.cpp
  15. LOCAL_C_INCLUDES += $(LOCAL_PATH)
  16. LOCAL_LDLIBS += -llog -ldl
  17. LOCAL_MODULE := detection_based_tracker
  18. include $(BUILD_SHARED_LIBRARY)