Fix `gn gen` with python3 and the Windows toolchain on a other drive.
In python3 map() return an iterable but doesn't actually do the map yet, so the exception for the file being on another drive was produced in code later and not caught. Force the expansion of the iterable using list(map(...)). Bug: 941669 Change-Id: I4f56f25a42cab102f4cd2f988907a60ec7e816af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517583Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#823980}
Showing
Please register or sign in to comment