2010-09-30 09:34:38 -04:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
2011-05-02 17:19:00 -07:00
|
|
|
src/dec/alpha.c \
|
2011-02-18 23:33:46 -08:00
|
|
|
src/dec/dsp.c \
|
|
|
|
src/dec/frame.c \
|
2011-03-26 07:33:19 -07:00
|
|
|
src/dec/idec.c \
|
2011-05-02 17:19:00 -07:00
|
|
|
src/dec/layer.c \
|
2011-02-18 23:33:46 -08:00
|
|
|
src/dec/quant.c \
|
|
|
|
src/dec/tree.c \
|
|
|
|
src/dec/vp8.c \
|
|
|
|
src/dec/webp.c \
|
2011-06-20 00:45:15 -07:00
|
|
|
src/dec/io.c \
|
|
|
|
src/dec/buffer.c \
|
2011-09-02 21:30:08 +00:00
|
|
|
src/dsp/yuv.c \
|
|
|
|
src/dsp/upsampling.c \
|
|
|
|
src/dsp/cpu.c \
|
|
|
|
src/dsp/dec.c \
|
2011-09-12 13:03:01 +00:00
|
|
|
src/dsp/dec_neon.c \
|
2011-09-02 21:30:08 +00:00
|
|
|
src/dsp/enc.c \
|
2011-05-02 17:19:00 -07:00
|
|
|
src/enc/alpha.c \
|
2011-02-18 23:33:46 -08:00
|
|
|
src/enc/analysis.c \
|
|
|
|
src/enc/config.c \
|
|
|
|
src/enc/dsp.c \
|
|
|
|
src/enc/filter.c \
|
|
|
|
src/enc/frame.c \
|
|
|
|
src/enc/iterator.c \
|
2011-05-02 17:19:00 -07:00
|
|
|
src/enc/layer.c \
|
2011-02-18 23:33:46 -08:00
|
|
|
src/enc/picture.c \
|
|
|
|
src/enc/quant.c \
|
|
|
|
src/enc/syntax.c \
|
|
|
|
src/enc/tree.c \
|
|
|
|
src/enc/webpenc.c
|
2011-09-07 09:26:35 +00:00
|
|
|
src/utils/bit_reader.c \
|
|
|
|
src/utils/bit_writer.c \
|
|
|
|
src/utils/thread.c \
|
2010-09-30 09:34:38 -04:00
|
|
|
|
2011-07-22 13:09:10 -07:00
|
|
|
LOCAL_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD \
|
2010-09-30 09:34:38 -04:00
|
|
|
-finline-functions -frename-registers -ffast-math \
|
2011-02-18 23:33:46 -08:00
|
|
|
-s -fomit-frame-pointer -Isrc/webp
|
2010-09-30 09:34:38 -04:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
|
|
|
|
|
2011-02-18 23:33:46 -08:00
|
|
|
LOCAL_MODULE:= webp
|
2010-09-30 09:34:38 -04:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|