Remove unused boot_image module type, prebuilt and sdk member type
Bug: 177892522 Test: m nothing Change-Id: I5763b55992e4113506ae5ccdaf9865ee27d8b041
This commit is contained in:
@@ -29,14 +29,6 @@ import (
|
|||||||
func init() {
|
func init() {
|
||||||
registerBootclasspathFragmentBuildComponents(android.InitRegistrationContext)
|
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{
|
android.RegisterSdkMemberType(&bootclasspathFragmentMemberType{
|
||||||
SdkMemberTypeBase: android.SdkMemberTypeBase{
|
SdkMemberTypeBase: android.SdkMemberTypeBase{
|
||||||
PropertyName: "bootclasspath_fragments",
|
PropertyName: "bootclasspath_fragments",
|
||||||
@@ -46,10 +38,6 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func registerBootclasspathFragmentBuildComponents(ctx android.RegistrationContext) {
|
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("bootclasspath_fragment", bootclasspathFragmentFactory)
|
||||||
ctx.RegisterModuleType("prebuilt_bootclasspath_fragment", prebuiltBootclasspathFragmentFactory)
|
ctx.RegisterModuleType("prebuilt_bootclasspath_fragment", prebuiltBootclasspathFragmentFactory)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user