Merge "Delete empty entries for covertedModules in bp2build_metrics"
This commit is contained in:
commit
47b0c8c620
1 changed files with 4 additions and 0 deletions
|
@ -188,6 +188,10 @@ const (
|
|||
)
|
||||
|
||||
func (metrics *CodegenMetrics) AddConvertedModule(m blueprint.Module, moduleType string, dir string, conversionType ConversionType) {
|
||||
//a package module has empty name
|
||||
if moduleType == "package" {
|
||||
return
|
||||
}
|
||||
// Undo prebuilt_ module name prefix modifications
|
||||
moduleName := android.RemoveOptionalPrebuiltPrefix(m.Name())
|
||||
metrics.serialized.ConvertedModules = append(metrics.serialized.ConvertedModules, moduleName)
|
||||
|
|
Loading…
Reference in a new issue