Home | History | Annotate | Download | only in dec
      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 
     15 LOCAL_PATH:= $(call my-dir)
     16 
     17 include $(CLEAR_VARS)
     18 LOCAL_SRC_FILES := \
     19         alpha.c \
     20         buffer.c \
     21         frame.c \
     22         idec.c \
     23         io.c \
     24         layer.c \
     25         quant.c \
     26         tree.c \
     27         vp8.c \
     28         vp8l.c \
     29         webp.c \
     30         ../dsp/cpu.c \
     31         ../dsp/cpu-features.c \
     32         ../dsp/dec.c \
     33         ../dsp/dec_neon.c \
     34         ../dsp/dec_sse2.c \
     35         ../dsp/lossless.c \
     36         ../dsp/upsampling.c \
     37         ../dsp/upsampling_neon.c \
     38         ../dsp/upsampling_sse2.c \
     39         ../dsp/yuv.c \
     40         ../demux/demux.c \
     41         ../utils/bit_reader.c \
     42         ../utils/color_cache.c \
     43         ../utils/filters.c \
     44         ../utils/huffman.c \
     45         ../utils/quant_levels_dec.c \
     46         ../utils/rescaler.c \
     47         ../utils/thread.c \
     48         ../utils/utils.c
     49 
     50 LOCAL_CFLAGS := -DANDROID -DWEBP_SWAP_16BIT_CSP
     51 
     52 LOCAL_C_INCLUDES += \
     53         $(LOCAL_PATH) \
     54         $(LOCAL_PATH)/../../include
     55 
     56 LOCAL_MODULE:= libwebp-decode
     57 
     58 include $(BUILD_STATIC_LIBRARY)
     59