summaryrefslogtreecommitdiffstats
path: root/build/vs_toolchain.py
diff options
context:
space:
mode:
authorbrucedawson <brucedawson@chromium.org>2016-01-21 15:35:35 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-21 23:37:55 +0000
commit953e376855384defa8c9b127e010c88cb6c56957 (patch)
tree28b807b4738f874ec34e86ad4c675ef417a59cd7 /build/vs_toolchain.py
parent140da978fecc7edba890aeaf4bb4f2cd350faedb (diff)
downloadchromium_src-953e376855384defa8c9b127e010c88cb6c56957.zip
chromium_src-953e376855384defa8c9b127e010c88cb6c56957.tar.gz
chromium_src-953e376855384defa8c9b127e010c88cb6c56957.tar.bz2
Fix gn builds with locally installed VS
gn builds that use a locally installed copy of Visual Studio (that is, builds with DEPOT_TOOLS_WIN_TOOLCHAIN=0) fail to build because they use the Windows 8.1 SDK, whereas Chrome now requires the Windows 10 SDK. This change updates the 8.1 references to point to 10.0.10586.0. BUG=568201 Review URL: https://codereview.chromium.org/1615603002 Cr-Commit-Position: refs/heads/master@{#370830}
Diffstat (limited to 'build/vs_toolchain.py')
-rwxr-xr-xbuild/vs_toolchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/vs_toolchain.py b/build/vs_toolchain.py
index 3e6cdc7..a944e98 100755
--- a/build/vs_toolchain.py
+++ b/build/vs_toolchain.py
@@ -329,7 +329,7 @@ def GetToolchainDir():
# If WINDOWSSDKDIR is not set, search the default SDK path and set it.
if not 'WINDOWSSDKDIR' in os.environ:
- default_sdk_path = 'C:\\Program Files (x86)\\Windows Kits\\8.1'
+ default_sdk_path = 'C:\\Program Files (x86)\\Windows Kits\\10'
if os.path.isdir(default_sdk_path):
os.environ['WINDOWSSDKDIR'] = default_sdk_path