| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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.ChromeLibrary('libpng', input_files) | 65 env.ChromeLibrary('libpng', input_files) |
| 66 | 66 |
| 67 p = env.ChromeMSVSProject('libpng.vcproj', | 67 p = env.ChromeMSVSProject('libpng.vcproj', |
| 68 dest='$CHROME_SRC_DIR/third_party/libpng/libpng.vcproj
', |
| 68 guid='{C564F145-9172-42C3-BFCB-6014CA97DBCD}', | 69 guid='{C564F145-9172-42C3-BFCB-6014CA97DBCD}', |
| 69 files=input_files, | 70 files=input_files, |
| 70 relative_path_prefix='./', | 71 relative_path_prefix='./', |
| 71 tools = [ | 72 tools = [ |
| 72 'VCLibrarianTool', | 73 'VCLibrarianTool', |
| 73 'VCCLCompilerTool', | 74 'VCCLCompilerTool', |
| 74 ]) | 75 ]) |
| 75 | 76 |
| 76 p.AddConfig('Debug|Win32', | 77 p.AddConfig('Debug|Win32', |
| 77 ConfigurationType = '4', | 78 ConfigurationType = '4', |
| 78 InheritedPropertySheets = [ | 79 InheritedPropertySheets = [ |
| 79 '$(SolutionDir)../build/common.vsprops', | 80 '$(SolutionDir)../build/common.vsprops', |
| 80 '$(SolutionDir)../build/debug.vsprops', | 81 '$(SolutionDir)../build/debug.vsprops', |
| 81 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', | 82 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', |
| 82 '$(SolutionDir)../build/external_code.vsprops', | 83 '$(SolutionDir)../build/external_code.vsprops', |
| 83 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', | 84 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', |
| 84 ]) | 85 ]) |
| 85 | 86 |
| 86 p.AddConfig('Release|Win32', | 87 p.AddConfig('Release|Win32', |
| 87 ConfigurationType = '4', | 88 ConfigurationType = '4', |
| 88 InheritedPropertySheets = [ | 89 InheritedPropertySheets = [ |
| 89 '$(SolutionDir)../build/common.vsprops', | 90 '$(SolutionDir)../build/common.vsprops', |
| 90 '$(SolutionDir)../build/release.vsprops', | 91 '$(SolutionDir)../build/release.vsprops', |
| 91 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', | 92 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', |
| 92 '$(SolutionDir)../build/external_code.vsprops', | 93 '$(SolutionDir)../build/external_code.vsprops', |
| 93 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', | 94 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', |
| 94 ]) | 95 ]) |
| 95 | |
| 96 env.AlwaysBuild(p) | |
| 97 | |
| 98 i = env.Command('$CHROME_SRC_DIR/third_party/libpng/libpng.vcproj', p, | |
| 99 Copy('$TARGET', '$SOURCE')) | |
| 100 Alias('msvs', i) | |
| OLD | NEW |