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

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

Issue 8568025: Pnacl ppapi shim generator (from IDL), based on Noel's first cut. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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_gen_wrapper.py ('k') | ppapi/generators/pnacl_shim.h » ('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/python
2 # 2 #
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # 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
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import sys 7 import sys
8 8
9 from idl_log import ErrOut, InfoOut, WarnOut 9 from idl_log import ErrOut, InfoOut, WarnOut
10 from idl_option import GetOption, Option, ParseOptions 10 from idl_option import GetOption, Option, ParseOptions
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 if not args: return Test() 255 if not args: return Test()
256 filenames = ParseOptions(args) 256 filenames = ParseOptions(args)
257 ast = ParseFiles(filenames) 257 ast = ParseFiles(filenames)
258 258
259 return Generator.Run(ast) 259 return Generator.Run(ast)
260 260
261 261
262 if __name__ == '__main__': 262 if __name__ == '__main__':
263 GeneratorReleaseTest('Test Gen', 'testgen', 'Generator Class Test.') 263 GeneratorReleaseTest('Test Gen', 'testgen', 'Generator Class Test.')
264 sys.exit(Main(sys.argv[1:])) 264 sys.exit(Main(sys.argv[1:]))
265
OLDNEW
« no previous file with comments | « ppapi/generators/idl_gen_wrapper.py ('k') | ppapi/generators/pnacl_shim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698