Index: Source/bindings/scripts/compute_dependencies.py |
diff --git a/Source/bindings/scripts/compute_dependencies.py b/Source/bindings/scripts/compute_dependencies.py |
index c2f43f4fe357d6978f3429aca2678d31cf6a01bb..5bacc051784af84de91cdbede31468ab0e8d212e 100755 |
--- a/Source/bindings/scripts/compute_dependencies.py |
+++ b/Source/bindings/scripts/compute_dependencies.py |
@@ -332,7 +332,9 @@ def generate_dependencies(idl_filename): |
extended_attributes = get_interface_extended_attributes_from_idl(idl_file_contents) |
implemented_as = extended_attributes.get('ImplementedAs') |
- this_include_path = include_path(idl_filename, implemented_as) |
+ # FIXME: remove [NoHeader] once switch to Python |
+ this_include_path = (include_path(idl_filename, implemented_as) |
+ if 'NoHeader' not in extended_attributes else None) |
# Handle partial interfaces |
partial_interface_name = get_partial_interface_name_from_idl(idl_file_contents) |