Home | History | Annotate | Download | only in enc
      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         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         token.c \
     34         vp8l.c \
     35         webpenc.c \
     36         ../dsp/cpu.c \
     37         ../dsp/cpu-features.c \
     38         ../dsp/enc.c \
     39         ../dsp/enc_neon.c \
     40         ../dsp/enc_sse2.c \
     41         ../dsp/lossless.c \
     42         ../dsp/yuv.c \
     43         ../utils/bit_writer.c \
     44         ../utils/color_cache.c \
     45         ../utils/filters.c \
     46         ../utils/huffman.c \
     47         ../utils/huffman_encode.c \
     48         ../utils/quant_levels.c \
     49         ../utils/rescaler.c \
     50         ../utils/thread.c \
     51         ../utils/utils.c
     52 
     53 LOCAL_CFLAGS := -DANDROID -DWEBP_SWAP_16BIT_CSP
     54 
     55 LOCAL_C_INCLUDES += \
     56         $(LOCAL_PATH) \
     57         $(LOCAL_PATH)/../../include
     58 
     59 LOCAL_MODULE:= libwebp-encode
     60 
     61 include $(BUILD_STATIC_LIBRARY)
     62