blob: 9f6f7392505ccc337f7c61b6571169280b2eadda [file] [log] [blame]
Michael Kolb25668cd2013-01-29 10:33:22 -08001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_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
12LOCAL_CFLAGS := -O3 -DNDEBUG -fstrict-aliasing
13
14LOCAL_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
43ifeq ($(TARGET_ARCH), arm)
44 LOCAL_SDK_VERSION := 9
45endif
46
47ifeq ($(TARGET_ARCH), x86)
48 LOCAL_SDK_VERSION := 9
49endif
50
51ifeq ($(TARGET_ARCH), mips)
52 LOCAL_SDK_VERSION := 9
53endif
54
55LOCAL_LDFLAGS := -llog -lGLESv2
56
57LOCAL_MODULE_TAGS := optional
58
59LOCAL_MODULE := libjni_mosaic
60include $(BUILD_SHARED_LIBRARY)