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 LOCAL_CPPFLAGS := -std=gnu++98 14 15 LOCAL_SRC_FILES := \ 16 feature_mos_jni.cpp \ 17 mosaic_renderer_jni.cpp \ 18 feature_mos/src/mosaic/trsMatrix.cpp \ 19 feature_mos/src/mosaic/AlignFeatures.cpp \ 20 feature_mos/src/mosaic/Blend.cpp \ 21 feature_mos/src/mosaic/Delaunay.cpp \ 22 feature_mos/src/mosaic/ImageUtils.cpp \ 23 feature_mos/src/mosaic/Mosaic.cpp \ 24 feature_mos/src/mosaic/Pyramid.cpp \ 25 feature_mos/src/mosaic_renderer/Renderer.cpp \ 26 feature_mos/src/mosaic_renderer/WarpRenderer.cpp \ 27 feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.cpp \ 28 feature_mos/src/mosaic_renderer/YVURenderer.cpp \ 29 feature_mos/src/mosaic_renderer/FrameBuffer.cpp \ 30 feature_stab/db_vlvm/db_feature_detection.cpp \ 31 feature_stab/db_vlvm/db_feature_matching.cpp \ 32 feature_stab/db_vlvm/db_framestitching.cpp \ 33 feature_stab/db_vlvm/db_image_homography.cpp \ 34 feature_stab/db_vlvm/db_rob_image_homography.cpp \ 35 feature_stab/db_vlvm/db_utilities.cpp \ 36 feature_stab/db_vlvm/db_utilities_camera.cpp \ 37 feature_stab/db_vlvm/db_utilities_indexing.cpp \ 38 feature_stab/db_vlvm/db_utilities_linalg.cpp \ 39 feature_stab/db_vlvm/db_utilities_poly.cpp \ 40 feature_stab/src/dbreg/dbreg.cpp \ 41 feature_stab/src/dbreg/dbstabsmooth.cpp \ 42 feature_stab/src/dbreg/vp_motionmodel.c 43 44 LOCAL_SHARED_LIBRARIES := liblog libnativehelper libGLESv2 45 #LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -ldl -llog -lGLESv2 -L$(TARGET_OUT) 46 47 LOCAL_MODULE_TAGS := optional 48 49 LOCAL_MODULE := libjni_legacymosaic 50 include $(BUILD_SHARED_LIBRARY) 51