summaryrefslogtreecommitdiffstats
path: root/jni/Android.mk
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2012-09-25 21:27:56 (GMT)
committernicolasroard <nicolasroard@google.com>2012-09-26 23:13:45 (GMT)
commitc3d751a2c2fe39bb0613ce139205bb59e1beb527 (patch)
tree32f1828f68b5809ed5d5636d492c0a6fa472d9c7 /jni/Android.mk
parent35be3cb85415d9f7252d60275a8ef0b01a72d9f3 (diff)
downloadandroid_packages_apps_Snap-c3d751a2c2fe39bb0613ce139205bb59e1beb527.zip
android_packages_apps_Snap-c3d751a2c2fe39bb0613ce139205bb59e1beb527.tar.gz
android_packages_apps_Snap-c3d751a2c2fe39bb0613ce139205bb59e1beb527.tar.bz2
Initial import of the new image editor
bug:7165910 Change-Id: I756d6594f5bddd233772c979410362ca22e232a3
Diffstat (limited to 'jni/Android.mk')
-rw-r--r--jni/Android.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index 099b9ba..01dd728 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -14,4 +14,21 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjni_eglfence
+
+include $(BUILD_SHARED_LIBRARY)
+
+# Filtershow
+
+include $(CLEAR_VARS)
+
+LOCAL_LDLIBS := -llog -ljnigraphics
+LOCAL_MODULE := filters
+LOCAL_SRC_FILES := filters/bw.c \
+ filters/gradient.c \
+ filters/saturated.c \
+ filters/vignette.c
+
+LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops
+LOCAL_ARM_MODE := arm
+
include $(BUILD_SHARED_LIBRARY)