1# Copyright (C) 2013 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)
16include $(CLEAR_VARS)
17
18LOCAL_CPP_EXTENSION := .cc
19LOCAL_MODULE := openvcdiff_static
20
21LOCAL_SRC_FILES := \
22    src/addrcache.cc \
23    src/blockhash.cc \
24    src/codetable.cc \
25    src/encodetable.cc \
26    src/decodetable.cc \
27    src/headerparser.cc \
28    src/instruction_map.cc \
29    src/logging.cc \
30    src/varint_bigendian.cc \
31    src/vcdecoder.cc \
32    src/vcdiffengine.cc \
33    src/vcencoder.cc \
34    src/zlib/adler32.c
35
36LOCAL_C_INCLUDES := $(LOCAL_PATH)/src/
37
38LOCAL_SDK_VERSION := 14
39LOCAL_NDK_STL_VARIANT := stlport_static
40
41include $(BUILD_STATIC_LIBRARY)
42