OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 __doc__ = """ | 5 __doc__ = """ |
6 Configuration for building zlib.lib / libzlib.a. | 6 Configuration for building zlib.lib / libzlib.a. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 'mozzconf.h', | 45 'mozzconf.h', |
46 'trees.c', | 46 'trees.c', |
47 'trees.h', | 47 'trees.h', |
48 'uncompr.c', | 48 'uncompr.c', |
49 'zconf.h', | 49 'zconf.h', |
50 'zlib.h', | 50 'zlib.h', |
51 'zutil.c', | 51 'zutil.c', |
52 'zutil.h', | 52 'zutil.h', |
53 ]) | 53 ]) |
54 | 54 |
55 env.ChromeStaticLibrary('zlib', input_files) | 55 env.ChromeLibrary('zlib', input_files) |
56 | 56 |
57 p = env.ChromeMSVSProject('zlib.vcproj', | 57 p = env.ChromeMSVSProject('zlib.vcproj', |
58 guid='{8423AF0D-4B88-4EBF-94E1-E4D00D00E21C}', | 58 guid='{8423AF0D-4B88-4EBF-94E1-E4D00D00E21C}', |
59 files=input_files, | 59 files=input_files, |
60 relative_path_prefix=r'./', | 60 relative_path_prefix=r'./', |
61 tools = [ | 61 tools = [ |
62 'VCLibrarianTool', | 62 'VCLibrarianTool', |
63 'VCCLCompilerTool', | 63 'VCCLCompilerTool', |
64 ]) | 64 ]) |
65 | 65 |
(...skipping 11 matching lines...) Expand all Loading... |
77 '$(SolutionDir)../build/common.vsprops', | 77 '$(SolutionDir)../build/common.vsprops', |
78 '$(SolutionDir)../build/release.vsprops', | 78 '$(SolutionDir)../build/release.vsprops', |
79 '$(SolutionDir)../build/external_code.vsprops', | 79 '$(SolutionDir)../build/external_code.vsprops', |
80 ]) | 80 ]) |
81 | 81 |
82 env.AlwaysBuild(p) | 82 env.AlwaysBuild(p) |
83 | 83 |
84 i = env.Command('$CHROME_SRC_DIR/third_party/zlib/zlib.vcproj', p, | 84 i = env.Command('$CHROME_SRC_DIR/third_party/zlib/zlib.vcproj', p, |
85 Copy('$TARGET', '$SOURCE')) | 85 Copy('$TARGET', '$SOURCE')) |
86 Alias('msvs', i) | 86 Alias('msvs', i) |
OLD | NEW |