Skip to content

Commit 4800f90

Browse files
chore(androidNinja): transformSourceActions impl
Signed-off-by: Brandon Jones <[email protected]> Change-Id: Ia63865071c1bc8c88f389fd4632a0c4c9dc14917
1 parent b4e25fb commit 4800f90

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

core/androidninja_backend.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,12 @@ func (*androidNinjaGenerator) strictLibraryActions(m *ModuleStrictLibrary, ctx b
381381
}
382382

383383
// transformSourceActions implements generatorBackend.
384-
func (*androidNinjaGenerator) transformSourceActions(m *ModuleTransformSource, ctx blueprint.ModuleContext) {
385-
GetLogger().Warn(warnings.AndroidOutOfTreeUnsupportedModule, ctx.BlueprintsFile(), ctx.ModuleName())
384+
func (g *androidNinjaGenerator) transformSourceActions(m *ModuleTransformSource, ctx blueprint.ModuleContext) {
385+
inouts := m.generateInouts(ctx, g)
386+
g.generateCommonActions(&m.ModuleGenerateCommon, ctx, inouts)
387+
388+
installDeps := append(g.install(m, ctx), file.GetOutputs(m)...)
389+
addPhony(m, ctx, installDeps, !isBuiltByDefault(m))
386390
}
387391

388392
// Compile time check for interface `androidNinjaGenerator` being compliant with generatorBackend

0 commit comments

Comments
 (0)