Allow java modules to use filegroups

Using filegroups requires calling ExtractSourcesDeps from the deps
mutator.

Test: m -j checkbuild
Change-Id: I7b6c6ce0075e4a703d28085a3965f11d9bb46315
This commit is contained in:
Colin Cross 2017-08-30 13:27:57 -07:00
parent 76b5f0ca31
commit 7f9036c89b
1 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,8 @@ func (j *Module) deps(ctx android.BottomUpMutatorContext) {
}
ctx.AddDependency(ctx.Module(), libTag, j.properties.Libs...)
ctx.AddDependency(ctx.Module(), staticLibTag, j.properties.Static_libs...)
android.ExtractSourcesDeps(ctx, j.properties.Srcs)
}
func (j *Module) aidlFlags(ctx android.ModuleContext, aidlPreprocess android.OptionalPath,