• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 code_metadata_internal_proto;
14option go_package = "android/soong/testing/code_metadata_internal_proto";
15
16message CodeMetadataInternal {
17
18  message TargetOwnership {
19    // REQUIRED: Name of the build target
20    optional string target_name = 1;
21
22    // REQUIRED: Code location of the target.
23    // To be used to support legacy/backup systems that use OWNERS file and is
24    // also required for our dashboard to support per code location basis UI
25    optional string path = 2;
26
27    // REQUIRED: Team ID of the team that owns this target.
28    optional string trendy_team_id = 3;
29
30    // OPTIONAL: The src files of the target.
31    // To be used to determine ownership of a file for ownership
32    repeated string source_files = 4;
33
34    // OPTIONAL: Specify if multiple ownerships of the source files are allowed.
35    optional bool multi_ownership = 5;
36  }
37
38  // List of all code targets and their metadata.
39  repeated TargetOwnership target_ownership_list = 1;
40}
41