diff options
author | 2021-03-22 15:00:28 +0000 | |
---|---|---|
committer | 2021-03-24 00:01:15 +0000 | |
commit | c029c43c997540632c115f7855ddde5f95c0c49b (patch) | |
tree | 653e03cfd1a1af3094c3717e14caa7a6591bdd7c /java/plugin.go | |
parent | dca349a7823e6efdfd15965342235077f0d77c60 (diff) |
Register java_plugin in PrepareForTestWithJavaBuildComponents
Bug: 182885307
Test: m nothing
Change-Id: I550d39ba46c548b6b099d8dc6a9c458ca931b2fa
Diffstat (limited to 'java/plugin.go')
-rw-r--r-- | java/plugin.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/java/plugin.go b/java/plugin.go index 947c28626..297ac2cb8 100644 --- a/java/plugin.go +++ b/java/plugin.go @@ -17,7 +17,11 @@ package java import "android/soong/android" func init() { - android.RegisterModuleType("java_plugin", PluginFactory) + registerJavaPluginBuildComponents(android.InitRegistrationContext) +} + +func registerJavaPluginBuildComponents(ctx android.RegistrationContext) { + ctx.RegisterModuleType("java_plugin", PluginFactory) } // A java_plugin module describes a host java library that will be used by javac as an annotation processor. |