Merge "Allow defaults in java_genrule modules" am: 371dc53d18
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1850961 Change-Id: Ied4891a346b137a2666ce01cb27297f1feae2f88
This commit is contained in:
@@ -64,6 +64,7 @@ func genRuleFactory() android.Module {
|
|||||||
module := genrule.NewGenRule()
|
module := genrule.NewGenRule()
|
||||||
|
|
||||||
android.InitAndroidArchModule(module, android.HostAndDeviceSupported, android.MultilibCommon)
|
android.InitAndroidArchModule(module, android.HostAndDeviceSupported, android.MultilibCommon)
|
||||||
|
android.InitDefaultableModule(module)
|
||||||
|
|
||||||
return module
|
return module
|
||||||
}
|
}
|
||||||
@@ -76,6 +77,7 @@ func genRuleFactoryHost() android.Module {
|
|||||||
module := genrule.NewGenRule()
|
module := genrule.NewGenRule()
|
||||||
|
|
||||||
android.InitAndroidArchModule(module, android.HostSupported, android.MultilibCommon)
|
android.InitAndroidArchModule(module, android.HostSupported, android.MultilibCommon)
|
||||||
|
android.InitDefaultableModule(module)
|
||||||
|
|
||||||
return module
|
return module
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user