mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
![]() In case the environment is incorrectly set on Windows (e.g. GYP_MSVS_OVERRIDE_PATH pointing to a non-existing path), the setup_toolchain.py script may raise an exception. The script attempts to run a subprocess to gather the environment variables. But it does not check that the process actually succeeded. In case the process fails the environment data will be invalid and the script will ultimately raise an exception. This change adds a check for the process failing, and gracefully warns and exits the script instead. TEST=Manual build on Windows. Change-Id: I3624bdf98e0ebe48b403825a90ce2e86c2ed8008 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/242860 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Tess Strickland <sstrickl@google.com> |
||
---|---|---|
.. | ||
android | ||
fuchsia | ||
linux | ||
mac | ||
win | ||
ccache.gni | ||
gcc_toolchain.gni | ||
get_concurrent_links.py | ||
goma.gni |