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

Unified Diff: tools/json_schema_compiler/compiler.py

Issue 422783002: Remove the Pepper IDL generator from JSON schema compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/json_schema_compiler/ppapi_generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/compiler.py
diff --git a/tools/json_schema_compiler/compiler.py b/tools/json_schema_compiler/compiler.py
index 98f44d743e43d72eeaa9692c4a999e139c864da4..25d901235053abe1fe691456766b7a64372f28ca 100755
--- a/tools/json_schema_compiler/compiler.py
+++ b/tools/json_schema_compiler/compiler.py
@@ -26,12 +26,11 @@ from cpp_type_generator import CppTypeGenerator
from dart_generator import DartGenerator
import json_schema
from model import Model
-from ppapi_generator import PpapiGenerator
from schema_loader import SchemaLoader
# Names of supported code generators, as specified on the command-line.
# First is default.
-GENERATORS = ['cpp', 'cpp-bundle', 'dart', 'ppapi']
+GENERATORS = ['cpp', 'cpp-bundle', 'dart']
def GenerateSchema(generator,
filenames,
@@ -111,12 +110,6 @@ def GenerateSchema(generator,
('%s.dart' % namespace.unix_name, DartGenerator(
dart_overrides_dir))
]
- elif generator == 'ppapi':
- generator = PpapiGenerator()
- generators = [
- (os.path.join('api', 'ppb_%s.idl' % namespace.unix_name),
- generator.idl_generator),
- ]
else:
raise Exception('Unrecognised generator %s' % generator)
« no previous file with comments | « no previous file | tools/json_schema_compiler/ppapi_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698