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

Unified Diff: tools/json_schema_compiler/compiler.py

Issue 10348005: Revert 135077 - Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | « chrome/browser/extensions/api/usb/usb_device_resource.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/compiler.py
===================================================================
--- tools/json_schema_compiler/compiler.py (revision 135079)
+++ tools/json_schema_compiler/compiler.py (working copy)
@@ -70,7 +70,7 @@
# The output filename must match the input filename for gyp to deal with it
# properly.
- out_file = namespace.unix_name
+ out_file = namespace.name
type_generator = cpp_type_generator.CppTypeGenerator(
root_namespace, namespace, namespace.unix_name)
for referenced_namespace in api_model.namespaces.values():
@@ -78,7 +78,7 @@
continue
type_generator.AddNamespace(
referenced_namespace,
- referenced_namespace.unix_name)
+ referenced_namespace.name)
h_code = (h_generator.HGenerator(namespace, type_generator)
.Generate().Render())
@@ -120,7 +120,7 @@
for referenced_namespace in api_model.namespaces.values():
type_generator.AddNamespace(
referenced_namespace,
- referenced_namespace.unix_name)
+ referenced_namespace.name)
generator = schema_bundle_generator.SchemaBundleGenerator(
api_model, api_defs, type_generator)
« no previous file with comments | « chrome/browser/extensions/api/usb/usb_device_resource.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698