1LOCAL_PATH:= $(call my-dir) 2 3# Jpeg Streaming native 4 5include $(CLEAR_VARS) 6 7LOCAL_MODULE := libjni_jpegstream 8 9LOCAL_NDK_STL_VARIANT := stlport_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 18 19LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 20LOCAL_CFLAGS += -Wall -Wextra 21LOCAL_LDLIBS := -llog 22 23LOCAL_CPP_EXTENSION := .cpp 24LOCAL_SRC_FILES := \ 25 src/inputstream_wrapper.cpp \ 26 src/jpegstream.cpp \ 27 src/jerr_hook.cpp \ 28 src/jpeg_hook.cpp \ 29 src/jpeg_writer.cpp \ 30 src/jpeg_reader.cpp \ 31 src/outputstream_wrapper.cpp \ 32 src/stream_wrapper.cpp 33 34 35include $(BUILD_SHARED_LIBRARY) 36