chrome/tools/build/win/create_installer_archive.py
def CopyAllFilesToStagingDir(config, distribution, staging_dir, build_dir,
                             enable_hidpi, include_snapshotblob,
                             component_build, component_ffmpeg_build, verbose):
  """Copies the files required for installer archive.
  Copies all common files required for various distributions of Chromium and
  also files for the specific Chromium build specified by distribution.
  """
  CopySectionFilesToStagingDir(config, 'GENERAL', staging_dir, build_dir,
                               verbose)
  if distribution:
    if len(distribution) > 1 and distribution[0] == '_':
      distribution = distribution[1:]

    distribution = distribution.upper()
    if config.has_section(distribution):
      CopySectionFilesToStagingDir(config, distribution,
                                   staging_dir, build_dir, verbose)
  if enable_hidpi == '1':
    CopySectionFilesToStagingDir(config, 'HIDPI', staging_dir, build_dir,
                                 verbose)

  if include_snapshotblob == '1':
    CopySectionFilesToStagingDir(config, 'SNAPSHOTBLOB', staging_dir, build_dir,
                                 verbose)

  if component_build != '1' and component_ffmpeg_build == '1':
    CopySectionFilesToStagingDir(config, 'FFMPEG', staging_dir, build_dir,
                                 verbose)
Copies the files required for installer archive.
  Copies all common files required for various distributions of Chromium and
  also files for the specific Chromium build specified by distribution.
  
Copies the files required for installer archive.
Copies all common files required for various distributions of Chromium and
also files for the specific Chromium build specified by distribution.
Copies the files required for installer archive . Copies all common files required for various distributions of Chromium and also files for the specific Chromium build specified by distribution .
def CopyAllFilesToStagingDir(config, distribution, staging_dir, build_dir,
                             enable_hidpi, include_snapshotblob,
                             component_build, component_ffmpeg_build, verbose):
  CopySectionFilesToStagingDir(config, 'GENERAL', staging_dir, build_dir,
                               verbose)
  if distribution:
    if len(distribution) > 1 and distribution[0] == '_':
      distribution = distribution[1:]
    distribution = distribution.upper()
    if config.has_section(distribution):
      CopySectionFilesToStagingDir(config, distribution,
                                   staging_dir, build_dir, verbose)
  if enable_hidpi == '1':
    CopySectionFilesToStagingDir(config, 'HIDPI', staging_dir, build_dir,
                                 verbose)
  if include_snapshotblob == '1':
    CopySectionFilesToStagingDir(config, 'SNAPSHOTBLOB', staging_dir, build_dir,
                                 verbose)
  if component_build != '1' and component_ffmpeg_build == '1':
    CopySectionFilesToStagingDir(config, 'FFMPEG', staging_dir, build_dir,
                                 verbose)
def CopyAllFilesToStagingDir ( config , distribution , staging_dir , build_dir , enable_hidpi , include_snapshotblob , component_build , component_ffmpeg_build , verbose ) : CopySectionFilesToStagingDir ( config , 'GENERAL' , staging_dir , build_dir , verbose ) if distribution : if len ( distribution ) > 1 and distribution [ 0 ] == '_' : distribution = distribution [ 1 : ] distribution = distribution . upper ( ) if config . has_section ( distribution ) : CopySectionFilesToStagingDir ( config , distribution , staging_dir , build_dir , verbose ) if enable_hidpi == '1' : CopySectionFilesToStagingDir ( config , 'HIDPI' , staging_dir , build_dir , verbose ) if include_snapshotblob == '1' : CopySectionFilesToStagingDir ( config , 'SNAPSHOTBLOB' , staging_dir , build_dir , verbose ) if component_build != '1' and component_ffmpeg_build == '1' : CopySectionFilesToStagingDir ( config , 'FFMPEG' , staging_dir , build_dir , verbose )
Copies the files required for installer archive.
Copies the files required for installer archive .
"""Copies the files required for installer archive.
  Copies all common files required for various distributions of Chromium and
  also files for the specific Chromium build specified by distribution.
  """
config
distribution
staging_dir
build_dir
enable_hidpi
include_snapshotblob
component_build
component_ffmpeg_build
verbose