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

Side by Side Diff: win_toolchain/toolchain2013.py

Issue 169053008: Add some missing parts from MFC to toolchain (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 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 """Extracts a Windows VS2013 toolchain from various downloadable pieces.""" 6 """Extracts a Windows VS2013 toolchain from various downloadable pieces."""
7 7
8 8
9 import ctypes 9 import ctypes
10 import json 10 import json
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 (r'vc_compilerCore86res\vc_compilerCore86res.msi', True), 300 (r'vc_compilerCore86res\vc_compilerCore86res.msi', True),
301 (r'vc_compilerx64nat\vc_compilerx64nat.msi', False), 301 (r'vc_compilerx64nat\vc_compilerx64nat.msi', False),
302 (r'vc_compilerx64natres\vc_compilerx64natres.msi', False), 302 (r'vc_compilerx64natres\vc_compilerx64natres.msi', False),
303 (r'vc_compilerx64x86\vc_compilerx64x86.msi', False), 303 (r'vc_compilerx64x86\vc_compilerx64x86.msi', False),
304 (r'vc_compilerx64x86res\vc_compilerx64x86res.msi', False), 304 (r'vc_compilerx64x86res\vc_compilerx64x86res.msi', False),
305 (r'vc_librarycore86\vc_librarycore86.msi', True), 305 (r'vc_librarycore86\vc_librarycore86.msi', True),
306 (r'vc_libraryDesktop\x64\vc_LibraryDesktopX64.msi', True), 306 (r'vc_libraryDesktop\x64\vc_LibraryDesktopX64.msi', True),
307 (r'vc_libraryDesktop\x86\vc_LibraryDesktopX86.msi', True), 307 (r'vc_libraryDesktop\x86\vc_LibraryDesktopX86.msi', True),
308 (r'vc_libraryextended\vc_libraryextended.msi', False), 308 (r'vc_libraryextended\vc_libraryextended.msi', False),
309 (r'professionalcore\Setup\vs_professionalcore.msi', False), 309 (r'professionalcore\Setup\vs_professionalcore.msi', False),
310 (r'vc_libraryselectablemfc\vc_libraryselectablemfc.msi', False),
310 ] 311 ]
311 extracted_iso = ExtractIso(image.vs_path) 312 extracted_iso = ExtractIso(image.vs_path)
312 result = ExtractMsiList(os.path.join(extracted_iso, 'packages'), vs_packages) 313 result = ExtractMsiList(os.path.join(extracted_iso, 'packages'), vs_packages)
313 314
314 sdk_packages = [ 315 sdk_packages = [
315 (r'X86 Debuggers And Tools-x86_en-us.msi', True), 316 (r'X86 Debuggers And Tools-x86_en-us.msi', True),
316 (r'X64 Debuggers And Tools-x64_en-us.msi', True), 317 (r'X64 Debuggers And Tools-x64_en-us.msi', True),
317 (r'SDK Debuggers-x86_en-us.msi', True), 318 (r'SDK Debuggers-x86_en-us.msi', True),
318 (r'Windows Software Development Kit-x86_en-us.msi', True), 319 (r'Windows Software Development Kit-x86_en-us.msi', True),
319 (r'Windows Software Development Kit for Metro style Apps-x86_en-us.msi', 320 (r'Windows Software Development Kit for Metro style Apps-x86_en-us.msi',
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 } 470 }
470 with open(os.path.join(target_dir, '..', 'data.json'), 'w') as f: 471 with open(os.path.join(target_dir, '..', 'data.json'), 'w') as f:
471 json.dump(data, f) 472 json.dump(data, f)
472 finally: 473 finally:
473 if options.clean: 474 if options.clean:
474 DeleteAllTempDirs() 475 DeleteAllTempDirs()
475 476
476 477
477 if __name__ == '__main__': 478 if __name__ == '__main__':
478 sys.exit(main()) 479 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