Chromium Code Reviews| Index: tools/json_schema_compiler/compiler.py |
| diff --git a/tools/json_schema_compiler/compiler.py b/tools/json_schema_compiler/compiler.py |
| index 4ecb699bf9c6e235175eb34c6ec7db2f407efaef..7e9024ce21b5fa80159adf469eda3a650dc0370b 100755 |
| --- a/tools/json_schema_compiler/compiler.py |
| +++ b/tools/json_schema_compiler/compiler.py |
| @@ -25,7 +25,7 @@ from cpp_generator import CppGenerator |
| from cpp_type_generator import CppTypeGenerator |
| from dart_generator import DartGenerator |
| import json_schema |
| -from model import Model, UnixName |
| +from model import Model |
| from schema_loader import SchemaLoader |
| # Names of supported code generators, as specified on the command-line. |
| @@ -78,10 +78,6 @@ def GenerateSchema(generator, |
| sys.exit("Filename %s is illegal. Name files using unix_hacker style." % |
| schema_filename) |
| - # The output filename must match the input filename for gyp to deal with it |
|
dhnishi (use Chromium)
2013/09/09 22:55:43
I removed this bit because the code was never used
not at google - send to devlin
2013/09/09 23:50:25
Eh who knows. Delete SGTM.
|
| - # properly. |
| - out_file = namespace.unix_name |
| - |
| # Construct the type generator with all the namespaces in this model. |
| type_generator = CppTypeGenerator(api_model, |
| schema_loader, |