2014-06-18 08:33:10 +02:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
2016-07-22 01:10:05 +02:00
|
|
|
################################################################################
|
|
|
|
# libexample_util
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
example_util.c \
|
|
|
|
|
|
|
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
|
|
|
|
|
|
|
LOCAL_MODULE := example_util
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2016-05-31 06:45:38 +02:00
|
|
|
################################################################################
|
|
|
|
# cwebp
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
# Note: to enable jpeg/png encoding the sources from AOSP can be used with
|
|
|
|
# minor modification to their Android.mk files.
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
cwebp.c \
|
|
|
|
|
|
|
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
2016-07-21 03:25:00 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES := example_util imageio_util imagedec webp
|
2014-06-18 08:37:00 +02:00
|
|
|
|
|
|
|
LOCAL_MODULE := cwebp
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2015-02-25 03:49:44 +01:00
|
|
|
################################################################################
|
|
|
|
# dwebp
|
|
|
|
|
2014-06-18 08:37:00 +02:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2014-06-18 08:33:10 +02:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
dwebp.c \
|
|
|
|
|
|
|
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
2016-09-09 05:03:07 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES := example_util imagedec imageenc webp
|
2014-06-18 08:33:10 +02:00
|
|
|
|
|
|
|
LOCAL_MODULE := dwebp
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
2015-02-25 03:49:44 +01:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# webpmux
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
webpmux.c \
|
|
|
|
|
|
|
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
2016-07-21 03:25:00 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES := example_util imageio_util webpmux webp
|
2015-02-25 03:49:44 +01:00
|
|
|
|
|
|
|
LOCAL_MODULE := webpmux_example
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
2016-12-02 11:44:17 +01:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# img2webp
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
img2webp.c \
|
|
|
|
|
|
|
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
|
|
|
LOCAL_STATIC_LIBRARIES := example_util imageio_util imagedec webpmux webp
|
|
|
|
|
|
|
|
LOCAL_MODULE := img2webp_example
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
2017-03-14 10:00:43 +01:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# webpinfo
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
webpinfo.c \
|
|
|
|
|
|
|
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
|
|
|
LOCAL_STATIC_LIBRARIES := example_util imageio_util webp
|
|
|
|
|
|
|
|
LOCAL_MODULE := webpinfo_example
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|