1# Copyright 2010 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18LOCAL_SRC_FILES := \
19        alpha.c \
20        analysis.c \
21        backward_references.c \
22        config.c \
23        cost.c \
24        filter.c \
25        frame.c\
26        histogram.c \
27        iterator.c \
28        layer.c \
29        picture.c \
30        quant.c \
31        syntax.c \
32        tree.c \
33        vp8l.c \
34        webpenc.c \
35        ../dsp/cpu.c \
36        ../dsp/dec.c \
37        ../dsp/dec_neon.c \
38        ../dsp/dec_sse2.c \
39        ../dsp/enc.c \
40        ../dsp/enc_sse2.c \
41        ../dsp/lossless.c \
42        ../dsp/upsampling.c \
43        ../dsp/upsampling_sse2.c \
44        ../dsp/yuv.c \
45        ../utils/bit_reader.c \
46        ../utils/bit_writer.c \
47        ../utils/color_cache.c \
48        ../utils/filters.c \
49        ../utils/huffman.c \
50        ../utils/huffman_encode.c \
51        ../utils/quant_levels.c \
52        ../utils/rescaler.c \
53        ../utils/thread.c \
54        ../utils/utils.c
55
56LOCAL_CFLAGS := -DANDROID
57
58LOCAL_C_INCLUDES += \
59        $(LOCAL_PATH) \
60        $(LOCAL_PATH)/../../include
61
62LOCAL_MODULE:= libwebp-encode
63
64include $(BUILD_STATIC_LIBRARY)
65