1// 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;
30
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;
40}
41
42message AllTeams {
43  repeated Team teams = 1;
44}
45