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

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

Issue 169743005: Faster run-bindings-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed obsolete method 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
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..26e9f8732f0defce0c2034426045075f53fa9b77 100755
--- a/Source/bindings/scripts/compute_interfaces_info.py
+++ b/Source/bindings/scripts/compute_interfaces_info.py
@@ -268,6 +268,11 @@ def compute_interfaces_info(idl_files):
})
+def compute(idl_files, interfaces_info_file, only_if_changed):
Nils Barth (inactive) 2014/03/14 01:01:37 This won't be necessary (indeed, no changes to thi
terry 2014/03/14 16:12:54 Right with compute_interfaces_info no need for thi
+ compute_interfaces_info(idl_files)
+ write_pickle_file(interfaces_info_file, interfaces_info, only_if_changed)
+
+
################################################################################
def main():
@@ -282,10 +287,7 @@ def main():
# cannot be included in the file listing static files
idl_files.extend(args)
- compute_interfaces_info(idl_files)
- write_pickle_file(options.interfaces_info_file,
- interfaces_info,
- options.write_file_only_if_changed)
+ compute(idl_files, options.interfaces_info_file, options.write_file_only_if_changed)
if __name__ == '__main__':

Powered by Google App Engine
This is Rietveld 408576698