2015-07-27 06:07:56 +08:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2015-07-27 07:57:01 +08:00
|
|
|
LOCAL_MODULE := OpenCL
|
|
|
|
LOCAL_SRC_FILES := $(OPENCL_SDK)/lib/$(TARGET_ARCH_ABI)/libOpenCL.so
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(OPENCL_SDK)/include
|
|
|
|
include $(PREBUILT_SHARED_LIBRARY)
|
2015-07-27 06:07:56 +08:00
|
|
|
|
2015-07-27 07:57:01 +08:00
|
|
|
include $(CLEAR_VARS)
|
2015-07-27 09:04:56 +08:00
|
|
|
OPENCV_INSTALL_MODULES:=on
|
|
|
|
ifeq ($(O4A_SDK_ROOT),)
|
|
|
|
include ../../sdk/native/jni/OpenCV.mk
|
|
|
|
else
|
|
|
|
include $(O4A_SDK_ROOT)/sdk/native/jni/OpenCV.mk
|
|
|
|
endif
|
|
|
|
|
2015-07-27 06:07:56 +08:00
|
|
|
LOCAL_MODULE := JNIrender
|
2015-07-27 07:57:01 +08:00
|
|
|
LOCAL_SRC_FILES := jni.c GLrender.cpp CLprocessor.cpp
|
2015-07-27 09:04:56 +08:00
|
|
|
LOCAL_LDLIBS += -llog -lGLESv2 -lEGL
|
|
|
|
LOCAL_SHARED_LIBRARIES += OpenCL
|
2015-07-27 06:07:56 +08:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|