summaryrefslogtreecommitdiffstats
path: root/sdch/SConscript
blob: c6c57fba5d3c5ef552cb900f0312f1510f214e5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Import('env')

env = env.Clone(OPEN_VCDIFF_DIR='open-vcdiff')

env.Prepend(
  CPPPATH = [
    '$OPEN_VCDIFF_DIR/src',
    '$OPEN_VCDIFF_DIR/vsprojects',
  ],
)

input_files = [
    '$OPEN_VCDIFF_DIR/src/addrcache.cc',
    '$OPEN_VCDIFF_DIR/src/adler32.c',
    '$OPEN_VCDIFF_DIR/src/blockhash.cc',
    '$OPEN_VCDIFF_DIR/src/codetable.cc',
    '$OPEN_VCDIFF_DIR/src/decodetable.cc',
    '$OPEN_VCDIFF_DIR/src/encodetable.cc',
    '$OPEN_VCDIFF_DIR/src/headerparser.cc',
    '$OPEN_VCDIFF_DIR/src/logging.cc',
    '$OPEN_VCDIFF_DIR/src/varint_bigendian.cc',
    '$OPEN_VCDIFF_DIR/src/vcdecoder.cc',
    '$OPEN_VCDIFF_DIR/src/vcdiffengine.cc',
]

env.ChromeStaticLibrary('sdch', input_files)