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

Unified Diff: tools/pretty_sln.py

Issue 523164: License cleanup for http://code.google.com/p/gyp/issues/detail?id=133... (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 11 months 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
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()
-
+

Powered by Google App Engine
This is Rietveld 408576698