added mk files for NDK-builder of opencv_java project

This commit is contained in:
Kirill Kornyakov 2011-07-22 10:44:40 +00:00
parent 83e2ecd5e1
commit ed96af94cc
2 changed files with 15 additions and 0 deletions

12
android/jni/Android.mk Normal file
View 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)

View File

@ -0,0 +1,3 @@
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -fexceptions
APP_ABI := armeabi-v7a