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

Side by Side Diff: tools/pretty_gyp.py

Issue 10449026: Fixing leftover from prior reveiew, plus more lint. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/variables/filelist/filelist.gyp.stdout ('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/env python 1 #!/usr/bin/env python
2 #!/usr/bin/env python
3 2
4 # Copyright (c) 2012 Google Inc. All rights reserved. 3 # Copyright (c) 2012 Google Inc. All rights reserved.
5 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 5 # found in the LICENSE file.
7 6
8 """Pretty-prints the contents of a GYP file.""" 7 """Pretty-prints the contents of a GYP file."""
9 8
10 import sys 9 import sys
11 import re 10 import re
12 11
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 # Split up the double braces. 146 # Split up the double braces.
148 lines = split_double_braces(data) 147 lines = split_double_braces(data)
149 148
150 # Indent and print the output. 149 # Indent and print the output.
151 prettyprint_input(lines) 150 prettyprint_input(lines)
152 return 0 151 return 0
153 152
154 153
155 if __name__ == '__main__': 154 if __name__ == '__main__':
156 sys.exit(main()) 155 sys.exit(main())
OLDNEW
« no previous file with comments | « test/variables/filelist/filelist.gyp.stdout ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698