| Index: tools/pretty_sln.py
|
| ===================================================================
|
| --- tools/pretty_sln.py (revision 770)
|
| +++ tools/pretty_sln.py (working copy)
|
| @@ -1,7 +1,9 @@
|
| #!/usr/bin/python2.5
|
| -# Copyright 2009 Google Inc.
|
| -# All Rights Reserved.
|
|
|
| +# Copyright (c) 2009 Google Inc. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| """Prints the information in a sln file in a diffable way.
|
|
|
| It first outputs each projects in alphabetical order with their
|
| @@ -119,7 +121,7 @@
|
| print "-- --"
|
|
|
| built = []
|
| - for (project, dep_list) in sorted(deps.items()):
|
| + for (project, dep_list) in sorted(deps.items()):
|
| if project not in built:
|
| BuildProject(project, built, projects, deps)
|
|
|
| @@ -139,7 +141,7 @@
|
| project_path = os.path.abspath(os.path.join(os.path.dirname(sys.argv[1]),
|
| projects[project][2]))
|
|
|
| - pretty = pretty_vcproj
|
| + pretty = pretty_vcproj
|
| argv = [ '',
|
| project_path,
|
| '$(SolutionDir)=%s\\' % os.path.dirname(sys.argv[1]),
|
| @@ -156,10 +158,10 @@
|
| (projects, deps) = ParseSolution(sys.argv[1])
|
| PrintDependencies(projects, deps)
|
| PrintBuildOrder(projects, deps)
|
| -
|
| +
|
| if '--recursive' in sys.argv:
|
| PrintVCProj(projects)
|
|
|
| if __name__ == '__main__':
|
| main()
|
| -
|
| +
|
|
|