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

Unified Diff: Source/bindings/scripts/unstable/code_generator_v8.py

Issue 137993002: IDL compiler: Move include path handling to compute_dependencies (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | « Source/bindings/scripts/compute_dependencies.py ('k') | Source/bindings/scripts/unstable/idl_compiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/unstable/code_generator_v8.py
diff --git a/Source/bindings/scripts/unstable/code_generator_v8.py b/Source/bindings/scripts/unstable/code_generator_v8.py
index be7fec8ab98554d42761053124eb17b4cb144580..03b2c6614d773080c664f5c3011a3fbef3c8c8b6 100644
--- a/Source/bindings/scripts/unstable/code_generator_v8.py
+++ b/Source/bindings/scripts/unstable/code_generator_v8.py
@@ -94,8 +94,8 @@ class CodeGeneratorV8:
self.header_template = jinja_env.get_template(header_template_filename)
self.cpp_template = jinja_env.get_template(cpp_template_filename)
- class_name = cpp_name(self.interface)
- self.include_for_cpp_class = posixpath.join(relative_dir_posix, class_name + '.h')
+ interface_info = interfaces_info[interface_name]
+ self.include_for_cpp_class = interface_info['include_path']
v8_types.set_callback_functions(definitions.callback_functions.keys())
v8_types.set_enums((enum.name, enum.values)
« no previous file with comments | « Source/bindings/scripts/compute_dependencies.py ('k') | Source/bindings/scripts/unstable/idl_compiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698