blob: a7dcb89d08db94f104b52cdb0934c4e1351af9a7 [file] [log] [blame]
sgk@google.com5137d272008-10-21 20:24:56 +00001# Copyright (c) 2006-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.
4
5__doc__ = """
6Configuration for building zlib.lib / libzlib.a.
7"""
8
9Import('env')
10
11env = env.Clone()
12
13if env['PLATFORM'] == 'win32':
14 env.Append(
15 CCFLAGS = [
16 '/TC',
17 '/wd4800',
18 ],
19 )
20
21input_files = [
22 'adler32.c',
23 'compress.c',
24 'crc32.c',
25 'deflate.c',
26 'gzio.c',
27 'infback.c',
28 'inffast.c',
29 'inflate.c',
30 'inftrees.c',
31 'trees.c',
32 'uncompr.c',
33 'zutil.c',
34]
35
36env.ChromeStaticLibrary('zlib', input_files)