From 7f9036c89bca2f4b246edd9fdde005afc8051e24 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 30 Aug 2017 13:27:57 -0700 Subject: [PATCH] Allow java modules to use filegroups Using filegroups requires calling ExtractSourcesDeps from the deps mutator. Test: m -j checkbuild Change-Id: I7b6c6ce0075e4a703d28085a3965f11d9bb46315 --- java/java.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/java.go b/java/java.go index ac484c54b..a8093e7b2 100644 --- a/java/java.go +++ b/java/java.go @@ -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,