diff options
author | Colin Cross <ccross@android.com> | 2017-08-30 13:27:57 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-08-31 13:48:52 -0700 |
commit | 7f9036c89bca2f4b246edd9fdde005afc8051e24 (patch) | |
tree | cde418db3b7140698c261b5281e9730e2904ef96 /java/java.go | |
parent | 76b5f0ca31ed182ed9cee26d49aafbb862093b64 (diff) |
Allow java modules to use filegroups
Using filegroups requires calling ExtractSourcesDeps from the deps
mutator.
Test: m -j checkbuild
Change-Id: I7b6c6ce0075e4a703d28085a3965f11d9bb46315
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 2 |
1 files changed, 2 insertions, 0 deletions
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, |