mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Android.mk: add webpmux target
(cherry picked from commit 53c16ff047
)
Change-Id: I60fc898fd804e23f08d760694192c5d04adcae91
This commit is contained in:
parent
75619881e6
commit
34b1d29e3c
28
Android.mk
28
Android.mk
@ -83,6 +83,11 @@ enc_srcs := \
|
|||||||
src/enc/vp8l.c \
|
src/enc/vp8l.c \
|
||||||
src/enc/webpenc.c \
|
src/enc/webpenc.c \
|
||||||
|
|
||||||
|
mux_srcs := \
|
||||||
|
src/mux/muxedit.c \
|
||||||
|
src/mux/muxinternal.c \
|
||||||
|
src/mux/muxread.c \
|
||||||
|
|
||||||
utils_dec_srcs := \
|
utils_dec_srcs := \
|
||||||
src/utils/bit_reader.c \
|
src/utils/bit_reader.c \
|
||||||
src/utils/color_cache.c \
|
src/utils/color_cache.c \
|
||||||
@ -180,6 +185,29 @@ else
|
|||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# libwebpmux
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := $(mux_srcs)
|
||||||
|
|
||||||
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
||||||
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
|
||||||
|
|
||||||
|
# prefer arm over thumb mode for performance gains
|
||||||
|
LOCAL_ARM_MODE := arm
|
||||||
|
|
||||||
|
LOCAL_MODULE := webpmux
|
||||||
|
|
||||||
|
ifeq ($(ENABLE_SHARED),1)
|
||||||
|
LOCAL_SHARED_LIBRARIES := webp
|
||||||
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
else
|
||||||
|
LOCAL_STATIC_LIBRARIES := webp
|
||||||
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
include $(LOCAL_PATH)/examples/Android.mk
|
include $(LOCAL_PATH)/examples/Android.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user