blob: 28c6d78b744c04a39e12471e1a8f92e913a083d4 [file] [log] [blame]
Ruei-sung Line5c8ed72012-05-31 11:59:31 -07001LOCAL_PATH:= $(call my-dir)
2
Chih-Hung Hsiehfb3125e2017-11-02 10:24:36 -07003Gallery2_jni_cflags := \
4 -Wall -Wextra -Werror \
5 -Wno-error=constant-conversion \
6 -Wno-unused-parameter \
7
8# to fix implicit conversion from 'int' to 'char', (255 to -1, 128 to -128)
9
Ruei-sung Line5c8ed72012-05-31 11:59:31 -070010include $(CLEAR_VARS)
11
12LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES
Chih-Hung Hsiehfb3125e2017-11-02 10:24:36 -070013LOCAL_CFLAGS += $(Gallery2_jni_cflags)
Ruei-sung Line5c8ed72012-05-31 11:59:31 -070014
15LOCAL_SRC_FILES := jni_egl_fence.cpp
16
Keun young Park85ff0012012-08-23 09:44:46 -070017LOCAL_SDK_VERSION := 9
Andrew Hsieh4c8abc32012-07-18 16:40:14 -070018
Ruei-sung Line5c8ed72012-05-31 11:59:31 -070019LOCAL_MODULE_TAGS := optional
20
Likai Dingc83b5b72016-05-25 14:48:41 +080021LOCAL_MODULE := libjni_gallery_eglfence
Ruei-sung Line5c8ed72012-05-31 11:59:31 -070022
Ying Wang745eb582014-07-22 12:27:43 -070023LOCAL_LDLIBS := -llog -lEGL
24
nicolasroard0d7cdf82012-09-25 14:27:56 -070025
26include $(BUILD_SHARED_LIBRARY)
27
28# Filtershow
29
30include $(CLEAR_VARS)
31
Sascha Haeberling2f879102012-10-19 15:43:03 -070032LOCAL_CPP_EXTENSION := .cc
nicolasroard69d781a2012-09-26 17:50:19 -070033LOCAL_SDK_VERSION := 9
Likai Dingc83b5b72016-05-25 14:48:41 +080034LOCAL_MODULE := libjni_gallery_filters
Ruben Brunk101789e2012-12-13 22:42:33 -080035LOCAL_SRC_FILES := filters/gradient.c \
Ruben Brunk7bd60252012-10-08 13:48:46 -070036 filters/saturated.c \
John Hofordbf97d3a2012-10-01 17:21:55 -070037 filters/exposure.c \
Ruben Brunkfc8d2752012-12-10 18:50:10 -080038 filters/edge.c \
John Hofordd42f6c62012-09-27 16:34:21 -070039 filters/contrast.c \
40 filters/hue.c \
John Hofordc7b2c282012-10-02 18:12:03 -070041 filters/shadows.c \
John Hoford8921c282013-02-20 17:50:42 -080042 filters/highlight.c \
John Hofordc7b2c282012-10-02 18:12:03 -070043 filters/hsv.c \
John Hofordb559b2d2012-10-04 14:12:36 -070044 filters/vibrance.c \
Ruben Brunk7bd60252012-10-08 13:48:46 -070045 filters/geometry.c \
Ruben Brunkce178c12012-12-10 19:40:27 -080046 filters/negative.c \
John Hoford90b1d252012-10-08 14:21:57 -070047 filters/redEyeMath.c \
John Hoford457e88c2012-10-09 16:17:17 -070048 filters/fx.c \
John Hoford4988eff2012-10-10 14:17:30 -070049 filters/wbalance.c \
Sascha Haeberling2f879102012-10-19 15:43:03 -070050 filters/redeye.c \
John Hoford67fefdb2012-10-23 15:17:12 -070051 filters/bwfilter.c \
Ruben Brunk27fb72e2012-12-12 21:35:12 -080052 filters/tinyplanet.cc \
53 filters/kmeans.cc
nicolasroard0d7cdf82012-09-25 14:27:56 -070054
Chih-Hung Hsiehfb3125e2017-11-02 10:24:36 -070055LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops
56LOCAL_CFLAGS += $(Gallery2_jni_cflags)
Ying Wang745eb582014-07-22 12:27:43 -070057LOCAL_LDLIBS := -llog -ljnigraphics
nicolasroard0d7cdf82012-09-25 14:27:56 -070058LOCAL_ARM_MODE := arm
59
Ruei-sung Line5c8ed72012-05-31 11:59:31 -070060include $(BUILD_SHARED_LIBRARY)