1LOCAL_PATH:= $(call my-dir) 2 3# Jpeg Streaming native 4 5include $(CLEAR_VARS) 6 7LOCAL_MODULE := libjni_jpegstream 8 9LOCAL_NDK_STL_VARIANT := c++_static 10 11LOCAL_C_INCLUDES := $(LOCAL_PATH) \ 12 $(LOCAL_PATH)/src 13 14LOCAL_STATIC_LIBRARIES := libjpeg_static_ndk 15 16LOCAL_SDK_VERSION := 17 17LOCAL_ARM_MODE := arm 18LOCAL_PRODUCT_MODULE := true 19 20LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 21LOCAL_CFLAGS += -Wall -Wextra -Werror 22LOCAL_LDLIBS := -llog 23 24LOCAL_CPP_EXTENSION := .cpp 25LOCAL_SRC_FILES := \ 26 src/inputstream_wrapper.cpp \ 27 src/jpegstream.cpp \ 28 src/jerr_hook.cpp \ 29 src/jpeg_hook.cpp \ 30 src/jpeg_writer.cpp \ 31 src/jpeg_reader.cpp \ 32 src/outputstream_wrapper.cpp \ 33 src/stream_wrapper.cpp 34 35 36include $(BUILD_SHARED_LIBRARY) 37