1# -*- python -*-
2# ex: set syntax=python:
3
4# Copyright (c) 2012 The Chromium Authors. All rights reserved.
5# Use of this source code is governed by a BSD-style license that can be
6# found in the LICENSE file.
7
8# This is a buildbot configuration file containing a tagged list of files
9# processed by the stage/archive scripts. The known tags are:
10#
11# filename: Name of the file in the build output directory.
12# arch:     List of CPU architectures for which this file should be processed
13#           Leave this unspecified to prcoess for all architectures.
14#           Acceptable values are 64bit, 32bit and arm.
15# buildtype: List of build types for which this file should be processed.
16# archive: The name of the archive file to store filename in. If not specified,
17#          filename is added to the default archive (e.g. platform.zip). If
18#          archive == filename, filename is archived directly, not zipped.
19# direct_archive: Force a file to be archived as-is, bypassing zip creation.
20#                 NOTE: This flag will not apply if more than one file has the
21#                 same 'archive' name, which will create a zip of all the
22#                 files instead.
23# filegroup: List of named groups to which this file belongs (e.g. 'symbols'
24#            for symbol processing, 'tests' for running tests, etc.).
25# optional: List of buildtypes for which the file might not exist, and it's not
26#           considered an error.
27
28FILES = [
29  {
30    'filename': 'Chromium.app',
31    'buildtype': ['dev'],
32  },
33  {
34    'filename': 'Google Chrome.app',
35    'buildtype': ['official'],
36  },
37  {
38    'filename': 'Google Chrome Packaging',
39    'buildtype': ['official'],
40  },
41  {
42    'filename': 'Google Chrome Packaging',
43    'buildtype': ['official'],
44    'archive': 'packaging.zip',
45  },
46  # PNaCl translator (archive only, component updater used for shipping).
47  {
48    'filename': 'pnacl',
49    'buildtype': ['dev', 'official'],
50    'archive': 'pnacl.zip',
51    'optional': ['dev', 'official'],  # Not present in arm builds.
52  },
53  # Browser tests:
54  {
55    'filename': 'browser_tests',
56    'buildtype': ['dev', 'official'],
57    'archive': 'browser_tests',
58    'optional': ['dev', 'official'],
59  },
60  # Remoting files:
61  {
62    'filename': 'remoting-me2me-host-mac.zip',
63    'buildtype': ['dev', 'official'],
64    'archive': 'remoting-me2me-host-mac.zip',
65  },
66  # Symbols archive:
67  {
68    'filename': 'Google Chrome.dSYM.tar.bz2',
69    'buildtype': ['official'],
70    'archive': 'Google Chrome.dSYM.tar.bz2',
71  },
72  {
73    'filename': 'nacl_irt_x86_64.nexe.debug',
74    'buildtype': ['official'],
75    'archive': 'chrome-mac-nacl-irt-syms.zip',
76    'optional': ['official'],  # Not present in arm builds.
77  },
78  # Content shell files:
79  {
80    'filename': 'Content Shell.app',
81    'buildtype': ['dev'],
82    'archive': 'content-shell.zip',
83    'optional': ['dev'],
84  },
85  {
86    'filename': 'blink_deprecated_test_plugin.plugin',
87    'buildtype': ['dev'],
88    'archive': 'content-shell.zip',
89    'optional': ['dev'],
90  },
91  {
92    'filename': 'blink_test_plugin.plugin',
93    'buildtype': ['dev'],
94    'archive': 'content-shell.zip',
95    'optional': ['dev'],
96  },
97  {
98    'filename': 'content_shell.pak',
99    'buildtype': ['dev'],
100    'archive': 'content-shell.zip',
101    'optional': ['dev'],
102  },
103  {
104    'filename': 'icudtl.dat',
105    'buildtype': ['dev'],
106    'archive': 'content-shell.zip',
107    'optional': ['dev'],
108  },
109  {
110    'filename': 'v8_context_snapshot.bin',
111    'buildtype': ['dev'],
112    'archive': 'content-shell.zip',
113    'optional': ['dev'],
114  },
115  {
116    'filename': 'resources',
117    'buildtype': ['dev'],
118    'archive': 'content-shell.zip',
119    'optional': ['dev'],
120  },
121  # ChromeDriver binary:
122  {
123    'filename': 'chromedriver',
124    'buildtype': ['dev', 'official'],
125    'archive': 'chromedriver_mac64.zip',
126    'optional': ['dev', 'official'],
127  },
128  # DevTools front-end files:
129  {
130    'filename': 'resources/inspector',
131    'buildtype': ['dev', 'official'],
132    'archive': 'devtools-frontend.zip',
133  },
134  # Updater files:
135  {
136    'filename': 'GoogleUpdater.app',
137    'buildtype': ['official'],
138    'archive': 'updater.zip',
139  },
140  {
141    'filename': 'chrome/updater/.install',
142    'buildtype': ['official'],
143    'archive': 'updater.zip',
144  },
145  {
146    'filename': 'Updater Packaging',
147    'buildtype': ['official'],
148    'archive': 'updater.zip',
149    'optional': ['official'], # TODO(crbug.com/1024318): Make non-optional.
150  },
151  # Enterprise policy templates:
152  {
153    'filename': 'gen/chrome/app/policy/mac/jamf.json',
154    'buildtype': ['official'],
155    'archive': 'jamf.json',
156    'direct_archive': 1,
157    'optional': ['official'],
158  }
159]
160