summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-04-11 15:06:20 -0700
committerColin Cross <ccross@android.com>2016-04-12 15:24:02 -0700
commitc99deeb961887d402477880b338bc2792c45bed3 (patch)
tree2ec5a3e3d76fa1865ec46f11cec803fc1d4bec4f /java/java.go
parent8141347295ed901c4647014c9a21e2b4ae138b38 (diff)
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
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go
index db1ae057a..e594d3275 100644
--- a/java/java.go
+++ b/java/java.go
@@ -193,7 +193,7 @@ var defaultJavaLibraries = []string{"core-libart", "core-junit", "ext", "framewo
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)...)
}
}