libimageenc.a: extract image-saving code from dwebp

BUG=webp:277
Change-Id: I2c0e1df7b13b1f77474b5478048fef022e90f77a
This commit is contained in:
Pascal Massimino
2016-09-06 22:46:31 -07:00
committed by James Zern
parent 9e478f808e
commit af1ad3e2dd
11 changed files with 736 additions and 507 deletions

View File

@@ -34,3 +34,19 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
LOCAL_MODULE := imagedec
include $(BUILD_STATIC_LIBRARY)
################################################################################
# libimageenc
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
image_enc.c \
LOCAL_CFLAGS := $(WEBP_CFLAGS)
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
LOCAL_STATIC_LIBRARIES := imageio_util
LOCAL_MODULE := imageenc
include $(BUILD_STATIC_LIBRARY)