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 | 5 |
6 __doc__ = """ | 6 __doc__ = """ |
7 Configuration for building libpng.lib / libpng.a. | 7 Configuration for building libpng.lib / libpng.a. |
8 """ | 8 """ |
9 | 9 |
10 Import('env') | 10 Import('env') |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 'pngset.c', | 55 'pngset.c', |
56 'pngtrans.c', | 56 'pngtrans.c', |
57 'pngusr.h', | 57 'pngusr.h', |
58 'pngvcrd.c', | 58 'pngvcrd.c', |
59 'pngwio.c', | 59 'pngwio.c', |
60 'pngwrite.c', | 60 'pngwrite.c', |
61 'pngwtran.c', | 61 'pngwtran.c', |
62 'pngwutil.c', | 62 'pngwutil.c', |
63 ]) | 63 ]) |
64 | 64 |
65 env.ChromeStaticLibrary('libpng', input_files) | 65 env.ChromeLibrary('libpng', input_files) |
66 | 66 |
67 p = env.ChromeMSVSProject('libpng.vcproj', | 67 p = env.ChromeMSVSProject('libpng.vcproj', |
68 guid='{C564F145-9172-42C3-BFCB-6014CA97DBCD}', | 68 guid='{C564F145-9172-42C3-BFCB-6014CA97DBCD}', |
69 files=input_files, | 69 files=input_files, |
70 relative_path_prefix='./', | 70 relative_path_prefix='./', |
71 tools = [ | 71 tools = [ |
72 'VCLibrarianTool', | 72 'VCLibrarianTool', |
73 'VCCLCompilerTool', | 73 'VCCLCompilerTool', |
74 ]) | 74 ]) |
75 | 75 |
(...skipping 15 matching lines...) Expand all Loading... |
91 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', | 91 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', |
92 '$(SolutionDir)../build/external_code.vsprops', | 92 '$(SolutionDir)../build/external_code.vsprops', |
93 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', | 93 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', |
94 ]) | 94 ]) |
95 | 95 |
96 env.AlwaysBuild(p) | 96 env.AlwaysBuild(p) |
97 | 97 |
98 i = env.Command('$CHROME_SRC_DIR/third_party/libpng/libpng.vcproj', p, | 98 i = env.Command('$CHROME_SRC_DIR/third_party/libpng/libpng.vcproj', p, |
99 Copy('$TARGET', '$SOURCE')) | 99 Copy('$TARGET', '$SOURCE')) |
100 Alias('msvs', i) | 100 Alias('msvs', i) |
OLD | NEW |