2010-09-30 15:34:38 +02:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
2011-05-03 02:19:00 +02:00
|
|
|
src/dec/alpha.c \
|
2011-02-19 08:33:46 +01:00
|
|
|
src/dec/bits.c \
|
|
|
|
src/dec/dsp.c \
|
|
|
|
src/dec/frame.c \
|
2011-03-26 15:33:19 +01:00
|
|
|
src/dec/idec.c \
|
2011-05-03 02:19:00 +02:00
|
|
|
src/dec/layer.c \
|
2011-02-19 08:33:46 +01:00
|
|
|
src/dec/quant.c \
|
|
|
|
src/dec/tree.c \
|
|
|
|
src/dec/vp8.c \
|
|
|
|
src/dec/webp.c \
|
|
|
|
src/dec/yuv.c \
|
2011-05-03 02:19:00 +02:00
|
|
|
src/enc/alpha.c \
|
2011-02-19 08:33:46 +01:00
|
|
|
src/enc/analysis.c \
|
|
|
|
src/enc/bit_writer.c \
|
|
|
|
src/enc/config.c \
|
|
|
|
src/enc/dsp.c \
|
|
|
|
src/enc/filter.c \
|
|
|
|
src/enc/frame.c \
|
|
|
|
src/enc/iterator.c \
|
2011-05-03 02:19:00 +02:00
|
|
|
src/enc/layer.c \
|
2011-02-19 08:33:46 +01:00
|
|
|
src/enc/picture.c \
|
|
|
|
src/enc/quant.c \
|
|
|
|
src/enc/syntax.c \
|
|
|
|
src/enc/tree.c \
|
|
|
|
src/enc/webpenc.c
|
2010-09-30 15:34:38 +02:00
|
|
|
|
|
|
|
LOCAL_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD \
|
|
|
|
-finline-functions -frename-registers -ffast-math \
|
2011-02-19 08:33:46 +01:00
|
|
|
-s -fomit-frame-pointer -Isrc/webp
|
2010-09-30 15:34:38 +02:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
|
|
|
|
|
2011-02-19 08:33:46 +01:00
|
|
|
LOCAL_MODULE:= webp
|
2010-09-30 15:34:38 +02:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|