Merge "Remove unused boot_image module type, prebuilt and sdk member type" am: 95661aab07

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

Change-Id: I037abfe509e80e3ac69690bb063c86cf448f73a9
This commit is contained in:
Paul Duffin
2021-04-23 22:34:44 +00:00
committed by Automerger Merge Worker

View File

@@ -29,14 +29,6 @@ import (
func init() {
registerBootclasspathFragmentBuildComponents(android.InitRegistrationContext)
// TODO(b/177892522): Remove after has been replaced by bootclasspath_fragments
android.RegisterSdkMemberType(&bootclasspathFragmentMemberType{
SdkMemberTypeBase: android.SdkMemberTypeBase{
PropertyName: "boot_images",
SupportsSdk: true,
},
})
android.RegisterSdkMemberType(&bootclasspathFragmentMemberType{
SdkMemberTypeBase: android.SdkMemberTypeBase{
PropertyName: "bootclasspath_fragments",
@@ -46,10 +38,6 @@ func init() {
}
func registerBootclasspathFragmentBuildComponents(ctx android.RegistrationContext) {
// TODO(b/177892522): Remove after has been replaced by bootclasspath_fragment
ctx.RegisterModuleType("boot_image", bootclasspathFragmentFactory)
ctx.RegisterModuleType("prebuilt_boot_image", prebuiltBootclasspathFragmentFactory)
ctx.RegisterModuleType("bootclasspath_fragment", bootclasspathFragmentFactory)
ctx.RegisterModuleType("prebuilt_bootclasspath_fragment", prebuiltBootclasspathFragmentFactory)
}