diff --git a/java/genrule.go b/java/genrule.go index e0a9c8faf..16743b357 100644 --- a/java/genrule.go +++ b/java/genrule.go @@ -64,6 +64,7 @@ func genRuleFactory() android.Module { module := genrule.NewGenRule() android.InitAndroidArchModule(module, android.HostAndDeviceSupported, android.MultilibCommon) + android.InitDefaultableModule(module) return module } @@ -76,6 +77,7 @@ func genRuleFactoryHost() android.Module { module := genrule.NewGenRule() android.InitAndroidArchModule(module, android.HostSupported, android.MultilibCommon) + android.InitDefaultableModule(module) return module }