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

Unified Diff: Source/bindings/scripts/compute_interfaces_info.py

Issue 208953004: Add RuntimeEnabled info to InterfaceInfo.pickle. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/compute_interfaces_info.py
diff --git a/Source/bindings/scripts/compute_interfaces_info.py b/Source/bindings/scripts/compute_interfaces_info.py
index 8d425bf0bc7fdc4e4dde2fcb3e02edeae79d90ec..d8200b99418c88964845e5a4e8e0b8d421f6810f 100755
--- a/Source/bindings/scripts/compute_interfaces_info.py
+++ b/Source/bindings/scripts/compute_interfaces_info.py
@@ -161,6 +161,7 @@ def compute_individual_info(idl_filename):
extended_attributes = get_interface_extended_attributes_from_idl(idl_file_contents)
implemented_as = extended_attributes.get('ImplementedAs')
+ runtime_enabled = extended_attributes.get('RuntimeEnabled')
# FIXME: remove [NoHeader] once switch to Python
this_include_path = (include_path(idl_filename, implemented_as)
if 'NoHeader' not in extended_attributes else None)
@@ -187,6 +188,7 @@ def compute_individual_info(idl_filename):
# These cause rebuilds of referrers, due to the dependency, so these
# should be minimized; currently only targets of [PutForwards].
'referenced_interfaces': get_put_forward_interfaces_from_idl(idl_file_contents),
+ 'runtime_enabled': runtime_enabled,
}
# Record inheritance information
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698