Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: build/vs_toolchain.py

Issue 1168433003: Update vs2015 toolchain hash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@toolchain-update
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import json 5 import json
6 import os 6 import os
7 import pipes 7 import pipes
8 import shutil 8 import shutil
9 import subprocess 9 import subprocess
10 import sys 10 import sys
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 _CopyRuntime2013( 182 _CopyRuntime2013(
183 target_dir, runtime_dir, 'msvc%s' + _VersionNumber() + 'd.dll') 183 target_dir, runtime_dir, 'msvc%s' + _VersionNumber() + 'd.dll')
184 184
185 185
186 def _GetDesiredVsToolchainHashes(): 186 def _GetDesiredVsToolchainHashes():
187 """Load a list of SHA1s corresponding to the toolchains that we want installed 187 """Load a list of SHA1s corresponding to the toolchains that we want installed
188 to build with.""" 188 to build with."""
189 # TODO(scottmg): If explicitly set to VS2015 override hashes to the VS2015 RC 189 # TODO(scottmg): If explicitly set to VS2015 override hashes to the VS2015 RC
190 # toolchain. http://crbug.com/492774. 190 # toolchain. http://crbug.com/492774.
191 if os.environ.get('GYP_MSVS_VERSION') == '2015': 191 if os.environ.get('GYP_MSVS_VERSION') == '2015':
192 return ['89341a333306b216e0121fcf2495d04ccbb8c4fc'] 192 return ['71b723e24b0be4199a0363b1468ae9b2196e729e']
193 else: 193 else:
194 # Default to VS2013. 194 # Default to VS2013.
195 return ['ee7d718ec60c2dc5d255bbe325909c2021a7efef'] 195 return ['ee7d718ec60c2dc5d255bbe325909c2021a7efef']
196 196
197 197
198 def Update(): 198 def Update():
199 """Requests an update of the toolchain to the specific hashes we have at 199 """Requests an update of the toolchain to the specific hashes we have at
200 this revision. The update outputs a .json of the various configuration 200 this revision. The update outputs a .json of the various configuration
201 information required to pass to gyp which we use in |GetToolchainDir()|. 201 information required to pass to gyp which we use in |GetToolchainDir()|.
202 """ 202 """
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 'copy_dlls': CopyDlls, 250 'copy_dlls': CopyDlls,
251 } 251 }
252 if len(sys.argv) < 2 or sys.argv[1] not in commands: 252 if len(sys.argv) < 2 or sys.argv[1] not in commands:
253 print >>sys.stderr, 'Expected one of: %s' % ', '.join(commands) 253 print >>sys.stderr, 'Expected one of: %s' % ', '.join(commands)
254 return 1 254 return 1
255 return commands[sys.argv[1]](*sys.argv[2:]) 255 return commands[sys.argv[1]](*sys.argv[2:])
256 256
257 257
258 if __name__ == '__main__': 258 if __name__ == '__main__':
259 sys.exit(main()) 259 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698