1local_target_dir := $(TARGET_OUT_DATA)/local/tmp 2 3LOCAL_PATH:= $(call my-dir) 4 5include $(CLEAR_VARS) 6 7LOCAL_C_INCLUDES := \ 8 $(LOCAL_PATH)/feature_mos/src \ 9 $(LOCAL_PATH)/feature_stab/src \ 10 $(LOCAL_PATH)/feature_stab/db_vlvm 11 12LOCAL_SRC_FILES := benchmark.cpp \ 13 feature_mos/src/mosaic/ImageUtils.cpp \ 14 feature_mos/src/mosaic/Mosaic.cpp \ 15 feature_mos/src/mosaic/AlignFeatures.cpp \ 16 feature_mos/src/mosaic/Blend.cpp \ 17 feature_mos/src/mosaic/Pyramid.cpp \ 18 feature_mos/src/mosaic/trsMatrix.cpp \ 19 feature_mos/src/mosaic/Delaunay.cpp \ 20 feature_mos/src/mosaic_renderer/Renderer.cpp \ 21 feature_mos/src/mosaic_renderer/WarpRenderer.cpp \ 22 feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.cpp \ 23 feature_mos/src/mosaic_renderer/YVURenderer.cpp \ 24 feature_mos/src/mosaic_renderer/FrameBuffer.cpp \ 25 feature_stab/db_vlvm/db_rob_image_homography.cpp \ 26 feature_stab/db_vlvm/db_feature_detection.cpp \ 27 feature_stab/db_vlvm/db_image_homography.cpp \ 28 feature_stab/db_vlvm/db_framestitching.cpp \ 29 feature_stab/db_vlvm/db_feature_matching.cpp \ 30 feature_stab/db_vlvm/db_utilities.cpp \ 31 feature_stab/db_vlvm/db_utilities_camera.cpp \ 32 feature_stab/db_vlvm/db_utilities_indexing.cpp \ 33 feature_stab/db_vlvm/db_utilities_linalg.cpp \ 34 feature_stab/db_vlvm/db_utilities_poly.cpp \ 35 feature_stab/src/dbreg/dbstabsmooth.cpp \ 36 feature_stab/src/dbreg/dbreg.cpp \ 37 feature_stab/src/dbreg/vp_motionmodel.c 38 39LOCAL_CFLAGS := -O3 -DNDEBUG -Wno-unused-parameter -Wno-maybe-uninitialized 40LOCAL_CPPFLAGS := -std=c++98 41LOCAL_MODULE_TAGS := tests 42LOCAL_MODULE := panorama_bench 43LOCAL_MODULE_STEM_32 := panorama_bench 44LOCAL_MODULE_STEM_64 := panorama_bench64 45LOCAL_MULTILIB := both 46LOCAL_MODULE_PATH := $(local_target_dir) 47LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 48LOCAL_FORCE_STATIC_EXECUTABLE := true 49LOCAL_STATIC_LIBRARIES := libc libm 50 51include $(BUILD_EXECUTABLE) 52