LaMont Jones | 6890a00 | 2024-11-12 06:29:27 -0800 | [diff] [blame^] | 1 | // Copyright 2018 Google Inc. All Rights Reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | syntax = "proto2"; |
| 16 | |
| 17 | package soong_build_metrics; |
| 18 | option go_package = "android/soong/ui/metrics/metrics_proto"; |
| 19 | |
| 20 | import "cmd/find_input_delta/find_input_delta_proto/file_list.proto"; |
| 21 | |
| 22 | // These field numbers are also found in the inner message declarations. |
| 23 | // We verify that the values are the same, and that every enum value is checked |
| 24 | // in combined_metrics_test.go. |
| 25 | // Do not change this enum without also updating: |
| 26 | // - the submessage's .proto file |
| 27 | // - combined_metrics_test.go |
| 28 | enum FieldNumbers { |
| 29 | FIELD_NUMBERS_UNSPECIFIED = 0; |
| 30 | FIELD_NUMBERS_FILE_LIST = 1; |
| 31 | } |
| 32 | |
| 33 | message SoongCombinedMetrics { |
| 34 | // cmd/find_input_delta/find_input_delta_proto.FileList |
| 35 | optional android.find_input_delta_proto.FileList file_list = 1; |
| 36 | } |