blob: b6971c6d67a61b541763a5fb1e9b6053a99245c4 [file] [log] [blame]
cc_defaults {
name: "gallery2_jni_defaults",
system_ext_specific: true,
cflags: [
"-Wall",
"-Wextra",
"-Werror",
],
sdk_version: "9",
shared_libs: ["liblog"],
}
cc_library_shared {
name: "libjni_gallery_eglfence",
defaults: ["gallery2_jni_defaults"],
cflags: ["-DEGL_EGLEXT_PROTOTYPES"],
shared_libs: ["libEGL"],
srcs: ["jni_egl_fence.cpp"],
}
// Filtershow
cc_library_shared {
name: "libjni_gallery_filters",
defaults: ["gallery2_jni_defaults"],
srcs: [
"filters/gradient.c",
"filters/saturated.c",
"filters/exposure.c",
"filters/edge.c",
"filters/contrast.c",
"filters/hue.c",
"filters/shadows.c",
"filters/highlight.c",
"filters/hsv.c",
"filters/vibrance.c",
"filters/geometry.c",
"filters/negative.c",
"filters/redEyeMath.c",
"filters/fx.c",
"filters/wbalance.c",
"filters/redeye.c",
"filters/bwfilter.c",
"filters/tinyplanet.cc",
"filters/kmeans.cc",
],
cflags: [
"-ffast-math",
"-O3",
"-funroll-loops",
],
shared_libs: ["libjnigraphics"],
arch: {
arm: {
instruction_set: "arm",
},
},
}