Use blueprint DependencyTags
Blueprint now requres DependencyTags to be passed to AddDependency
calls. Use the tags to avoid setting member variables on modules, which
will be lost after the mutators have been called.
Change-Id: I8c1d9ed1db85a300e14394b911a516d361ba9f75
diff --git a/java/java.go b/java/java.go
index db1ae05..e594d32 100644
--- a/java/java.go
+++ b/java/java.go
@@ -193,7 +193,7 @@
func javaDepsMutator(ctx common.AndroidBottomUpMutatorContext) {
if j, ok := ctx.Module().(JavaModuleType); ok {
- ctx.AddDependency(ctx.Module(), j.JavaDependencies(ctx)...)
+ ctx.AddDependency(ctx.Module(), nil, j.JavaDependencies(ctx)...)
}
}