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

Side by Side Diff: build/vs_toolchain.py

Issue 1851573002: VS 2015 Update 2 RTW (final) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase? Created 4 years, 8 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 | « build/get_landmines.py ('k') | 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import glob 6 import glob
7 import json 7 import json
8 import os 8 import os
9 import pipes 9 import pipes
10 import shutil 10 import shutil
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 runtime_dir = x64_runtime if target_cpu == 'x64' else x86_runtime 271 runtime_dir = x64_runtime if target_cpu == 'x64' else x86_runtime
272 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=False) 272 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=False)
273 if configuration == 'Debug': 273 if configuration == 'Debug':
274 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=True) 274 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=True)
275 275
276 276
277 def _GetDesiredVsToolchainHashes(): 277 def _GetDesiredVsToolchainHashes():
278 """Load a list of SHA1s corresponding to the toolchains that we want installed 278 """Load a list of SHA1s corresponding to the toolchains that we want installed
279 to build with.""" 279 to build with."""
280 if GetVisualStudioVersion() == '2015': 280 if GetVisualStudioVersion() == '2015':
281 # Update 1 with hot fixes. 281 # Update 2.
282 return ['a3796183a9fc4d22a687c5212b9c76dbd136d70d'] 282 return ['95ddda401ec5678f15eeed01d2bee08fcbc5ee97']
283 else: 283 else:
284 return ['4087e065abebdca6dbd0caca2910c6718d2ec67f'] 284 return ['4087e065abebdca6dbd0caca2910c6718d2ec67f']
285 285
286 286
287 def ShouldUpdateToolchain(): 287 def ShouldUpdateToolchain():
288 """Check if the toolchain should be upgraded.""" 288 """Check if the toolchain should be upgraded."""
289 if not os.path.exists(json_data_file): 289 if not os.path.exists(json_data_file):
290 return True 290 return True
291 with open(json_data_file, 'r') as tempf: 291 with open(json_data_file, 'r') as tempf:
292 toolchain_data = json.load(tempf) 292 toolchain_data = json.load(tempf)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 'copy_dlls': CopyDlls, 368 'copy_dlls': CopyDlls,
369 } 369 }
370 if len(sys.argv) < 2 or sys.argv[1] not in commands: 370 if len(sys.argv) < 2 or sys.argv[1] not in commands:
371 print >>sys.stderr, 'Expected one of: %s' % ', '.join(commands) 371 print >>sys.stderr, 'Expected one of: %s' % ', '.join(commands)
372 return 1 372 return 1
373 return commands[sys.argv[1]](*sys.argv[2:]) 373 return commands[sys.argv[1]](*sys.argv[2:])
374 374
375 375
376 if __name__ == '__main__': 376 if __name__ == '__main__':
377 sys.exit(main()) 377 sys.exit(main())
OLDNEW
« no previous file with comments | « build/get_landmines.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698