dcf9d82a95
see: http://netpbm.sourceforge.net/ Only reads P5 and P6 pnm files for now. Change-Id: I2332a623f803df67455047f570f1cff9f464480a
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
################################################################################
|
|
# libimageio_util
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
imageio_util.c \
|
|
|
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
|
|
|
LOCAL_MODULE := imageio_util
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
################################################################################
|
|
# libimagedec
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
image_dec.c \
|
|
jpegdec.c \
|
|
metadata.c \
|
|
pngdec.c \
|
|
pnmdec.c \
|
|
tiffdec.c \
|
|
webpdec.c \
|
|
|
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
|
LOCAL_STATIC_LIBRARIES := imageio_util
|
|
|
|
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)
|