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

Unified Diff: tools/json_schema_compiler/compiler.py

Issue 515983003: Fixing json compiler preview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unneeded code. Created 6 years, 4 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/preview.py » ('j') | tools/json_schema_compiler/preview.py » ('J')
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 1a32cbc2c2134c393cb93d6761b859affdb1fa8a..2d39270216d87e4b7a6358f762e9d1b9eb281862 100755
--- a/tools/json_schema_compiler/compiler.py
+++ b/tools/json_schema_compiler/compiler.py
@@ -51,7 +51,7 @@ def GenerateSchema(generator_name,
os.path.dirname(file_path),
include_rules,
cpp_namespace_pattern)
- api_def = schema_loader.LoadSchema(os.path.split(schema)[1])
+ api_def = schema_loader.LoadSchema(schema)
# If compiling the C++ model code, delete 'nocompile' nodes.
if generator_name == 'cpp':
« no previous file with comments | « no previous file | tools/json_schema_compiler/preview.py » ('j') | tools/json_schema_compiler/preview.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698