summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2020-11-17 06:32:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-17 06:32:57 +0000
commite3d308b5a51b16fa951efe2a0fdbc392624c58f4 (patch)
tree620640192be224d3f081b58f427f0e9d38ddf6c0 /java/java_test.go
parent0a829f2a0aaa7938f657254c2507695db56e5689 (diff)
parentb5ae193b8f01f396168fa30bf9163c31337c502b (diff)
Merge "Revert "Annotate dependency tags for dependencies of installed files""
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/java_test.go b/java/java_test.go
index 7f5198211..4594b8111 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -29,6 +29,7 @@ import (
"android/soong/android"
"android/soong/cc"
"android/soong/dexpreopt"
+ "android/soong/genrule"
"android/soong/python"
)
@@ -79,6 +80,7 @@ func testContext(config android.Config) *android.TestContext {
RegisterSystemModulesBuildComponents(ctx)
ctx.RegisterModuleType("java_plugin", PluginFactory)
ctx.RegisterModuleType("filegroup", android.FileGroupFactory)
+ ctx.RegisterModuleType("genrule", genrule.GenRuleFactory)
ctx.RegisterModuleType("python_binary_host", python.PythonBinaryHostFactory)
RegisterDocsBuildComponents(ctx)
RegisterStubsBuildComponents(ctx)