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

Side by Side Diff: ppapi/generators/idl_generator.py

Issue 9168014: Fix incorrectly resolved conflict, and add error message for missing sources. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/idl_c_header.py ('k') | ppapi/generators/idl_node.py » ('j') | 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/env python
2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # 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
5 # found in the LICENSE file. 4 # found in the LICENSE file.
6 5
7 import sys 6 import sys
8 7
9 from idl_log import ErrOut, InfoOut, WarnOut 8 from idl_log import ErrOut, InfoOut, WarnOut
10 from idl_option import GetOption, Option, ParseOptions 9 from idl_option import GetOption, Option, ParseOptions
11 from idl_parser import ParseFiles 10 from idl_parser import ParseFiles
12 11
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 filenames = ParseOptions(args) 259 filenames = ParseOptions(args)
261 ast = ParseFiles(filenames) 260 ast = ParseFiles(filenames)
262 261
263 return Generator.Run(ast) 262 return Generator.Run(ast)
264 263
265 264
266 if __name__ == '__main__': 265 if __name__ == '__main__':
267 GeneratorReleaseTest('Test Gen', 'testgen', 'Generator Class Test.') 266 GeneratorReleaseTest('Test Gen', 'testgen', 'Generator Class Test.')
268 sys.exit(Main(sys.argv[1:])) 267 sys.exit(Main(sys.argv[1:]))
269 268
OLDNEW
« no previous file with comments | « ppapi/generators/idl_c_header.py ('k') | ppapi/generators/idl_node.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698