Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 212df74a authored by Christopher Parsons's avatar Christopher Parsons Committed by Gerrit Code Review
Browse files

Merge "Print number of converted modules"

parents ab9f3a2b 91b81f0b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
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(),