Index: Tools/Scripts/webkitpy/bindings/main.py |
diff --git a/Tools/Scripts/webkitpy/bindings/main.py b/Tools/Scripts/webkitpy/bindings/main.py |
index 887a8612a48ccb33235d948d936e1519c81d8507..d3115fb4d7749ef6d20dd9137d3a5ad471a573cd 100644 |
--- a/Tools/Scripts/webkitpy/bindings/main.py |
+++ b/Tools/Scripts/webkitpy/bindings/main.py |
@@ -60,7 +60,7 @@ class BindingsTests: |
exit_code = e.exit_code |
return exit_code |
- def generate_supplemental_dependency(self, input_directory, supplemental_dependency_file): |
+ def generate_supplemental_dependency(self, input_directory, supplemental_dependency_file, window_constructors_file): |
idl_files_list = tempfile.mkstemp() |
for input_file in os.listdir(input_directory): |
(name, extension) = os.path.splitext(input_file) |
@@ -73,7 +73,8 @@ class BindingsTests: |
'-Ibindings/scripts', |
'bindings/scripts/preprocess-idls.pl', |
'--idlFilesList', idl_files_list[1], |
- '--supplementalDependencyFile', supplemental_dependency_file] |
+ '--supplementalDependencyFile', supplemental_dependency_file, |
+ '--windowConstructorsFile', window_constructors_file] |
exit_code = 0 |
try: |
@@ -147,7 +148,8 @@ class BindingsTests: |
input_directory = os.path.join('bindings', 'tests', 'idls') |
supplemental_dependency_file = tempfile.mkstemp()[1] |
- if self.generate_supplemental_dependency(input_directory, supplemental_dependency_file): |
+ window_constructors_file = tempfile.mkstemp()[1] |
+ if self.generate_supplemental_dependency(input_directory, supplemental_dependency_file, window_constructors_file): |
print 'Failed to generate a supplemental dependency file.' |
os.remove(supplemental_dependency_file) |
return -1 |