Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: base/debug_message.scons

Issue 16447: Initial subset of .vcproj file generation, covering generation of:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/base_unittests.scons ('k') | base/gfx/base_gfx.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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')
11 11
12 env = env.Clone() 12 env = env.Clone()
13 13
14 if env.Bit('windows'): 14 if env.Bit('windows'):
15 env.Append( 15 env.Append(
16 LINKFLAGS = [ 16 LINKFLAGS = [
17 '/SUBSYSTEM:WINDOWS', 17 '/SUBSYSTEM:WINDOWS',
18 ], 18 ],
19 ) 19 )
20 20
21 input_files = ChromeFileList([
22 'debug_message.cc',
23 ])
24
21 if env.Bit('windows'): 25 if env.Bit('windows'):
22 # 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,
23 # or remove this comment (and merge with the above block?) 27 # or remove this comment (and merge with the above block?)
24 # if it's really Windows-specific. 28 # if it's really Windows-specific.
25 env.ChromeProgram('debug_message', ['debug_message.cc']) 29 env.ChromeProgram('debug_message', input_files)
26 30
27 env.ChromeMSVSProject('$BASE_DIR/build/debug_message.vcproj', 31 env.ChromeMSVSProject('$BASE_DIR/build/debug_message.vcproj',
28 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}') 32 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}')
33
34 p = env.ChromeMSVSProject('build/debug_message.vcproj',
35 guid='{0E5474AC-5996-4B13-87C0-4AE931EE0815}',
36 files=input_files,
37 root_namespace='DebugMessage',
38 tools = [
39 'VCPreBuildEventTool',
40 'VCCustomBuildTool',
41 'VCXMLDataGeneratorTool',
42 'VCWebServiceProxyGeneratorTool',
43 'VCMIDLTool',
44 'VCCLCompilerTool',
45 'VCManagedResourceCompilerTool',
46 'VCResourceCompilerTool',
47 'VCPreLinkEventTool',
48 MSVSTool('VCLinkerTool', SubSystem='2'),
49 'VCALinkTool',
50 'VCManifestTool',
51 'VCXDCMakeTool',
52 'VCBscMakeTool',
53 'VCFxCopTool',
54 'VCAppVerifierTool',
55 'VCWebDeploymentTool',
56 'VCPostBuildEventTool',
57 ])
58
59 p.AddConfig('Debug|Win32',
60 ConfigurationType = '1',
61 InheritedPropertySheets = [
62 '$(SolutionDir)../build/common.vsprops',
63 '$(SolutionDir)../build/debug.vsprops',
64 ])
65
66 p.AddConfig('Release|Win32',
67 ConfigurationType = '1',
68 InheritedPropertySheets = [
69 '$(SolutionDir)../build/common.vsprops',
70 '$(SolutionDir)../build/release.vsprops',
71 ])
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)
OLDNEW
« no previous file with comments | « base/base_unittests.scons ('k') | base/gfx/base_gfx.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698