Index: tools/json_schema_compiler/compiler.py |
diff --git a/tools/json_schema_compiler/compiler.py b/tools/json_schema_compiler/compiler.py |
index 7965d18d40f003000fee5d454c6aef514c002409..54ab62f81c278b861332e3c30df8a7a6f717d35b 100644 |
--- a/tools/json_schema_compiler/compiler.py |
+++ b/tools/json_schema_compiler/compiler.py |
@@ -75,8 +75,8 @@ if __name__ == '__main__': |
# The output filename must match the input filename for gyp to deal with it |
# properly. |
out_file = namespace.name |
- type_generator = cpp_type_generator.CppTypeGenerator(root_namespace, |
- namespace, out_file) |
+ type_generator = cpp_type_generator.CppTypeGenerator( |
+ root_namespace, namespace, namespace.unix_name) |
for referenced_namespace in api_model.namespaces.values(): |
type_generator.AddNamespace( |
referenced_namespace, |