普通文本  |  145行  |  3.7 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.
#           Leave this unspecified to prcoess for all architectures.
#           Acceptable values are 64bit, 32bit and arm.
# 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.
# 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': 'installer',
    'buildtype': ['official'],
  },
  {
    'filename': 'libffmpegsumo.so',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'lib/libexif.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', 'arm'],
    'buildtype': ['official'],
  },
  {
    'filename': 'libwidevinecdm.so',
    'arch': ['32bit', '64bit', 'arm'],
    'buildtype': ['official'],
    'direct_archive': 1,
  },
  # 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_helper',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'nacl_helper_bootstrap',
    'buildtype': ['dev', 'official'],
  },
]