| Index: build/vs_toolchain.py
|
| diff --git a/build/vs_toolchain.py b/build/vs_toolchain.py
|
| index 7260d8709afc422fff4b2cbbc4c02e37ea03eda1..02e27e5dcac02d32686d5449ab32b918b2667e5b 100755
|
| --- a/build/vs_toolchain.py
|
| +++ b/build/vs_toolchain.py
|
| @@ -22,8 +22,8 @@ json_data_file = os.path.join(script_dir, 'win_toolchain.json')
|
| import gyp
|
|
|
|
|
| -# Use MSVS2013 as the default toolchain.
|
| -CURRENT_DEFAULT_TOOLCHAIN_VERSION = '2013'
|
| +# Use MSVS2015 as the default toolchain.
|
| +CURRENT_DEFAULT_TOOLCHAIN_VERSION = '2015'
|
|
|
|
|
| def SetEnvironmentAndGetRuntimeDllDirs():
|
| @@ -281,7 +281,6 @@ def _GetDesiredVsToolchainHashes():
|
| # Update 1 with hot fixes.
|
| return ['b349b3cc596d5f7e13d649532ddd7e8db39db0cb']
|
| else:
|
| - # Default to VS2013.
|
| return ['4087e065abebdca6dbd0caca2910c6718d2ec67f']
|
|
|
|
|
| @@ -315,6 +314,9 @@ def Update(force=False):
|
| depot_tools_win_toolchain):
|
| import find_depot_tools
|
| depot_tools_path = find_depot_tools.add_depot_tools_to_path()
|
| + # Necessary so that get_toolchain_if_necessary.py will put the VS toolkit
|
| + # in the correct directory.
|
| + os.environ['GYP_MSVS_VERSION'] = GetVisualStudioVersion()
|
| get_toolchain_args = [
|
| sys.executable,
|
| os.path.join(depot_tools_path,
|
|
|