-
Bruce Dawson authored
tools\win\setenv.bat is a mostly unknown but sometimes useful batch file that adds the VS tools to the path. It respects the value of DEPOT_TOOLS_WIN_TOOLCHAIN and the current toolchain hash. This change updates it to add support for VS 2019, and remove support for VS 2015. It also takes away support for selecting 32-bit versus 64-bit target toolchains because this feature was never used and was too much work to support (since the packaged toolchain and vcvarsall.bat flags are different). This change also fixes a bug where the name of the batch file would be retained in the command-prompt title after this script exits. Using the "call" command fixes that. The retained title is ultimately a Windows command prompt bug which is not going to get fixed. Adding the call command then requires quoting the command path in the Python script. Change-Id: I2b4943dc1e391d9fb4a9e76dd8b592223dc31fb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2392013 Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Reviewed-by:
Jesse McKenna <jessemckenna@google.com> Cr-Commit-Position: refs/heads/master@{#804940}
e169e997