Merge "Print number of converted modules" am: 212df74a32
am: 3d8018643c
am: 604dc6b6e5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1913917 Change-Id: I90b18945d7b7a68889ebbf57ba97ff6824584e1a
This commit is contained in:
committed by
Automerger Merge Worker
commit
f0ff963797
@@ -1,9 +1,10 @@
|
|||||||
package bp2build
|
package bp2build
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"android/soong/android"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"android/soong/android"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Simple metrics struct to collect information about a Blueprint to BUILD
|
// Simple metrics struct to collect information about a Blueprint to BUILD
|
||||||
@@ -35,7 +36,8 @@ func (metrics *CodegenMetrics) Print() {
|
|||||||
generatedTargetCount += count
|
generatedTargetCount += count
|
||||||
}
|
}
|
||||||
fmt.Printf(
|
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,
|
generatedTargetCount,
|
||||||
metrics.handCraftedModuleCount,
|
metrics.handCraftedModuleCount,
|
||||||
metrics.TotalModuleCount(),
|
metrics.TotalModuleCount(),
|
||||||
|
Reference in New Issue
Block a user