Michael Kolb | 25668cd | 2013-01-29 10:33:22 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_C_INCLUDES := \ |
| 6 | $(LOCAL_PATH)/feature_stab/db_vlvm \ |
| 7 | $(LOCAL_PATH)/feature_stab/src \ |
| 8 | $(LOCAL_PATH)/feature_stab/src/dbreg \ |
| 9 | $(LOCAL_PATH)/feature_mos/src \ |
| 10 | $(LOCAL_PATH)/feature_mos/src/mosaic |
| 11 | |
| 12 | LOCAL_CFLAGS := -O3 -DNDEBUG -fstrict-aliasing |
| 13 | |
| 14 | LOCAL_SRC_FILES := \ |
| 15 | feature_mos_jni.cpp \ |
| 16 | mosaic_renderer_jni.cpp \ |
| 17 | feature_mos/src/mosaic/trsMatrix.cpp \ |
| 18 | feature_mos/src/mosaic/AlignFeatures.cpp \ |
| 19 | feature_mos/src/mosaic/Blend.cpp \ |
| 20 | feature_mos/src/mosaic/Delaunay.cpp \ |
| 21 | feature_mos/src/mosaic/ImageUtils.cpp \ |
| 22 | feature_mos/src/mosaic/Mosaic.cpp \ |
| 23 | feature_mos/src/mosaic/Pyramid.cpp \ |
| 24 | feature_mos/src/mosaic_renderer/Renderer.cpp \ |
| 25 | feature_mos/src/mosaic_renderer/WarpRenderer.cpp \ |
| 26 | feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.cpp \ |
| 27 | feature_mos/src/mosaic_renderer/YVURenderer.cpp \ |
| 28 | feature_mos/src/mosaic_renderer/FrameBuffer.cpp \ |
| 29 | feature_stab/db_vlvm/db_feature_detection.cpp \ |
| 30 | feature_stab/db_vlvm/db_feature_matching.cpp \ |
| 31 | feature_stab/db_vlvm/db_framestitching.cpp \ |
| 32 | feature_stab/db_vlvm/db_image_homography.cpp \ |
| 33 | feature_stab/db_vlvm/db_rob_image_homography.cpp \ |
| 34 | feature_stab/db_vlvm/db_utilities.cpp \ |
| 35 | feature_stab/db_vlvm/db_utilities_camera.cpp \ |
| 36 | feature_stab/db_vlvm/db_utilities_indexing.cpp \ |
| 37 | feature_stab/db_vlvm/db_utilities_linalg.cpp \ |
| 38 | feature_stab/db_vlvm/db_utilities_poly.cpp \ |
| 39 | feature_stab/src/dbreg/dbreg.cpp \ |
| 40 | feature_stab/src/dbreg/dbstabsmooth.cpp \ |
| 41 | feature_stab/src/dbreg/vp_motionmodel.c |
| 42 | |
| 43 | ifeq ($(TARGET_ARCH), arm) |
| 44 | LOCAL_SDK_VERSION := 9 |
| 45 | endif |
| 46 | |
| 47 | ifeq ($(TARGET_ARCH), x86) |
| 48 | LOCAL_SDK_VERSION := 9 |
| 49 | endif |
| 50 | |
| 51 | ifeq ($(TARGET_ARCH), mips) |
| 52 | LOCAL_SDK_VERSION := 9 |
| 53 | endif |
| 54 | |
| 55 | LOCAL_LDFLAGS := -llog -lGLESv2 |
| 56 | |
| 57 | LOCAL_MODULE_TAGS := optional |
| 58 | |
| 59 | LOCAL_MODULE := libjni_mosaic |
| 60 | include $(BUILD_SHARED_LIBRARY) |