Revert^3 "Add debug ramdisk variant"
836a8f3d61
Change-Id: If59529238e26a197bc33b10245b88f538f280ed0
This commit is contained in:
@@ -393,7 +393,6 @@ type ModuleContext interface {
|
||||
InstallInSanitizerDir() bool
|
||||
InstallInRamdisk() bool
|
||||
InstallInVendorRamdisk() bool
|
||||
InstallInDebugRamdisk() bool
|
||||
InstallInRecovery() bool
|
||||
InstallInRoot() bool
|
||||
InstallBypassMake() bool
|
||||
@@ -451,7 +450,6 @@ type Module interface {
|
||||
InstallInSanitizerDir() bool
|
||||
InstallInRamdisk() bool
|
||||
InstallInVendorRamdisk() bool
|
||||
InstallInDebugRamdisk() bool
|
||||
InstallInRecovery() bool
|
||||
InstallInRoot() bool
|
||||
InstallBypassMake() bool
|
||||
@@ -755,9 +753,6 @@ type commonProperties struct {
|
||||
// Whether this module is installed to vendor ramdisk
|
||||
Vendor_ramdisk *bool
|
||||
|
||||
// Whether this module is installed to debug ramdisk
|
||||
Debug_ramdisk *bool
|
||||
|
||||
// Whether this module is built for non-native architectures (also known as native bridge binary)
|
||||
Native_bridge_supported *bool `android:"arch_variant"`
|
||||
|
||||
@@ -1545,10 +1540,6 @@ func (m *ModuleBase) InstallInVendorRamdisk() bool {
|
||||
return Bool(m.commonProperties.Vendor_ramdisk)
|
||||
}
|
||||
|
||||
func (m *ModuleBase) InstallInDebugRamdisk() bool {
|
||||
return Bool(m.commonProperties.Debug_ramdisk)
|
||||
}
|
||||
|
||||
func (m *ModuleBase) InstallInRecovery() bool {
|
||||
return Bool(m.commonProperties.Recovery)
|
||||
}
|
||||
@@ -1602,10 +1593,6 @@ func (m *ModuleBase) InVendorRamdisk() bool {
|
||||
return m.base().commonProperties.ImageVariation == VendorRamdiskVariation
|
||||
}
|
||||
|
||||
func (m *ModuleBase) InDebugRamdisk() bool {
|
||||
return m.base().commonProperties.ImageVariation == DebugRamdiskVariation
|
||||
}
|
||||
|
||||
func (m *ModuleBase) InRecovery() bool {
|
||||
return m.base().commonProperties.ImageVariation == RecoveryVariation
|
||||
}
|
||||
@@ -2561,10 +2548,6 @@ func (m *moduleContext) InstallInVendorRamdisk() bool {
|
||||
return m.module.InstallInVendorRamdisk()
|
||||
}
|
||||
|
||||
func (m *moduleContext) InstallInDebugRamdisk() bool {
|
||||
return m.module.InstallInDebugRamdisk()
|
||||
}
|
||||
|
||||
func (m *moduleContext) InstallInRecovery() bool {
|
||||
return m.module.InstallInRecovery()
|
||||
}
|
||||
|
Reference in New Issue
Block a user