| 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 the dump_cache{,.exe} executable. | 6 Configuration the dump_cache{,.exe} executable. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 Import('env') | 9 Import('env') |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 'tools/dump_cache/dump_files.cc', | 28 'tools/dump_cache/dump_files.cc', |
| 29 'tools/dump_cache/upgrade.cc', | 29 'tools/dump_cache/upgrade.cc', |
| 30 ]) | 30 ]) |
| 31 | 31 |
| 32 | 32 |
| 33 if env.Bit('windows'): | 33 if env.Bit('windows'): |
| 34 | 34 |
| 35 env.ChromeTestProgram('dump_cache', input_files) | 35 env.ChromeTestProgram('dump_cache', input_files) |
| 36 | 36 |
| 37 p = env.ChromeMSVSProject('$NET_DIR/build/dump_cache.vcproj', | 37 p = env.ChromeMSVSProject('$NET_DIR/build/dump_cache.vcproj', |
| 38 dest='$CHROME_SRC_DIR/net/build/dump_cache.vcproj', |
| 38 guid='{4A14E455-2B7C-4C0F-BCC2-35A9666C186F}', | 39 guid='{4A14E455-2B7C-4C0F-BCC2-35A9666C186F}', |
| 39 dependencies = [ | 40 dependencies = [ |
| 40 '$BASE_DIR/build/base.vcproj', | 41 '$BASE_DIR/build/base.vcproj', |
| 42 '$NET_DIR/build/net.vcproj', |
| 41 '$ICU38_DIR/build/icu.vcproj', | 43 '$ICU38_DIR/build/icu.vcproj', |
| 42 '$NET_DIR/build/net.vcproj', | |
| 43 ], | 44 ], |
| 44 # TODO: restore when we can derive all info, | 45 # TODO: restore when we can derive all info, |
| 45 # on all platforms, from the windows build targets. | 46 # on all platforms, from the windows build targets. |
| 46 #buildtargets=TODO, | 47 #buildtargets=TODO, |
| 47 files=input_files, | 48 files=input_files, |
| 48 tools=[ | 49 tools=[ |
| 49 'VCPreBuildEventTool', | 50 'VCPreBuildEventTool', |
| 50 'VCCustomBuildTool', | 51 'VCCustomBuildTool', |
| 51 'VCXMLDataGeneratorTool', | 52 'VCXMLDataGeneratorTool', |
| 52 'VCWebServiceProxyGeneratorTool', | 53 'VCWebServiceProxyGeneratorTool', |
| (...skipping 20 matching lines...) Expand all Loading... |
| 73 InheritedPropertySheets=[ | 74 InheritedPropertySheets=[ |
| 74 '$(SolutionDir)../build/common.vsprops', | 75 '$(SolutionDir)../build/common.vsprops', |
| 75 '$(SolutionDir)../build/debug.vsprops', | 76 '$(SolutionDir)../build/debug.vsprops', |
| 76 ]) | 77 ]) |
| 77 | 78 |
| 78 p.AddConfig('Release|Win32', | 79 p.AddConfig('Release|Win32', |
| 79 InheritedPropertySheets=[ | 80 InheritedPropertySheets=[ |
| 80 '$(SolutionDir)../build/common.vsprops', | 81 '$(SolutionDir)../build/common.vsprops', |
| 81 '$(SolutionDir)../build/release.vsprops', | 82 '$(SolutionDir)../build/release.vsprops', |
| 82 ]) | 83 ]) |
| 83 | |
| 84 env.AlwaysBuild(p) | |
| 85 | |
| 86 i = env.Command('$CHROME_SRC_DIR/net/build/dump_cache.vcproj', p, | |
| 87 Copy('$TARGET', '$SOURCE')) | |
| 88 Alias('msvs', i) | |
| OLD | NEW |