summaryrefslogtreecommitdiff
path: root/bp2build/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to 'bp2build/metrics.go')
-rw-r--r--bp2build/metrics.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/bp2build/metrics.go b/bp2build/metrics.go
index 1cc4143c5..b3d5afb74 100644
--- a/bp2build/metrics.go
+++ b/bp2build/metrics.go
@@ -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(),