chrome/updater/mac/signing/pipeline.py
def _package_dmg(paths, config):
    """Packages an Updater application bundle into a DMG.

    Args:
        paths: A |model.Paths| object.
        config: The |config.CodeSignConfig| object.

    Returns:
        A path to the produced DMG file.
    """
    dmg_path = os.path.join(paths.output,
                            '{}.dmg'.format(config.packaging_basename))
    app_path = os.path.join(paths.work, config.app_dir)
    empty_dir = os.path.join(paths.work, 'empty')
    commands.make_dir(empty_dir)
    pkg_dmg = [
        os.path.join(paths.input, config.packaging_dir, 'signing', 'pkg-dmg'),
        '--verbosity',
        '0',
        '--tempdir',
        paths.work,
        '--source',
        empty_dir,
        '--target',
        dmg_path,
        '--format',
        'UDBZ',
        '--volname',
        config.app_product,
        '--copy',
        '{}:/'.format(app_path),
        '--copy',
        '{}/chrome/updater/.install:/'.format(paths.input),
    ]
    commands.run_command(pkg_dmg)
    return dmg_path
Packages an Updater application bundle into a DMG.

    Args:
        paths: A |model.Paths| object.
        config: The |config.CodeSignConfig| object.

    Returns:
        A path to the produced DMG file.
    
Packages an Updater application bundle into a DMG.
Packages an Updater application bundle into a DMG .
def _package_dmg(paths, config):
    dmg_path = os.path.join(paths.output,
                            '{}.dmg'.format(config.packaging_basename))
    app_path = os.path.join(paths.work, config.app_dir)
    empty_dir = os.path.join(paths.work, 'empty')
    commands.make_dir(empty_dir)
    pkg_dmg = [
        os.path.join(paths.input, config.packaging_dir, 'signing', 'pkg-dmg'),
        '--verbosity',
        '0',
        '--tempdir',
        paths.work,
        '--source',
        empty_dir,
        '--target',
        dmg_path,
        '--format',
        'UDBZ',
        '--volname',
        config.app_product,
        '--copy',
        '{}:/'.format(app_path),
        '--copy',
        '{}/chrome/updater/.install:/'.format(paths.input),
    ]
    commands.run_command(pkg_dmg)
    return dmg_path
def _package_dmg ( paths , config ) : dmg_path = os . path . join ( paths . output , '{}.dmg' . format ( config . packaging_basename ) ) app_path = os . path . join ( paths . work , config . app_dir ) empty_dir = os . path . join ( paths . work , 'empty' ) commands . make_dir ( empty_dir ) pkg_dmg = [ os . path . join ( paths . input , config . packaging_dir , 'signing' , 'pkg-dmg' ) , '--verbosity' , '0' , '--tempdir' , paths . work , '--source' , empty_dir , '--target' , dmg_path , '--format' , 'UDBZ' , '--volname' , config . app_product , '--copy' , '{}:/' . format ( app_path ) , '--copy' , '{}/chrome/updater/.install:/' . format ( paths . input ) , ] commands . run_command ( pkg_dmg ) return dmg_path
Packages an Updater application bundle into a DMG.
Packages an Updater application bundle into a DMG .
"""Packages an Updater application bundle into a DMG.

    Args:
        paths: A |model.Paths| object.
        config: The |config.CodeSignConfig| object.

    Returns:
        A path to the produced DMG file.
    """
A path to the produced DMG file.
A path to the produced DMG file .
paths
A |model.Paths| object.
A |model . Paths| object .
config
The |config.CodeSignConfig| object.
The |config . CodeSignConfig| object .