OLD | NEW |
1 | 1 |
2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 __doc__ = """ | 6 __doc__ = """ |
7 Configuration for building base_unittests{,.exe}. | 7 Configuration for building base_unittests{,.exe}. |
8 """ | 8 """ |
9 | 9 |
10 Import('env') | 10 Import('env') |
(...skipping 14 matching lines...) Expand all Loading... |
25 if env.Bit('windows'): | 25 if env.Bit('windows'): |
26 # TODO(port): port this if it's needed on non-Windows systems, | 26 # TODO(port): port this if it's needed on non-Windows systems, |
27 # or remove this comment (and merge with the above block?) | 27 # or remove this comment (and merge with the above block?) |
28 # if it's really Windows-specific. | 28 # if it's really Windows-specific. |
29 env.ChromeProgram('debug_message', input_files) | 29 env.ChromeProgram('debug_message', input_files) |
30 | 30 |
31 env.ChromeMSVSProject('$BASE_DIR/build/debug_message.vcproj', | 31 env.ChromeMSVSProject('$BASE_DIR/build/debug_message.vcproj', |
32 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}') | 32 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}') |
33 | 33 |
34 p = env.ChromeMSVSProject('build/debug_message.vcproj', | 34 p = env.ChromeMSVSProject('build/debug_message.vcproj', |
| 35 dest='$CHROME_SRC_DIR/base/build/debug_message.vcproj'
, |
35 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}', | 36 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}', |
36 files=input_files, | 37 files=input_files, |
37 root_namespace='DebugMessage', | 38 root_namespace='DebugMessage', |
38 tools = [ | 39 tools = [ |
39 'VCPreBuildEventTool', | 40 'VCPreBuildEventTool', |
40 'VCCustomBuildTool', | 41 'VCCustomBuildTool', |
41 'VCXMLDataGeneratorTool', | 42 'VCXMLDataGeneratorTool', |
42 'VCWebServiceProxyGeneratorTool', | 43 'VCWebServiceProxyGeneratorTool', |
43 'VCMIDLTool', | 44 'VCMIDLTool', |
44 'VCCLCompilerTool', | 45 'VCCLCompilerTool', |
(...skipping 17 matching lines...) Expand all Loading... |
62 '$(SolutionDir)../build/common.vsprops', | 63 '$(SolutionDir)../build/common.vsprops', |
63 '$(SolutionDir)../build/debug.vsprops', | 64 '$(SolutionDir)../build/debug.vsprops', |
64 ]) | 65 ]) |
65 | 66 |
66 p.AddConfig('Release|Win32', | 67 p.AddConfig('Release|Win32', |
67 ConfigurationType = '1', | 68 ConfigurationType = '1', |
68 InheritedPropertySheets = [ | 69 InheritedPropertySheets = [ |
69 '$(SolutionDir)../build/common.vsprops', | 70 '$(SolutionDir)../build/common.vsprops', |
70 '$(SolutionDir)../build/release.vsprops', | 71 '$(SolutionDir)../build/release.vsprops', |
71 ]) | 72 ]) |
72 | |
73 env.AlwaysBuild(p) | |
74 | |
75 i = env.Command('$CHROME_SRC_DIR/base/build/debug_message.vcproj', p, | |
76 Copy('$TARGET', '$SOURCE')) | |
77 Alias('msvs', i) | |
OLD | NEW |