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

Side by Side Diff: tools/grit/grit_info.py

Issue 7015061: grit complete CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gritty Created 9 years, 7 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
« build/gyp_chromium ('K') | « build/gyp_chromium ('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/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 '''Tool to determine inputs and outputs of a grit file. 6 '''Tool to determine inputs and outputs of a grit file.
7 ''' 7 '''
8 8
9 import cProfile
Mark Mentovai 2011/05/16 16:42:54 Unneeded?
9 import optparse 10 import optparse
10 import os 11 import os
11 import posixpath 12 import posixpath
12 import types 13 import types
13 import sys 14 import sys
14 from grit import grd_reader 15 from grit import grd_reader
15 from grit import util 16 from grit import util
16 17
17 18
18 def Outputs(filename, defines): 19 def Outputs(filename, defines):
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 def main(argv): 122 def main(argv):
122 result = DoMain(argv[1:]) 123 result = DoMain(argv[1:])
123 if result == None: 124 if result == None:
124 PrintUsage() 125 PrintUsage()
125 return 1 126 return 1
126 print result 127 print result
127 return 0 128 return 0
128 129
129 130
130 if __name__ == '__main__': 131 if __name__ == '__main__':
132 #cProfile.run('main(sys.argv)', 'grit_profile')
Mark Mentovai 2011/05/16 16:42:54 Unneeded? (Revert the changes in this file?)
131 sys.exit(main(sys.argv)) 133 sys.exit(main(sys.argv))
OLDNEW
« build/gyp_chromium ('K') | « build/gyp_chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698