普通文本  |  753行  |  18.32 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.
# filegroup: List of named groups to which this file belongs.
#            default: Legacy "default archive". TODO(mmoss): These should
#                     be updated to specify an 'archive' name and then this
#                     filegroup and the related archive_utils.ParseLegacyList()
#                     should go away.
#            symsrc: Files to upload to the symbol server.
# optional: List of buildtypes for which the file might not exist, and it's not
#           considered an error.

FILES = [
   {
    'filename': 'browser_tests.exe',
    'buildtype': ['official'],
    'archive':  'browser_tests.exe',
  },
  {
    'filename': 'ffmpegsumo.dll',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'chrome.exe',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'nacl64.exe',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'chrome.dll',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'chrome_child.dll',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'chrome_elf.dll',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': '*.manifest',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'chrome_100_percent.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'chrome_200_percent.pak',
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'crash_service.exe',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'crash_service64.exe',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'First Run',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'icudtl.dat',
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'icudt.dll',
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'libexif.dll',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'libpeerconnection.dll',
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'locales/ar.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/bg.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/bn.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/ca.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/cs.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/da.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/de.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/el.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/en-GB.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/en-US.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/es-419.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/es.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/et.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/fi.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/fil.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/fr.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/gu.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/he.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/hi.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/hr.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/hu.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/id.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/it.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/ja.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/kn.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/ko.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/lt.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/lv.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/ml.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/mr.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/ms.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/nb.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/nl.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/pl.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/pt-BR.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/pt-PT.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/ro.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/ru.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/sk.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/sl.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/sr.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/sv.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/ta.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/te.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/th.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/tr.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/uk.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/vi.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/zh-CN.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'locales/zh-TW.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'policy_templates.zip',
    'buildtype': ['official'],
    'archive': 'policy_templates.zip',
  },
  {
    'filename': 'resources.pak',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'wow_helper.exe',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
  },
  # PNaCl translator (archive only, component updater used for shipping).
  {
    'filename': 'pnacl',
    'buildtype': ['dev', 'official'],
    'archive': 'pnacl.zip',
  },
  # Flash Player files:
  {
    'filename': 'PepperFlash/pepflashplayer.dll',
    'buildtype': ['official'],
  },
  {
    'filename': 'PepperFlash/manifest.json',
    'buildtype': ['official'],
  },
  # Widevine CDM adapter files:
  {
    'filename': 'widevinecdmadapter.dll',
    'buildtype': ['official'],
  },
  # PDF Plugin files:
  {
    'filename': 'pdf.dll',
    'buildtype': ['dev', 'official'],
  },
  # ANGLE files:
  {
    'filename': 'D3DCompiler_43.dll',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'D3DCompiler_46.dll',
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'libEGL.dll',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'libGLESv2.dll',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  # XInput files:
  {
    'filename': 'xinput1_3.dll',
    'buildtype': ['dev', 'official'],
  },
  # Native Client plugin files:
  {
    'filename': 'ppGoogleNaClPluginChrome.dll',
    'buildtype': ['dev', 'official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'nacl_irt_x86_32.nexe',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
  },
  {
    'filename': 'nacl_irt_x86_64.nexe',
    'buildtype': ['dev', 'official'],
  },
  # Remoting files:
  {
    'filename': 'chromoting.msi',
    'buildtype': ['dev', 'official'],
    'archive': 'remoting-host.msi',
    'direct_archive': 1,
    'optional': ['dev'],
  },
  {
    'filename': 'remoting-me2me-host-win.zip',
    'buildtype': ['dev', 'official'],
    'archive': 'remoting-me2me-host-win.zip',
    'direct_archive': 1,
    'optional': ['dev'],
  },
  {
    'filename': 'remoting_core.dll',
    'buildtype': ['official'],
    'archive': 'remoting-win32.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'remoting_core.dll.pdb',
    'buildtype': ['official'],
    'archive': 'remoting-win32.zip',
    'optional': ['official'],
  },
  {
    'filename': 'remoting_desktop.exe',
    'buildtype': ['official'],
    'archive': 'remoting-win32.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'remoting_desktop.exe.pdb',
    'buildtype': ['official'],
    'archive': 'remoting-win32.zip',
    'optional': ['official'],
  },
  {
    'filename': 'remoting_host.exe',
    'buildtype': ['official'],
    'archive': 'remoting-win32.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'remoting_host.exe.pdb',
    'buildtype': ['official'],
    'archive': 'remoting-win32.zip',
  },
  {
    'filename': 'remoting-webapp.zip',
    'buildtype': ['dev', 'official'],
    'archive': 'remoting-webapp.zip',
    'optional': ['dev'],
  },
  # Cloud Print files:
  {
    'filename': 'gcp_portmon.dll',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'gcp_portmon.dll.pdb',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
  },
  {
    'filename': 'gcp_portmon64.dll',
    'arch': ['32bit'],
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'gcp_portmon64.dll.pdb',
    'arch': ['32bit'],
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
  },
  {
    'filename': 'gcp_driver.gpd',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
  },
  {
    'filename': 'virtual_driver_setup.exe',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'virtual_driver_setup.exe.pdb',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
  },
  {
    'filename': 'cloud_print_service.exe',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'cloud_print_service.exe.pdb',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
  },
  {
    'filename': 'cloud_print_service_config.exe',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'cloud_print_service_config.exe.pdb',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
  },
  {
    'filename': 'cloud_print_service_setup.exe',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'cloud_print_service_setup.exe.pdb',
    'buildtype': ['official'],
    'archive': 'cloud_print.zip',
  },
  # Syzygy modified binaries and related files. Only add to this section if you
  # know what you're doing! The build configuration has to be modified to run
  # Syzygy on the target in question before adding a staging dependency here!
  {
    'filename': 'chrome.dll-order.json',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'optional': ['dev'],
  },
  {
    'filename': 'chrome_child.dll-order.json',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'syzygy/chrome.dll',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'syzygy/chrome.dll',
    'filegroup': ['symsrc'],
    'optional': ['dev'],
  },
  {
    'filename': 'syzygy/chrome_child.dll',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'syzygy/chrome_child.dll',
    'filegroup': ['symsrc'],
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'syzygy/instrumented/chrome_child.dll',
    'arch': ['32bit'],
    'buildtype': ['official'],
    'archive': 'syzygy/instrumented/chrome_child.dll',
    'filegroup': ['symsrc'],
    'optional': ['official'],
  },
  {
    'filename': 'syzygy/mini_installer.exe',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'syzygy/mini_installer.exe',
    'filegroup': ['symsrc'],
    'optional': ['dev'],
  },
  {
    'filename': 'syzygy/chrome.packed.7z',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'syzygy/chrome.packed.7z',
    'optional': ['dev'],
  },
  {
    'filename': 'syzygy/syzyasan_rtl.dll',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
  },
  # Test binaries for external QA:
  {
    'filename': 'interactive_ui_tests.exe',
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'sync_unit_tests.exe',
    'buildtype': ['official'],
    'optional': ['official'],
  },
  # Metro files (currently official build only):
  {
    'filename': 'metro_driver.dll',
    'buildtype': ['official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'delegate_execute.exe',
    'buildtype': ['official'],
    'filegroup': ['default', 'symsrc'],
  },
  {
    'filename': 'metro_driver.dll.pdb',
    'buildtype': ['official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'delegate_execute.exe.pdb',
    'buildtype': ['official'],
    'archive': 'chrome-win32-syms.zip',
  },
  # Installer files (official build only):
  {
    'filename': 'setup.exe',
    'buildtype': ['official'],
    'archive': 'setup.exe',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'mini_installer.exe',
    'buildtype': ['dev', 'official'],
    'archive': 'mini_installer.exe',
    'filegroup': ['symsrc'],
  },
  {
    'filename': 'chrome.packed.7z',
    'buildtype': ['official'],
    'archive': 'chrome.packed.7z',
  },
  {
    'filename': 'mini_installer_exe_version.rc',
    'buildtype': ['official'],
    'archive': 'mini_installer_exe_version.rc',
  },
  {
    'filename': 'courgette.exe',
    'buildtype': ['official'],
    'archive': 'courgette.exe',
  },
  {
    'filename': 'courgette64.exe',
    'buildtype': ['official'],
    'archive': 'courgette64.exe',
  },
  {
    'filename': 'chrome.dll.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'chrome_child.dll.pdb',
    'buildtype': ['dev', 'official'],
    'optional': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'chrome.exe.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'libEGL.dll.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'libGLESv2.dll.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'libpeerconnection.dll.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'mini_installer.exe.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'nacl64.exe.pdb',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'pdf.dll.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'ppGoogleNaClPluginChrome.dll.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  {
    'filename': 'setup.exe.pdb',
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
  },
  # PDB files for Syzygy modified binaries. Only add to this section if you
  # know what you're doing! The build configuration has to be modified to run
  # Syzygy on the target in question before adding a staging dependency here!
  {
    'filename': 'syzygy/chrome.dll.pdb',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
    'optional': ['dev'],
  },
  {
    'filename': 'syzygy/chrome_child.dll.pdb',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'syzygy/mini_installer.exe.pdb',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
    'optional': ['dev'],
  },
  {
    'filename': 'syzygy/syzyasan_rtl.dll.pdb',
    'arch': ['32bit'],
    'buildtype': ['dev', 'official'],
    'archive': 'chrome-win32-syms.zip',
    'optional': ['dev', 'official'],
  },
  {
    'filename': 'nacl_irt_x86_32.nexe.debug',
    'arch': ['32bit'],
    'buildtype': ['official'],
    'archive': 'chrome-win32-nacl-irt-syms.zip',
  },
  {
    'filename': 'nacl_irt_x86_64.nexe.debug',
    'buildtype': ['official'],
    'archive': 'chrome-win32-nacl-irt-syms.zip',
  },
]