Files
build_soong/ui/metrics/bp2build_progress_metrics_proto/bp2build.proto
Ayush Budhwani 62efa1d650 Add unconverted_reasons_from_heuristics fields to the Module message
A heuristics is implemented in the build/bazel/scripts/bp2build_progress/bp2build_progress.py script to determine the reason for why a module is not converted.

Test: b build //build/bazel/scripts/bp2build_progress:bp2build_progress

Change-Id: I9d4eaf309dbf26bbb6de18e1af0d9cdc8fe09e94
2023-07-13 13:31:09 +00:00

55 lines
1.5 KiB
Protocol Buffer

/*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto3";
package bp2build_proto;
// Conversion progress report for root_modules .
message Bp2buildConversionProgress {
// Soong module identifying information.
message Module {
// Name of the Soong module.
string name = 1;
// Directory that the Soong module is in.
string directory = 2;
// Module type of this module.
string type = 3;
// All unconverted transitive dependencies.
repeated string unconverted_deps = 4;
// Total number of transitive dependencies.
int32 num_deps = 5;
// Unconverted reasons from heuristics
repeated string unconverted_reasons_from_heuristics = 6;
}
// Modules that the transitive dependencies were identified for.
repeated string root_modules = 1;
// Names of all dependencies of the root_modules.
int32 num_deps = 2;
// Module with all its unconverted transitive dependencies.
repeated Module unconverted = 3;
}