Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index 9630d71ecc864d91d765d02e7d8336c34e4e7976..a89f749f152d0352797806415a957b445bf6e3a8 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -343,6 +343,8 @@ def includes_for_type(idl_type): |
if base_idl_type.endswith('Constructor'): |
# FIXME: replace with a [ConstructorAttribute] extended attribute |
base_idl_type = idl_type.constructor_type_name |
+ if base_idl_type not in component_dir: |
+ return set() |
return set(['bindings/%s/v8/V8%s.h' % (component_dir[base_idl_type], |
base_idl_type)]) |