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-10-20 05:02:23 +02:00
|
|
|
src/dec/buffer.c \
|
2011-02-19 08:33:46 +01:00
|
|
|
src/dec/frame.c \
|
2011-03-26 15:33:19 +01:00
|
|
|
src/dec/idec.c \
|
2011-10-20 05:02:23 +02:00
|
|
|
src/dec/io.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 \
|
2011-09-02 23:30:08 +02:00
|
|
|
src/dsp/cpu.c \
|
|
|
|
src/dsp/dec.c \
|
2011-09-12 15:03:01 +02:00
|
|
|
src/dsp/dec_neon.c \
|
2011-09-02 23:30:08 +02:00
|
|
|
src/dsp/enc.c \
|
2011-10-20 05:02:23 +02:00
|
|
|
src/dsp/upsampling.c \
|
|
|
|
src/dsp/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/config.c \
|
2011-10-20 05:02:23 +02:00
|
|
|
src/enc/cost.c \
|
|
|
|
src/enc/enc.c \
|
2011-02-19 08:33:46 +01:00
|
|
|
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 \
|
2011-10-20 05:02:23 +02:00
|
|
|
src/enc/webpenc.c \
|
2011-09-07 11:26:35 +02:00
|
|
|
src/utils/bit_reader.c \
|
|
|
|
src/utils/bit_writer.c \
|
|
|
|
src/utils/thread.c \
|
2010-09-30 15:34:38 +02:00
|
|
|
|
2011-07-22 22:09:10 +02:00
|
|
|
LOCAL_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD \
|
2010-09-30 15:34:38 +02:00
|
|
|
-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)
|