1// Jpeg Streaming native 2package { 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6cc_library_shared { 7 name: "libjni_jpegstream", 8 product_specific: true, 9 10 static_libs: ["libjpeg_static_ndk"], 11 shared_libs: ["liblog"], 12 13 arch: { 14 arm: { 15 instruction_set: "arm", 16 }, 17 }, 18 cflags: [ 19 "-ffast-math", 20 "-O3", 21 "-funroll-loops", 22 23 "-Wall", 24 "-Wextra", 25 "-Werror", 26 ], 27 header_libs: ["jni_headers"], 28 local_include_dirs: ["src"], 29 sdk_version: "17", 30 stl: "c++_static", 31 32 srcs: [ 33 "src/inputstream_wrapper.cpp", 34 "src/jpegstream.cpp", 35 "src/jerr_hook.cpp", 36 "src/jpeg_hook.cpp", 37 "src/jpeg_writer.cpp", 38 "src/jpeg_reader.cpp", 39 "src/outputstream_wrapper.cpp", 40 "src/stream_wrapper.cpp", 41 ], 42} 43