Index: build/vs_toolchain.py |
diff --git a/build/vs_toolchain.py b/build/vs_toolchain.py |
index 1012216346806a9262ae7df3bdd53ed26abbdf13..ddff24a43882a3f35eaffeb637a1be2b2a0b3785 100755 |
--- a/build/vs_toolchain.py |
+++ b/build/vs_toolchain.py |
@@ -279,8 +279,12 @@ def _GetDesiredVsToolchainHashes(): |
"""Load a list of SHA1s corresponding to the toolchains that we want installed |
to build with.""" |
if GetVisualStudioVersion() == '2015': |
- # Update 2. |
- return ['95ddda401ec5678f15eeed01d2bee08fcbc5ee97'] |
+ if bool(int(os.environ.get('DEPOT_TOOLS_WIN_TOOLCHAIN_PRERELEASE', '0'))): |
+ # Update 3 pre-release, May 16th. |
+ return ['283cc362f57dbe240e0d21f48ae45f9d834a425a'] |
+ else: |
+ # Update 2. |
+ return ['95ddda401ec5678f15eeed01d2bee08fcbc5ee97'] |
else: |
return ['03a4e939cd325d6bc5216af41b92d02dda1366a6'] |