Commit c60ecf9e authored by scottmg@chromium.org's avatar scottmg@chromium.org

Update toolchain script to package SDK 8.1 instead of 8.0

See also https://codereview.chromium.org/720033003/

BUG=311488,432748

Review URL: https://codereview.chromium.org/719343004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@292950 0039d316-1c4b-4281-b951-d872f2087c98
parent 71284d9b
......@@ -8,7 +8,7 @@ into a .zip file.
It assumes default install locations for tools, in particular:
- C:\Program Files (x86)\Microsoft Visual Studio 12.0\...
- C:\Program Files (x86)\Windows Kits\8.0\...
- C:\Program Files (x86)\Windows Kits\8.1\...
1. Start from a fresh Win7 VM image.
2. Install VS Pro. Deselect everything except MFC.
......@@ -36,7 +36,7 @@ def BuildFileList():
# Subset of VS corresponding roughly to VC.
vs_path = r'C:\Program Files (x86)\Microsoft Visual Studio 12.0'
for path in [
for path in [
'DIA SDK/bin',
'DIA SDK/idl',
'DIA SDK/include',
......@@ -81,7 +81,7 @@ def BuildFileList():
result.append((final_from, dest))
# Just copy the whole SDK.
sdk_path = r'C:\Program Files (x86)\Windows Kits\8.0'
sdk_path = r'C:\Program Files (x86)\Windows Kits\8.1'
for root, _, files in os.walk(sdk_path):
for f in files:
combined = os.path.normpath(os.path.join(root, f))
......
......@@ -344,7 +344,7 @@ def CopyToFinalLocation(extracted_dirs, target_dir):
'Program Files\\Microsoft Visual Studio 12.0\\DIA SDK\\': 'DIA SDK\\',
'System64\\': 'sys64\\',
'System\\': 'sys32\\',
'Windows Kits\\8.0\\': 'win8sdk\\',
'Windows Kits\\8.1\\': 'win8sdk\\',
'WinDDK\\7600.16385.win7_wdk.100208-1538\\': 'wdk\\',
}
matches = []
......@@ -398,7 +398,7 @@ def GenerateSetEnvCmd(target_dir, pro):
f.write('set PATH=%~dp0..\\..\\win8sdk\\bin\\x86;'
'%~dp0..\\..\\VC\\bin;%PATH%\n')
f.write('set LIB=%~dp0..\\..\\VC\\lib;'
'%~dp0..\\..\\win8sdk\\Lib\\win8\\um\\x86;'
'%~dp0..\\..\\win8sdk\\Lib\\winv6.3\\um\\x86;'
'%~dp0..\\..\\VC\\atlmfc\\lib\n'
'goto :EOF\n')
......@@ -420,7 +420,7 @@ def GenerateSetEnvCmd(target_dir, pro):
'%~dp0..\\..\\VC\\bin\\amd64;'
'%PATH%\n')
f.write('set LIB=%~dp0..\\..\\VC\\lib\\amd64;'
'%~dp0..\\..\\win8sdk\\Lib\\win8\\um\\x64;'
'%~dp0..\\..\\win8sdk\\Lib\\winv6.3\\um\\x64;'
'%~dp0..\\..\\VC\\atlmfc\\lib\\amd64\n')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment