Merge "Add apex name to description" am: 2fe818f8b0

Change-Id: I7f5c3b6935399711f928ddbe96d1d485ee8136de
This commit is contained in:
Treehugger Robot 2020-02-15 00:44:42 +00:00
commit 0c7a78cf82
1 changed files with 3 additions and 0 deletions

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)