I tried running the browser in Purify and the browser crashed on me.
[chromium-blink-merge.git] / gears / SConscript.zlib
blob40c5442d04d37205bc463ceee5230294b434f6d1
1 # Copyright (c) 2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # Ripped and modded from chrome.
7 Import('env')
9 env = env.Clone(
12 env.Replace(
13     ZLIB_DIR = '$THIRD_PARTY_DIR/zlib',
14     CPPPATH = [
15         '$ZLIB_DIR',
16         '$VC80_CPPPATH',
17     ],
20 #env.Append(
21 #    CPPDEFINES = [
22 #    ],
25 input_files = [
26     # Common Files
27     '$ZLIB_DIR/adler32.c',
28     '$ZLIB_DIR/zutil.c',
29     # Inflate Algorithm (use inflate or infback, but not both)
30     '$ZLIB_DIR/inflate.c',
31     '$ZLIB_DIR/inffast.c',
32     '$ZLIB_DIR/inftrees.c',
35 # The following files are not yet needed; exclude them to save size.
36 if not env['OFFICIAL_BUILD']:
37   input_files += [
38       # Other Algorithms
39       '$ZLIB_DIR/compress.c',
40       '$ZLIB_DIR/deflate.c',
41       '$ZLIB_DIR/uncompr.c',
42       # Other Common Files
43       '$ZLIB_DIR/crc32.c',
44       '$ZLIB_DIR/gzio.c',
45       '$ZLIB_DIR/trees.c',
46   ]
48 env.GearsStaticLibrary('zlib-gears', input_files)