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

Unified Diff: site_scons/site_tools/visual_studio_solution.py

Issue 9094: Adding in new software construction toolkit version. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « site_scons/site_tools/target_platform_mac.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site_scons/site_tools/visual_studio_solution.py
===================================================================
--- site_scons/site_tools/visual_studio_solution.py (revision 4549)
+++ site_scons/site_tools/visual_studio_solution.py (working copy)
@@ -71,7 +71,7 @@
build_targets = [e.subst('$TARGET_ROOT') for e in environments]
# pick out sources, headers, and resources
sources, headers, resources, others = env.GatherInputs(
- env.Dir('$DESTINATION_ROOT'),
+ [SCons.Script.Dir('$DESTINATION_ROOT')],
['.+\\.(c|cc|m|mm|cpp)$', # source files
'.+\\.(h|hh|hpp)$', # header files
'.+\\.(rc)$', # resource files
@@ -79,18 +79,19 @@
exclude_pattern=exclude_pattern,
)
# Build main Visual Studio Project file
- project_list = env.MSVSProject(
- target=solution_name + env['MSVSPROJECTSUFFIX'],
- srcs=sources + headers + others + resources,
- incs=[],
- misc=[],
- resources=[],
- auto_build_solution=0,
- MSVSCLEANCOM='hammer.bat -c MODE=all',
- MSVSBUILDCOM='hammer.bat MODE=all',
- MSVSREBUILD='hammer.bat -c MODE=all; hammer.bat MODE=all',
- buildtarget=build_targets,
- variant=variants)
+ project_list = env.MSVSProject(target=solution_name +
+ env['MSVSPROJECTSUFFIX'],
+ srcs=sources + headers + others + resources,
+ incs=[],
+ misc=[],
+ resources=[],
+ auto_build_solution=0,
+ MSVSCLEANCOM='hammer.bat -c MODE=all',
+ MSVSBUILDCOM='hammer.bat MODE=all',
+ MSVSREBUILD='hammer.bat -c MODE=all;'
+ 'hammer.bat MODE=all',
+ buildtarget=build_targets,
+ variant=variants)
# Collect other projects
for e in extra_build_targets:
# Explicitly create a node for target, so SCons will expand env variables.
« no previous file with comments | « site_scons/site_tools/target_platform_mac.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698