2010-09-30 15:34:38 +02:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
2011-02-19 08:33:46 +01:00
|
|
|
src/dec/bits.c \
|
|
|
|
src/dec/dsp.c \
|
|
|
|
src/dec/frame.c \
|
|
|
|
src/dec/quant.c \
|
|
|
|
src/dec/tree.c \
|
|
|
|
src/dec/vp8.c \
|
|
|
|
src/dec/webp.c \
|
|
|
|
src/dec/yuv.c \
|
|
|
|
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 \
|
|
|
|
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)
|