Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
2 | |||||
Chih-Hung Hsieh | fb3125e | 2017-11-02 10:24:36 -0700 | [diff] [blame^] | 3 | Gallery2_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 Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 10 | include $(CLEAR_VARS) |
11 | |||||
12 | LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES | ||||
Chih-Hung Hsieh | fb3125e | 2017-11-02 10:24:36 -0700 | [diff] [blame^] | 13 | LOCAL_CFLAGS += $(Gallery2_jni_cflags) |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 14 | |
15 | LOCAL_SRC_FILES := jni_egl_fence.cpp | ||||
16 | |||||
Keun young Park | 85ff001 | 2012-08-23 09:44:46 -0700 | [diff] [blame] | 17 | LOCAL_SDK_VERSION := 9 |
Andrew Hsieh | 4c8abc3 | 2012-07-18 16:40:14 -0700 | [diff] [blame] | 18 | |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 19 | LOCAL_MODULE_TAGS := optional |
20 | |||||
Likai Ding | c83b5b7 | 2016-05-25 14:48:41 +0800 | [diff] [blame] | 21 | LOCAL_MODULE := libjni_gallery_eglfence |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 22 | |
Ying Wang | 745eb58 | 2014-07-22 12:27:43 -0700 | [diff] [blame] | 23 | LOCAL_LDLIBS := -llog -lEGL |
24 | |||||
nicolasroard | 0d7cdf8 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 25 | |
26 | include $(BUILD_SHARED_LIBRARY) | ||||
27 | |||||
28 | # Filtershow | ||||
29 | |||||
30 | include $(CLEAR_VARS) | ||||
31 | |||||
Sascha Haeberling | 2f87910 | 2012-10-19 15:43:03 -0700 | [diff] [blame] | 32 | LOCAL_CPP_EXTENSION := .cc |
nicolasroard | 69d781a | 2012-09-26 17:50:19 -0700 | [diff] [blame] | 33 | LOCAL_SDK_VERSION := 9 |
Likai Ding | c83b5b7 | 2016-05-25 14:48:41 +0800 | [diff] [blame] | 34 | LOCAL_MODULE := libjni_gallery_filters |
Ruben Brunk | 101789e | 2012-12-13 22:42:33 -0800 | [diff] [blame] | 35 | LOCAL_SRC_FILES := filters/gradient.c \ |
Ruben Brunk | 7bd6025 | 2012-10-08 13:48:46 -0700 | [diff] [blame] | 36 | filters/saturated.c \ |
John Hoford | bf97d3a | 2012-10-01 17:21:55 -0700 | [diff] [blame] | 37 | filters/exposure.c \ |
Ruben Brunk | fc8d275 | 2012-12-10 18:50:10 -0800 | [diff] [blame] | 38 | filters/edge.c \ |
John Hoford | d42f6c6 | 2012-09-27 16:34:21 -0700 | [diff] [blame] | 39 | filters/contrast.c \ |
40 | filters/hue.c \ | ||||
John Hoford | c7b2c28 | 2012-10-02 18:12:03 -0700 | [diff] [blame] | 41 | filters/shadows.c \ |
John Hoford | 8921c28 | 2013-02-20 17:50:42 -0800 | [diff] [blame] | 42 | filters/highlight.c \ |
John Hoford | c7b2c28 | 2012-10-02 18:12:03 -0700 | [diff] [blame] | 43 | filters/hsv.c \ |
John Hoford | b559b2d | 2012-10-04 14:12:36 -0700 | [diff] [blame] | 44 | filters/vibrance.c \ |
Ruben Brunk | 7bd6025 | 2012-10-08 13:48:46 -0700 | [diff] [blame] | 45 | filters/geometry.c \ |
Ruben Brunk | ce178c1 | 2012-12-10 19:40:27 -0800 | [diff] [blame] | 46 | filters/negative.c \ |
John Hoford | 90b1d25 | 2012-10-08 14:21:57 -0700 | [diff] [blame] | 47 | filters/redEyeMath.c \ |
John Hoford | 457e88c | 2012-10-09 16:17:17 -0700 | [diff] [blame] | 48 | filters/fx.c \ |
John Hoford | 4988eff | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 49 | filters/wbalance.c \ |
Sascha Haeberling | 2f87910 | 2012-10-19 15:43:03 -0700 | [diff] [blame] | 50 | filters/redeye.c \ |
John Hoford | 67fefdb | 2012-10-23 15:17:12 -0700 | [diff] [blame] | 51 | filters/bwfilter.c \ |
Ruben Brunk | 27fb72e | 2012-12-12 21:35:12 -0800 | [diff] [blame] | 52 | filters/tinyplanet.cc \ |
53 | filters/kmeans.cc | ||||
nicolasroard | 0d7cdf8 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 54 | |
Chih-Hung Hsieh | fb3125e | 2017-11-02 10:24:36 -0700 | [diff] [blame^] | 55 | LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops |
56 | LOCAL_CFLAGS += $(Gallery2_jni_cflags) | ||||
Ying Wang | 745eb58 | 2014-07-22 12:27:43 -0700 | [diff] [blame] | 57 | LOCAL_LDLIBS := -llog -ljnigraphics |
nicolasroard | 0d7cdf8 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 58 | LOCAL_ARM_MODE := arm |
59 | |||||
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 60 | include $(BUILD_SHARED_LIBRARY) |