summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-12-19 10:28:56 +0000
committerPaul Duffin <paulduffin@google.com>2019-12-19 19:19:40 +0000
commitb0f850784acef479cfc1b351ffb6196f12ebda85 (patch)
tree6f3e74e76a6da0984e3bcd6028f3bc25341f7ad2 /java/java_test.go
parent884363e782dbd15b980640a1071c8c271315f474 (diff)
Dedup java genrule module type registration
Test: m checkbuild Bug: 146540677 Change-Id: I17f24fe145b4bb453e82aabaecc9c251f2b9769b
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go
index ea212a33f..d9a43f593 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -66,8 +66,8 @@ func testContext() *android.TestContext {
RegisterJavaBuildComponents(ctx)
RegisterAppBuildComponents(ctx)
RegisterAARBuildComponents(ctx)
+ RegisterGenRuleBuildComponents(ctx)
ctx.RegisterModuleType("java_system_modules", SystemModulesFactory)
- ctx.RegisterModuleType("java_genrule", genRuleFactory)
ctx.RegisterModuleType("java_plugin", PluginFactory)
ctx.RegisterModuleType("filegroup", android.FileGroupFactory)
ctx.RegisterModuleType("genrule", genrule.GenRuleFactory)