Skip to content

Commit b4e25fb

Browse files
chore(androidNinja): gensrcsActions impl
Signed-off-by: Brandon Jones <[email protected]> Change-Id: Icef769b750da042935fdeec82842c36b27579d60
1 parent 266954b commit b4e25fb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

core/androidninja_backend.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,11 @@ func (g *androidNinjaGenerator) genruleActions(m *ModuleGenrule, ctx blueprint.M
343343
}
344344

345345
// gensrcsActions implements generatorBackend.
346-
func (*androidNinjaGenerator) gensrcsActions(m *ModuleGensrcs, ctx blueprint.ModuleContext) {
347-
GetLogger().Warn(warnings.AndroidOutOfTreeUnsupportedModule, ctx.BlueprintsFile(), ctx.ModuleName())
346+
func (g *androidNinjaGenerator) gensrcsActions(gr *ModuleGensrcs, ctx blueprint.ModuleContext) {
347+
inouts := gr.generateInouts(ctx)
348+
g.generateStrictCommonActions(&gr.ModuleStrictGenerateCommon, ctx, inouts)
349+
350+
addPhony(gr, ctx, file.GetOutputs(gr), !isBuiltByDefault(gr))
348351
}
349352

350353
// kernelModuleActions implements generatorBackend.

0 commit comments

Comments
 (0)