From c1af9f4f4d44c5ab0df19749a64d30d70dbb237c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Br=C3=BCning?= <michael.bruning@digia.com> Date: Wed, 10 Sep 2014 12:27:58 +0200 Subject: [PATCH] <third_party/WebKit> FIXUP: Prevent a python IOError on Windows The script for aggregating the generated bindings suffered from the same error on Windows as the other generator python scripts. This should be fixed up when taking the next snapshot with the commit 8f5515e887f99194cad0a3b8bfe30c91b4466d10. Change-Id: Icd08dfa4bb09da806e9946b10af9984011dde463 Reviewed-by: Andras Becsi <andras.becsi@digia.com> --- .../Source/bindings/scripts/aggregate_generated_bindings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chromium/third_party/WebKit/Source/bindings/scripts/aggregate_generated_bindings.py b/chromium/third_party/WebKit/Source/bindings/scripts/aggregate_generated_bindings.py index c6d3e3a5ed3..264e069eccd 100755 --- a/chromium/third_party/WebKit/Source/bindings/scripts/aggregate_generated_bindings.py +++ b/chromium/third_party/WebKit/Source/bindings/scripts/aggregate_generated_bindings.py @@ -54,7 +54,7 @@ import re import subprocess import sys -from utilities import idl_filename_to_interface_name +from utilities import idl_filename_to_interface_name, abs # A regexp for finding Conditional attributes in interface definitions. CONDITIONAL_PATTERN = re.compile( @@ -201,7 +201,7 @@ def main(args): if len(args) <= 4: raise Exception('Expected at least 5 arguments.') component_dir = args[1] - input_file_name = args[2] + input_file_name = abs(args[2]) in_out_break_index = args.index('--') output_file_names = args[in_out_break_index + 1:] -- GitLab