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

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

Issue 10210: Bringing in sct changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | « site_scons/site_tools/gather_inputs.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python2.4 1 #!/usr/bin/python2.4
2 # Copyright 2008, Google Inc. 2 # Copyright 2008, Google Inc.
3 # All rights reserved. 3 # All rights reserved.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are 6 # modification, are permitted provided that the following conditions are
7 # met: 7 # met:
8 # 8 #
9 # * Redistributions of source code must retain the above copyright 9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 resources=[], 104 resources=[],
105 misc=[], 105 misc=[],
106 auto_build_solution=0, 106 auto_build_solution=0,
107 MSVSCLEANCOM='rem', 107 MSVSCLEANCOM='rem',
108 MSVSBUILDCOM='rem', 108 MSVSBUILDCOM='rem',
109 MSVSREBUILD='rem', 109 MSVSREBUILD='rem',
110 buildtarget=build_target, 110 buildtarget=build_target,
111 variant=variants[0]) 111 variant=variants[0])
112 112
113 # Build Visual Studio Solution file. 113 # Build Visual Studio Solution file.
114 solution =env.MSVSSolution(target=solution_name + env['MSVSSOLUTIONSUFFIX'], 114 solution = env.MSVSSolution(target=solution_name + env['MSVSSOLUTIONSUFFIX'],
115 projects=project_list, 115 projects=project_list,
116 variant=variants) 116 variant=variants)
117 # Explicitly add dependencies. 117 # Explicitly add dependencies.
118 env.Depends(solution, project_list) 118 env.Depends(solution, project_list)
119 119
120 return solution 120 return solution
121 121
122 122
123 def generate(env): 123 def generate(env):
124 # NOTE: SCons requires the use of this name, which fails gpylint. 124 # NOTE: SCons requires the use of this name, which fails gpylint.
125 """SCons entry point for this tool.""" 125 """SCons entry point for this tool."""
126 126
127 # Add in the gather_inputs tool. 127 # Add in the gather_inputs tool.
128 env.Tool('gather_inputs') 128 env.Tool('gather_inputs')
129 129
130 # Add a method to generate a combined solution file. 130 # Add a method to generate a combined solution file.
131 env.AddMethod(Solution, 'Solution') 131 env.AddMethod(Solution, 'Solution')
OLDNEW
« no previous file with comments | « site_scons/site_tools/gather_inputs.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698