diff options
author | Ben Wagner <bungeman@google.com> | 2017-10-09 15:45:33 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-09 21:20:34 +0000 |
commit | 63fd760a37905c45d26fc3d49cac261fad1b4808 (patch) | |
tree | 279aa7293ea1773ac60230790868fe0e1fc725b0 /tools/merge_static_libs.py | |
parent | a49909aa24a370d6dff98d300d0c42ff8cd2c623 (diff) |
Remove trailing whitespace.
Also adds a presubmit to prevent adding trailing whitespace to source
code in the future.
Change-Id: I41a4df81487f6f00aa19b188f0cac6a3377efde6
Reviewed-on: https://skia-review.googlesource.com/57380
Reviewed-by: Ravi Mistry <rmistry@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tools/merge_static_libs.py')
-rwxr-xr-x | tools/merge_static_libs.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/merge_static_libs.py b/tools/merge_static_libs.py index 842be18c84..a32c3a5024 100755 --- a/tools/merge_static_libs.py +++ b/tools/merge_static_libs.py @@ -15,7 +15,7 @@ def _Usage(): def MergeLibs(in_libs, out_lib): """ Merges multiple static libraries into one. - + in_libs: list of paths to static libraries to be merged out_lib: path to the static library which will be created from in_libs """ @@ -38,12 +38,12 @@ def MergeLibs(in_libs, out_lib): proc.wait() if proc.poll() == 0: # The static library is non-thin, and we extracted objects - for object in current_objects: - objects.append(os.path.abspath(object)) + for obj in current_objects: + objects.append(os.path.abspath(obj)) elif 'thin archive' in proc.communicate()[0]: # The static library is thin, so it contains the paths to its objects - for object in current_objects: - objects.append(object) + for obj in current_objects: + objects.append(obj) else: raise Exception('Failed to extract objects from %s.' % in_lib) os.chdir(curdir) |