Commit 0e7788d1 authored by Dale Curtis's avatar Dale Curtis Committed by LUCI CQ

Skip sources downloaded by WinDbg when checking toolchain status.

This avoids the toolchain being wiped after using WinDbg.

Bug: None
Change-Id: I989ef7744b46254bab4c5a707724dc38a9b9a548
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2159998
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: 's avatarScott Graham <scottmg@chromium.org>
parent 1e113e60
......@@ -79,16 +79,19 @@ def GetFileList(root):
assert os.path.normpath(root) == root
file_list = []
# Ignore WER ReportQueue entries that vctip/cl leave in the bin dir if/when
# they crash. Also ignores the content of the win_sdk/debuggers/x(86|64)/sym/
# directories as this is just the temporarily location that Windbg might use
# to store the symbol files.
# they crash. Also ignores the content of the
# win_sdk/debuggers/x(86|64)/(sym|src)/ directories as this is just the
# temporarily location that Windbg might use to store the symbol files and
# downloaded sources.
#
# Note: These files are only created on a Windows host, so the
# ignored_directories list isn't relevant on non-Windows hosts.
ignored_directories = ['wer\\reportqueue',
'win_sdk\\debuggers\\x86\\sym\\',
'win_sdk\\debuggers\\x64\\sym\\']
'win_sdk\\debuggers\\x64\\sym\\',
'win_sdk\\debuggers\\x86\\src\\',
'win_sdk\\debuggers\\x64\\src\\']
for base, _, files in os.walk(root):
paths = [os.path.join(base, f) for f in files]
for p in paths:
......
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