普通文本  |  218行  |  5.54 KB

# -*- python -*-
# ex: set syntax=python:

# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This is a buildbot configuration file containing a tagged list of files
# processed by the stage/archive scripts. The known tags are:
#
# filename: Name of the file in the build output directory.
# arch:     List of CPU architectures for which this file should be processed
#           (values are based on the strings returned by python's
#           platform.architecture() function).  Leave unspecified for
#           architecture neutral files.
# buildtype: List of build types for which this file should be processed.
# archive: The name of the archive file to store filename in. If not specified,
#          filename is added to the default archive (e.g. platform.zip). If
#          archive == filename, filename is archived directly, not zipped.
# direct_archive: Force a file to be archived as-is, bypassing zip creation.
#                 NOTE: This flag will not apply if more than one file has the
#                 same 'archive' name, which will create a zip of all the
#                 files instead.
# filegroup: List of named groups to which this file belongs (e.g. 'symbols'
#            for symbol processing, 'tests' for running tests, etc.).
# optional: List of buildtypes for which the file might not exist, and it's not
#           considered an error.

FILES = [
  {
    'filename': 'chrome',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'chrome-wrapper',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'chrome_100_percent.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'chrome_sandbox',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'chrome.1',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'emit_login_prompt_ready',
    'buildtype': ['dev'],
  },
  {
    'filename': 'icudtl.dat',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'installer',
    'buildtype': ['official'],
  },
  {
    'filename': 'libffmpegsumo.so',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'lib/libpeerconnection.so',
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'locales',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'product_logo_48.png',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'resources',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'resources.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'session',
    'buildtype': ['dev'],
  },
  {
    'filename': 'xdg-mime',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'xdg-settings',
    'buildtype': ['dev', 'official'],
  },
  # CDM files (each has an adapter and the actual CDM):
  {
    'filename': 'libclearkeycdmadapter.so',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'libclearkeycdm.so',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'libwidevinecdmadapter.so',
    'arch': ['32bit', '64bit'],
    'buildtype': ['official'],
  },
  {
    'filename': 'libwidevinecdm.so',
    'arch': ['32bit', '64bit'],
    'buildtype': ['official'],
    'direct_archive': 1,
  },
  # Flash Player files:
  # Pepper Flash Player files:
  {
    'filename': 'PepperFlash',
    'buildtype': ['official'],
  },
  # PDF Plugin files:
  {
    'filename': 'libpdf.so',
    'buildtype': ['dev', 'official'],
  },
  # Native Client plugin files:
  {
    'filename': 'libppGoogleNaClPluginChrome.so',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'nacl_irt_x86_32.nexe',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'nacl_irt_x86_64.nexe',
    'arch': ['64bit'],
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'nacl_irt_arm.nexe',
    'arch': ['arm'],
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'nacl_helper',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'nacl_helper_bootstrap',
    'buildtype': ['dev', 'official'],
  },
  # PNaCl translator (archive only, component updater used for shipping).
  {
    'filename': 'pnacl',
    'buildtype': ['dev', 'official'],
    'archive': 'pnacl.zip',
  },
  # Remoting files:
  {
    'filename': 'remoting-webapp.zip',
    'buildtype': ['dev', 'official'],
    'archive': 'remoting-webapp.zip',
  },
  {
    'filename': 'remoting-webapp.v2.zip',
    'buildtype': ['dev', 'official'],
    'archive': 'remoting-webapp.v2.zip',
  },
  {
    'filename': 'remoting-me2me-host-linux.zip',
    'buildtype': ['official'],
    'archive': 'remoting-me2me-host-linux.zip',
  },
  # Breakpad symbols:
  {
    'filename': 'chrome.breakpad.ia32',
    'arch': ['32bit'],
    'buildtype': ['official'],
    'archive': 'breakpad-info.zip',
  },
  {
    'filename': 'chrome.breakpad.x64',
    'arch': ['64bit'],
    'buildtype': ['official'],
    'archive': 'breakpad-info.zip',
  },
  {
    'filename': 'libpdf.so.breakpad.ia32',
    'arch': ['32bit'],
    'buildtype': ['official'],
    'archive': 'breakpad-info.zip',
  },
  {
    'filename': 'libpdf.so.breakpad.x64',
    'arch': ['64bit'],
    'buildtype': ['official'],
    'archive': 'breakpad-info.zip',
  },
  {
    'filename': 'nacl_irt_x86_32.nexe.debug',
    'arch': ['32bit'],
    'buildtype': ['official'],
    'archive': 'chrome-linux-nacl-irt-syms.zip',
  },
  {
    'filename': 'nacl_irt_x86_64.nexe.debug',
    'arch': ['64bit'],
    'buildtype': ['official'],
    'archive': 'chrome-linux-nacl-irt-syms.zip',
  },
]