mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
added mk files for NDK-builder of opencv_java project
This commit is contained in:
parent
83e2ecd5e1
commit
ed96af94cc
12
android/jni/Android.mk
Normal file
12
android/jni/Android.mk
Normal file
@ -0,0 +1,12 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
OPENCV_CAMERA_MODULES := off
|
||||
include OpenCV.mk
|
||||
|
||||
LOCAL_MODULE := opencv_java
|
||||
LOCAL_SRC_FILES := android.cpp calib3d.cpp features2d.cpp imgproc.cpp ml.cpp utils.cpp VideoCapture.cpp core.cpp highgui.cpp Mat.cpp objdetect.cpp video.cpp
|
||||
LOCAL_LDLIBS += -llog -ldl -ljnigraphics
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
3
android/jni/Application.mk
Normal file
3
android/jni/Application.mk
Normal file
@ -0,0 +1,3 @@
|
||||
APP_STL := gnustl_static
|
||||
APP_CPPFLAGS := -frtti -fexceptions
|
||||
APP_ABI := armeabi-v7a
|
Loading…
Reference in New Issue
Block a user