• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2020 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto3";
6
7package chromiumos.config.payload;
8
9import "chromiumos/config/api/component.proto";
10import "chromiumos/config/api/design.proto";
11import "chromiumos/config/api/device_brand.proto";
12import "chromiumos/config/api/partner.proto";
13import "chromiumos/config/api/program.proto";
14import "chromiumos/config/api/software/brand_config.proto";
15import "chromiumos/config/api/software/software_config.proto";
16
17option go_package = "go.chromium.org/chromiumos/config/go/payload";
18
19// Defines a config payload that can be generated from a given config git
20// repo. Based on the distributed nature of the config, these bundles are then
21// eventually stitched together to drive build config payloads or any
22// infra/analysis related access/processing.
23message ConfigBundle {
24  // Chrome OS program and hw design project config
25  repeated api.Partner partner_list = 11;
26  repeated api.Component components = 12;
27  repeated api.Program program_list = 13;
28  repeated api.Design design_list = 14;
29  repeated api.DeviceBrand device_brand_list = 15;
30
31  // Chrome OS build and software config
32  repeated api.software.SoftwareConfig software_configs = 9;
33  repeated api.software.BrandConfig brand_configs = 10;
34
35  reserved 2, 6, 7, 8, 16, 17;
36}
37
38// List to hold multiple ConfigBundles
39message ConfigBundleList {
40  repeated ConfigBundle values = 1;
41}
42