blob: 80622515d0d3cf22b0fd1f60606a94a507f29fc6 [file] [log] [blame]
Chris Sosa76e44b92013-01-31 12:11:38 -08001# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Module contains a list of artifact name related constants and methods."""
6
7############ Artifact Names ############
8
9#### Update payload names. ####
10
11# The name of artifact to stage a full update payload.
12FULL_PAYLOAD = 'full_payload'
13
14# The name of the artifact to stage all delta payloads for a build.
15DELTA_PAYLOADS = 'delta_payloads'
16
17# The payload containing stateful data not stored on the rootfs of the image.
18STATEFUL_PAYLOAD = 'stateful'
19
20#### The following are the names of images to stages. ####
21
22# The base image i.e. the image without any test/developer enhancements.
23BASE_IMAGE = 'base_image'
24
25# The recovery image - the image used to recover a chromiumos device.
26RECOVERY_IMAGE = 'recovery_image'
27
28# The test image - the base image with both develolper and test enhancements.
29TEST_IMAGE = 'test_image'
30
31#### Autotest related packages. ####
32
33# Autotest -- the main autotest directory without the test_suites subdir.
34AUTOTEST = 'autotest'
35
36# Test Suites - just the test suites control files from the autotest directory.
37TEST_SUITES = 'test_suites'
38
39# AU Suite - The control files for the autotest autoupdate suite.
40AU_SUITE = 'au_suite'
41
Chris Sosa5d1b0792013-07-31 10:54:52 -070042# AU Suite - The control files for the autotest autoupdate suite.
43PAYGEN_AU_SUITE = 'paygen_au_suite'
44
Chris Sosa76e44b92013-01-31 12:11:38 -080045#### Miscellaneous artifacts. ####
46
47# Firmware tarball.
48FIRMWARE = 'firmware'
49
50# Tarball containing debug symbols for the given build.
51SYMBOLS = 'symbols'
52
53
54# In general, downloading one artifact usually indicates that the caller will
55# want to download other artifacts later. The following map explicitly defines
56# this relationship. Specifically:
57# If X is requested, all items in Y should also get triggered for download.
58REQUESTED_TO_OPTIONAL_MAP = {
59 TEST_SUITES: [AUTOTEST],
60}