mirror of https://github.com/opencv/opencv.git
parent
70e55fd7c6
commit
d36b959dd1
4 changed files with 0 additions and 54 deletions
@ -1,19 +0,0 @@ |
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS) |
||||
|
||||
ifdef OPENCV_ANDROID_SDK |
||||
ifneq ("","$(wildcard $(OPENCV_ANDROID_SDK)/OpenCV.mk)")
|
||||
include ${OPENCV_ANDROID_SDK}/OpenCV.mk
|
||||
else
|
||||
include ${OPENCV_ANDROID_SDK}/sdk/native/jni/OpenCV.mk
|
||||
endif
|
||||
else |
||||
include ../../sdk/native/jni/OpenCV.mk
|
||||
endif |
||||
|
||||
LOCAL_MODULE := mixed_sample
|
||||
LOCAL_SRC_FILES := jni_part.cpp
|
||||
LOCAL_LDLIBS += -llog -ldl
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY) |
@ -1,4 +0,0 @@ |
||||
APP_STL := gnustl_static
|
||||
APP_CPPFLAGS := -frtti -fexceptions
|
||||
APP_ABI := armeabi-v7a
|
||||
APP_PLATFORM := android-8
|
@ -1,27 +0,0 @@ |
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
# add OpenCV
|
||||
include $(CLEAR_VARS) |
||||
OPENCV_INSTALL_MODULES:=on
|
||||
ifdef OPENCV_ANDROID_SDK |
||||
ifneq ("","$(wildcard $(OPENCV_ANDROID_SDK)/OpenCV.mk)")
|
||||
include ${OPENCV_ANDROID_SDK}/OpenCV.mk
|
||||
else
|
||||
include ${OPENCV_ANDROID_SDK}/sdk/native/jni/OpenCV.mk
|
||||
endif
|
||||
else |
||||
include ../../sdk/native/jni/OpenCV.mk
|
||||
endif |
||||
|
||||
ifndef OPENCL_SDK |
||||
$(error Specify OPENCL_SDK to Android OpenCL SDK location)
|
||||
endif |
||||
|
||||
# add OpenCL
|
||||
LOCAL_C_INCLUDES += $(OPENCL_SDK)/include
|
||||
LOCAL_LDLIBS += -L$(OPENCL_SDK)/lib/$(TARGET_ARCH_ABI) -lOpenCL
|
||||
|
||||
LOCAL_MODULE := JNIpart
|
||||
LOCAL_SRC_FILES := jni.c CLprocessor.cpp
|
||||
LOCAL_LDLIBS += -llog -lGLESv2 -lEGL
|
||||
include $(BUILD_SHARED_LIBRARY) |
@ -1,4 +0,0 @@ |
||||
APP_STL := gnustl_static
|
||||
APP_GNUSTL_FORCE_CPP_FEATURES := exceptions rtti
|
||||
APP_ABI := armeabi-v7a
|
||||
APP_PLATFORM := android-14
|
Loading…
Reference in new issue