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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user