Merge "Add apex name to description"

This commit is contained in:
Treehugger Robot
2020-02-15 00:29:31 +00:00
committed by Gerrit Code Review

View File

@@ -1112,6 +1112,9 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext)
if !ctx.PrimaryArch() {
suffix = append(suffix, ctx.Arch().ArchType.String())
}
if apex, ok := m.module.(ApexModule); ok && !apex.IsForPlatform() {
suffix = append(suffix, apex.ApexName())
}
ctx.Variable(pctx, "moduleDesc", desc)