Advertisement
Guest User

Untitled

a guest
Aug 21st, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. diff --git a/Source/bindings/scripts/compute_dependencies.py b/Source/bindings/scripts/compute_dependencies.py
  2. index 8c3e3a2..6e9251b 100755
  3. --- a/Source/bindings/scripts/compute_dependencies.py
  4. +++ b/Source/bindings/scripts/compute_dependencies.py
  5. @@ -143,7 +143,7 @@ def get_interface_extended_attributes_from_idl(file_contents):
  6. def generate_constructor_attribute_list(interface_name, extended_attributes):
  7. extended_attributes_list = []
  8. for attribute_name, attribute_value in extended_attributes.iteritems():
  9. - if attribute_name not in ['Conditional', 'EnabledAtRuntime', 'EnabledPerContext']:
  10. + if attribute_name not in ['Conditional', 'EnabledAtRuntime', 'EnabledPerContext', 'DeprecateAs']:
  11. continue
  12. extended_attribute = attribute_name
  13. if attribute_value != 'VALUE_IS_MISSING':
  14. @@ -178,7 +178,7 @@ def generate_event_names_file(destination_filename, event_names, only_if_changed
  15. lines.append('\n')
  16. for filename, extended_attributes in sorted(event_names.iteritems()):
  17. attributes = []
  18. - for key in ('ImplementedAs', 'Conditional', 'EnabledAtRuntime'):
  19. + for key in ('ImplementedAs', 'Conditional', 'EnabledAtRuntime', 'DeprecateAs'):
  20. suffix = ''
  21. if key == 'EnabledAtRuntime':
  22. suffix = 'Enabled'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement