summaryrefslogtreecommitdiffstats
path: root/third_party/bsdiff/bsdiff.scons
blob: d186d1954ca627bf210f85c2bf301b6deb9ca8c2 (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
# 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()

env.ApplySConscript([
    '$BSPATCH_DIR/using_bspatch.scons',
    '$CHROME_SRC_DIR/build/external_code.scons',
    '$LZMA_SDK_DIR/using_lzma_sdk.scons',
])

input_files = [
    "mbsdiff.cc",
]

env.ChromeProgram('bsdiff', input_files)

env.ChromeMSVSProject('$BSDIFF_DIR/bsdiff.vcproj',
                dependencies = [
                    '$LZMA_SDK_DIR/7z_C.vcproj',
                    '$BSPATCH_DIR/bspatch.vcproj',
                ],
                guid='{E1D0B89E-257B-4BCA-A0C6-A2CD997A2FDC}')