aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-08-30 13:27:57 -0700
committerColin Cross <ccross@android.com>2017-08-31 13:48:52 -0700
commit7f9036c89bca2f4b246edd9fdde005afc8051e24 (patch)
treecde418db3b7140698c261b5281e9730e2904ef96
parent76b5f0ca31ed182ed9cee26d49aafbb862093b64 (diff)
downloadandroid_build_soong-7f9036c89bca2f4b246edd9fdde005afc8051e24.tar.gz
android_build_soong-7f9036c89bca2f4b246edd9fdde005afc8051e24.tar.bz2
android_build_soong-7f9036c89bca2f4b246edd9fdde005afc8051e24.zip
Allow java modules to use filegroups
Using filegroups requires calling ExtractSourcesDeps from the deps mutator. Test: m -j checkbuild Change-Id: I7b6c6ce0075e4a703d28085a3965f11d9bb46315
-rw-r--r--java/java.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index ac484c54..a8093e7b 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,