summaryrefslogtreecommitdiffstats
path: root/third_party/bsdiff/bsdiff.scons
blob: 9aa56fb51d0a4fa495b2bb10db8c5e800daca192 (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
# 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',
])

if env['PLATFORM'] == 'win32':
  env.Append(
    CCFLAGS = [
        '/TP',
        '/wd4800',
    ],
  )

input_files = [
    "mbsdiff.cc",
]

env.ChromeStaticLibrary('bsdiff', input_files)