1cc_library_shared { 2 name: "libjni_legacymosaic", 3 4 local_include_dirs: [ 5 "feature_stab/db_vlvm", 6 "feature_stab/src", 7 "feature_stab/src/dbreg", 8 "feature_mos/src", 9 "feature_mos/src/mosaic", 10 ], 11 12 cflags: [ 13 "-O3", 14 "-DNDEBUG", 15 16 "-Wall", 17 "-Werror", 18 19 // suppress existing non-critical warnings 20 "-Wno-gnu-static-float-init", 21 "-Wno-non-literal-null-conversion", 22 "-Wno-self-assign", 23 "-Wno-unused-parameter", 24 "-Wno-unused-variable", 25 "-Wno-unused-function", 26 ], 27 cppflags: ["-std=gnu++98"], 28 29 srcs: [ 30 "feature_mos_jni.cpp", 31 "mosaic_renderer_jni.cpp", 32 "feature_mos/src/mosaic/trsMatrix.cpp", 33 "feature_mos/src/mosaic/AlignFeatures.cpp", 34 "feature_mos/src/mosaic/Blend.cpp", 35 "feature_mos/src/mosaic/Delaunay.cpp", 36 "feature_mos/src/mosaic/ImageUtils.cpp", 37 "feature_mos/src/mosaic/Mosaic.cpp", 38 "feature_mos/src/mosaic/Pyramid.cpp", 39 "feature_mos/src/mosaic_renderer/Renderer.cpp", 40 "feature_mos/src/mosaic_renderer/WarpRenderer.cpp", 41 "feature_mos/src/mosaic_renderer/SurfaceTextureRenderer.cpp", 42 "feature_mos/src/mosaic_renderer/YVURenderer.cpp", 43 "feature_mos/src/mosaic_renderer/FrameBuffer.cpp", 44 "feature_stab/db_vlvm/db_feature_detection.cpp", 45 "feature_stab/db_vlvm/db_feature_matching.cpp", 46 "feature_stab/db_vlvm/db_framestitching.cpp", 47 "feature_stab/db_vlvm/db_image_homography.cpp", 48 "feature_stab/db_vlvm/db_rob_image_homography.cpp", 49 "feature_stab/db_vlvm/db_utilities.cpp", 50 "feature_stab/db_vlvm/db_utilities_camera.cpp", 51 "feature_stab/db_vlvm/db_utilities_indexing.cpp", 52 "feature_stab/db_vlvm/db_utilities_linalg.cpp", 53 "feature_stab/db_vlvm/db_utilities_poly.cpp", 54 "feature_stab/src/dbreg/dbreg.cpp", 55 "feature_stab/src/dbreg/dbstabsmooth.cpp", 56 "feature_stab/src/dbreg/vp_motionmodel.c", 57 ], 58 59 shared_libs: [ 60 "liblog", 61 "libnativehelper", 62 "libGLESv2", 63 ], 64 65} 66