Merge "Allow defaults in java_genrule modules" am: 371dc53d18 am: f11c08ab55 am: 5652357cbc am: 29481a8e42

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1850961

Change-Id: Iebfe55b707ed16395b3c50200081eb90a7944fa2
This commit is contained in:
Steven Moreland
2021-10-11 18:47:50 +00:00
committed by Automerger Merge Worker

View File

@@ -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
}