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 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 LOCAL_SHARED_LIBRARIES := liblog libnativehelper libGLESv2 44 #LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -ldl -llog -lGLESv2 -L$(TARGET_OUT) 45 46 LOCAL_MODULE_TAGS := optional 47 48 LOCAL_MODULE := libjni_legacymosaic 49 include $(BUILD_SHARED_LIBRARY) 50