old_contents: #!/usr/bin/env python
  
  import errno
  import os
  import platform
  import sys
  
  
  BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \
      'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent'
  LIBCHROMIUMCONTENT_COMMIT = '599c8941e1884e155218ec1013cba9fc5c7c7072'
  
  PLATFORM = {
    'cygwin': 'win32',
    'darwin': 'darwin',
    'linux2': 'linux',
    'win32': 'win32',
  }[sys.platform]
  
  verbose_mode = False
  
  
  def get_platform_key():
    if os.environ.has_key('MAS_BUILD'):
      return 'mas'
    else:
      return PLATFORM
  
  
  def get_target_arch():
    try:
      target_arch_path = os.path.join(__file__, '..', '..', '..', 'vendor',
                                      'brightray', 'vendor', 'download',
                                      'libchromiumcontent', '.target_arch')
      with open(os.path.normpath(target_arch_path)) as f:
        return f.read().strip()
    except IOError as e:
      if e.errno != errno.ENOENT:
        raise
  
    if PLATFORM == 'win32':
      return 'ia32'
    else:
      return 'x64'
  
  
  def get_chromedriver_version():
    return 'v2.15'
  
  
  def s3_config():
    config = (os.environ.get('ATOM_SHELL_S3_BUCKET', ''),
              os.environ.get('ATOM_SHELL_S3_ACCESS_KEY', ''),
              os.environ.get('ATOM_SHELL_S3_SECRET_KEY', ''))
    message = ('Error: Please set the $ATOM_SHELL_S3_BUCKET, '
               '$ATOM_SHELL_S3_ACCESS_KEY, and '
               '$ATOM_SHELL_S3_SECRET_KEY environment variables')
    assert all(len(c) for c in config), message
    return config
  
  
  def enable_verbose_mode():
    print 'Running in verbose mode'
    global verbose_mode
    verbose_mode = True
  
  
  def is_verbose_mode():
    return verbose_mode
  
new_contents: #!/usr/bin/env python
  
  import errno
  import os
  import platform
  import sys
  
  
  BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \
      'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent'
  LIBCHROMIUMCONTENT_COMMIT = 'ff714bf7ad79b0d278bcd20c3081a69b40be8bb8'
  
  PLATFORM = {
    'cygwin': 'win32',
    'darwin': 'darwin',
    'linux2': 'linux',
    'win32': 'win32',
  }[sys.platform]
  
  verbose_mode = False
  
  
  def get_platform_key():
    if os.environ.has_key('MAS_BUILD'):
      return 'mas'
    else:
      return PLATFORM
  
  
  def get_target_arch():
    try:
      target_arch_path = os.path.join(__file__, '..', '..', '..', 'vendor',
                                      'brightray', 'vendor', 'download',
                                      'libchromiumcontent', '.target_arch')
      with open(os.path.normpath(target_arch_path)) as f:
        return f.read().strip()
    except IOError as e:
      if e.errno != errno.ENOENT:
        raise
  
    if PLATFORM == 'win32':
      return 'ia32'
    else:
      return 'x64'
  
  
  def get_chromedriver_version():
    return 'v2.15'
  
  
  def s3_config():
    config = (os.environ.get('ATOM_SHELL_S3_BUCKET', ''),
              os.environ.get('ATOM_SHELL_S3_ACCESS_KEY', ''),
              os.environ.get('ATOM_SHELL_S3_SECRET_KEY', ''))
    message = ('Error: Please set the $ATOM_SHELL_S3_BUCKET, '
               '$ATOM_SHELL_S3_ACCESS_KEY, and '
               '$ATOM_SHELL_S3_SECRET_KEY environment variables')
    assert all(len(c) for c in config), message
    return config
  
  
  def enable_verbose_mode():
    print 'Running in verbose mode'
    global verbose_mode
    verbose_mode = True
  
  
  def is_verbose_mode():
    return verbose_mode
  
subject: Update libchromiumcontent, use harfbuzz 1.06