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

Unified Diff: ppapi/generators/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, 1 month 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
« no previous file with comments | « ppapi/PRESUBMIT.py ('k') | ppapi/generators/idl_c_proto.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/generator.py
diff --git a/ppapi/generators/generator.py b/ppapi/generators/generator.py
index a6065cde6baa91b778d44a21c66c99154a2b7fce..3bb4ff5960152be896cfbf31896422f82e8424a5 100755
--- a/ppapi/generators/generator.py
+++ b/ppapi/generators/generator.py
@@ -6,14 +6,13 @@
import sys
-from idl_ast import IDLAst
+# Note: some of these files are imported to register cmdline options.
from idl_generator import Generator
-from idl_log import ErrOut, InfoOut, WarnOut
-from idl_node import IDLAttribute, IDLNode
-from idl_option import GetOption, Option, ParseOptions
+from idl_option import ParseOptions
from idl_outfile import IDLOutFile
from idl_parser import ParseFiles
from idl_c_header import HGen
+from idl_gen_pnacl import PnaclGen
def Main(args):
@@ -29,4 +28,3 @@ if __name__ == '__main__':
if not args: args = ['--wnone', '--cgen', '--range=start,end']
sys.exit(Main(args))
-
« no previous file with comments | « ppapi/PRESUBMIT.py ('k') | ppapi/generators/idl_c_proto.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698