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
changes/01/332501/1
scottmg@chromium.org 9 years ago
parent 84bbf510a1
commit 10b89e3fa6

@ -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('/', '\\'))

Loading…
Cancel
Save