Aditya Choudhary | 9b59352 | 2023-10-06 19:54:58 +0000 | [diff] [blame] | 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 | |
| 12 | syntax = "proto2"; |
| 13 | package test_spec_proto; |
| 14 | option go_package = "android/soong/testing/test_spec_proto"; |
| 15 | |
| 16 | message TestSpec { |
| 17 | |
| 18 | message OwnershipMetadata { |
| 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 | |
| 31 | // List of all test targets and their metadata. |
| 32 | repeated OwnershipMetadata ownership_metadata_list = 1; |
| 33 | } |