Using compression and decompression for moving bitmap data acorss processes is slow as compression is expensive. This change switches to using direct streaming of the bitmap data. bug:15938254 Change-Id: I78bc450031ee60ada4c3b66f14586a73c72ce34f
20 lines
368 B
Makefile
20 lines
368 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
com_android_printspooler_util_BitmapSerializeUtils.cpp \
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(JNI_H_INCLUDE)
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libnativehelper
|
|
|
|
LOCAL_LDLIBS := -lm -llog -ljnigraphics
|
|
|
|
LOCAL_MODULE := libprintspooler_jni
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|