blob: b8adf7716b3a7c44016c542df428add11c5495be [file] [log] [blame]
// Jpeg Streaming native
cc_library_shared {
name: "libjni_gallery_jpegstream",
system_ext_specific: true,
static_libs: ["libjpeg_static_ndk"],
shared_libs: ["liblog"],
arch: {
arm: {
instruction_set: "arm",
},
},
cflags: [
"-ffast-math",
"-O3",
"-funroll-loops",
"-Wall",
"-Wextra",
"-Werror",
],
header_libs: ["jni_headers"],
local_include_dirs: ["src"],
sdk_version: "17",
srcs: [
"src/inputstream_wrapper.cpp",
"src/jpegstream.cpp",
"src/jerr_hook.cpp",
"src/jpeg_hook.cpp",
"src/jpeg_writer.cpp",
"src/jpeg_reader.cpp",
"src/outputstream_wrapper.cpp",
"src/stream_wrapper.cpp",
],
}