Merge "Allow defaults in java_genrule modules" am: 371dc53d18
am: f11c08ab55
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1850961 Change-Id: I11bf3198f2944ef61a55c24b4867975f8565ffd0
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