mirror of
https://github.com/opencv/opencv.git
synced 2024-12-25 01:28:15 +08:00
e1ad86c1fa
OPENCV_ANDROID_SDK - OpenCV Android SDK location (or OpenCV build dir) Can be passed via ndk-build parameter or environment variable.
20 lines
433 B
Makefile
20 lines
433 B
Makefile
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)
|