1/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto3";
18
19package bp2build_proto;
20
21
22// Conversion progress report for root_modules .
23message Bp2buildConversionProgress {
24
25  // Soong module identifying information.
26  message Module {
27    // Name of the Soong module.
28    string name = 1;
29
30    // Directory that the Soong module is in.
31    string directory = 2;
32
33    // Module type of this module.
34    string type = 3;
35
36    // All unconverted transitive dependencies.
37    repeated string unconverted_deps = 4;
38
39    // Total number of transitive dependencies.
40    int32 num_deps = 5;
41
42    // Unconverted reasons from heuristics
43    repeated string unconverted_reasons_from_heuristics = 6;
44  }
45
46  // Modules that the transitive dependencies were identified for.
47  repeated string root_modules = 1;
48
49  // Names of all dependencies of the root_modules.
50  int32 num_deps = 2;
51
52  // Module with all its unconverted transitive dependencies.
53  repeated Module unconverted = 3;
54}
55