Commit 10b89e3f authored by scottmg@chromium.org's avatar scottmg@chromium.org

win_toolchain: Ignore ReportQueue entries in calculating toolchain hash

Without this, we'd cause unnecessary toolchain redownloads if vctip.exe
crashed.

R=brucedawson@chromium.org
BUG=440500

Review URL: https://codereview.chromium.org/1639623002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298393 0039d316-1c4b-4281-b951-d872f2087c98
parent 84bbf510
......@@ -74,7 +74,9 @@ def GetFileList(root):
file_list = []
for base, _, files in os.walk(root):
paths = [os.path.join(base, f) for f in files]
file_list.extend(x.lower() for x in paths)
# Ignore WER ReportQueue entries that vctip/cl leave in the bin dir if/when
# they crash.
file_list.extend(x.lower() for x in paths if 'WER\\ReportQueue' not in x)
return sorted(file_list, key=lambda s: s.replace('/', '\\'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment