blob: 69ebf4332470b04ae468fd68d287e30ae51804bc [file] [log] [blame]
Ronald Braunstein73b08ff2023-12-19 10:24:47 -08001// you may not use this file except in compliance with the License.
2// You may obtain a copy of the License at
3//
4// http://www.apache.org/licenses/LICENSE-2.0
5//
6// Unless required by applicable law or agreed to in writing, software
7// distributed under the License is distributed on an "AS IS" BASIS,
8// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9// See the License for the specific language governing permissions and
10// limitations under the License.
11
12syntax = "proto2";
13package team_proto;
14option go_package = "android/soong/android/team_proto";
15
16message Team {
17 // REQUIRED: Name of the build target
18 optional string target_name = 1;
19
20 // REQUIRED: Code location of the target.
21 // To be used to support legacy/backup systems that use OWNERS file and is
22 // also required for our dashboard to support per code location basis UI
23 optional string path = 2;
24
25 // REQUIRED: Team ID of the team that owns this target.
26 optional string trendy_team_id = 3;
27
28 // OPTIONAL: Files directly owned by this module.
29 repeated string file = 4;
Ronald Braunsteinc5603092024-03-27 06:46:47 -070030
31 // OPTIONAL: Is this a test-only module.
32 optional bool test_only = 5;
33
34 // OPTIONAL: Is this intended to be run as a test target.
35 // This target can be run directly as a test or passed to tradefed.
36 optional bool top_level_target = 6;
37
38 // OPTIONAL: Name of module kind, i.e. java_library
39 optional string kind = 7;
Ronald Braunstein73b08ff2023-12-19 10:24:47 -080040}
41
42message AllTeams {
43 repeated Team teams = 1;
44}