1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES 6 7 LOCAL_SRC_FILES := jni_egl_fence.cpp 8 9 LOCAL_SDK_VERSION := 9 10 11 LOCAL_LDFLAGS := -llog -lEGL 12 13 LOCAL_MODULE_TAGS := optional 14 15 LOCAL_MODULE := libjni_eglfence 16 17 18 include $(BUILD_SHARED_LIBRARY) 19 20 # Filtershow 21 22 include $(CLEAR_VARS) 23 24 LOCAL_CPP_EXTENSION := .cc 25 LOCAL_LDFLAGS := -llog -ljnigraphics 26 LOCAL_SDK_VERSION := 9 27 LOCAL_MODULE := libjni_filtershow_filters 28 LOCAL_SRC_FILES := filters/gradient.c \ 29 filters/saturated.c \ 30 filters/exposure.c \ 31 filters/edge.c \ 32 filters/contrast.c \ 33 filters/hue.c \ 34 filters/shadows.c \ 35 filters/highlight.c \ 36 filters/hsv.c \ 37 filters/vibrance.c \ 38 filters/geometry.c \ 39 filters/negative.c \ 40 filters/vignette.c \ 41 filters/redEyeMath.c \ 42 filters/fx.c \ 43 filters/wbalance.c \ 44 filters/redeye.c \ 45 filters/bwfilter.c \ 46 filters/tinyplanet.cc \ 47 filters/kmeans.cc 48 49 LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 50 LOCAL_ARM_MODE := arm 51 52 include $(BUILD_SHARED_LIBRARY) 53