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

Side by Side Diff: chrome/tools/build/win/create_installer_archive.py

Issue 806693005: Update dependencies for setup.exe following BoringSSL switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@seed
Patch Set: Created 6 years 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 """Script to create Chrome Installer archive. 6 """Script to create Chrome Installer archive.
7 7
8 This script is used to create an archive of all the files required for a 8 This script is used to create an archive of all the files required for a
9 Chrome install in appropriate directory structure. It reads chrome.release 9 Chrome install in appropriate directory structure. It reads chrome.release
10 file as input, creates chrome.7z archive, compresses setup.exe and 10 file as input, creates chrome.7z archive, compresses setup.exe and
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 os.mkdir(installer_dir) 436 os.mkdir(installer_dir)
437 437
438 # Copy the VS CRT DLLs to |build_dir|. This must be done before the general 438 # Copy the VS CRT DLLs to |build_dir|. This must be done before the general
439 # copy step below to ensure the CRT DLLs are added to the archive and marked 439 # copy step below to ensure the CRT DLLs are added to the archive and marked
440 # as a dependency in the exe manifests generated below. 440 # as a dependency in the exe manifests generated below.
441 CopyVisualStudioRuntimeDLLs(target_arch, build_dir) 441 CopyVisualStudioRuntimeDLLs(target_arch, build_dir)
442 442
443 # Explicitly list the component DLLs setup.exe depends on (this list may 443 # Explicitly list the component DLLs setup.exe depends on (this list may
444 # contain wildcards). These will be copied to |installer_dir| in the archive. 444 # contain wildcards). These will be copied to |installer_dir| in the archive.
445 setup_component_dll_globs = [ 'base.dll', 445 setup_component_dll_globs = [ 'base.dll',
446 'boringssl.dll',
446 'crcrypto.dll', 447 'crcrypto.dll',
447 'crnspr.dll',
448 'crnss.dll',
449 'icui18n.dll', 448 'icui18n.dll',
450 'icuuc.dll', 449 'icuuc.dll',
451 'msvc*.dll' ] 450 'msvc*.dll' ]
452 for setup_component_dll_glob in setup_component_dll_globs: 451 for setup_component_dll_glob in setup_component_dll_globs:
453 setup_component_dlls = glob.glob(os.path.join(build_dir, 452 setup_component_dlls = glob.glob(os.path.join(build_dir,
454 setup_component_dll_glob)) 453 setup_component_dll_glob))
455 for setup_component_dll in setup_component_dlls: 454 for setup_component_dll in setup_component_dlls:
456 shutil.copy(setup_component_dll, installer_dir) 455 shutil.copy(setup_component_dll, installer_dir)
457 456
458 # Stage all the component DLLs found in |build_dir| to the |version_dir| (for 457 # Stage all the component DLLs found in |build_dir| to the |version_dir| (for
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 if not options.resource_file_path: 596 if not options.resource_file_path:
598 options.resource_file_path = os.path.join(options.build_dir, 597 options.resource_file_path = os.path.join(options.build_dir,
599 MINI_INSTALLER_INPUT_FILE) 598 MINI_INSTALLER_INPUT_FILE)
600 599
601 return options 600 return options
602 601
603 602
604 if '__main__' == __name__: 603 if '__main__' == __name__:
605 print sys.argv 604 print sys.argv
606 sys.exit(main(_ParseOptions())) 605 sys.exit(main(_ParseOptions()))
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