Merge "Print number of converted modules" am: 212df74a32 am: 3d8018643c

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1913917

Change-Id: Ic9b339fe80dd2994a1569ce1ee0beaacb14b9e5f
This commit is contained in:
Christopher Parsons
2021-12-08 23:18:27 +00:00
committed by Automerger Merge Worker

View File

@@ -1,9 +1,10 @@
package bp2build
import (
"android/soong/android"
"fmt"
"strings"
"android/soong/android"
)
// Simple metrics struct to collect information about a Blueprint to BUILD
@@ -35,7 +36,8 @@ func (metrics *CodegenMetrics) Print() {
generatedTargetCount += count
}
fmt.Printf(
"[bp2build] Generated %d total BUILD targets and included %d handcrafted BUILD targets from %d Android.bp modules.\n With %d modules with unconverted deps \n\t%s",
"[bp2build] Converted %d Android.bp modules to %d total generated BUILD targets. Included %d handcrafted BUILD targets. There are %d total Android.bp modules.\n%d converted modules have unconverted deps: \n\t%s",
metrics.generatedModuleCount,
generatedTargetCount,
metrics.handCraftedModuleCount,
metrics.TotalModuleCount(),