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

Side by Side Diff: site_scons/site_tools/chromium_builders.py

Issue 14472: Initial generation of native Visual Studio solution files... (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 | « sdch/SConscript ('k') | skia/SConscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Tool module for adding, to a construction environment, Chromium-specific 6 Tool module for adding, to a construction environment, Chromium-specific
7 wrappers around Hammer builders. This gives us a central place for any 7 wrappers around Hammer builders. This gives us a central place for any
8 customization we need to make to the different things we build. 8 customization we need to make to the different things we build.
9 """ 9 """
10 10
(...skipping 22 matching lines...) Expand all
33 result = [env.ComponentLibrary(*args, **kw)[0]] 33 result = [env.ComponentLibrary(*args, **kw)[0]]
34 if env.get('INCREMENTAL'): 34 if env.get('INCREMENTAL'):
35 env.Precious(result) 35 env.Precious(result)
36 return result 36 return result
37 env.AddMethod(ChromeSharedLibrary) 37 env.AddMethod(ChromeSharedLibrary)
38 38
39 def ChromeObject(env, *args, **kw): 39 def ChromeObject(env, *args, **kw):
40 return env.ComponentObject(*args, **kw) 40 return env.ComponentObject(*args, **kw)
41 env.AddMethod(ChromeObject) 41 env.AddMethod(ChromeObject)
42 42
43 def ChromeMSVSFolder(env, *args, **kw):
44 if env.Bit('msvs'):
45 return env.MSVSFolder(*args, **kw)
46 return []
47 env.AddMethod(ChromeMSVSFolder)
48
49 def ChromeMSVSProject(env, *args, **kw):
50 if env.Bit('msvs'):
51 return env.MSVSProject(*args, **kw)
52 return []
53 env.AddMethod(ChromeMSVSProject)
54
55 def ChromeMSVSSolution(env, *args, **kw):
56 if env.Bit('msvs'):
57 return env.MSVSSolution(*args, **kw)
58 return []
59 env.AddMethod(ChromeMSVSSolution)
60
43 def exists(env): 61 def exists(env):
44 return True 62 return True
OLDNEW
« no previous file with comments | « sdch/SConscript ('k') | skia/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698