Merge changes from topic "userdebug_plat_sepolicy.cil_Android.bp"
* changes: Add debug ramdisk variant Add path tests for ramdisk
This commit is contained in:
@@ -75,6 +75,10 @@ func (g *GenruleExtraProperties) VendorRamdiskVariantNeeded(ctx android.BaseModu
|
||||
return Bool(g.Vendor_ramdisk_available)
|
||||
}
|
||||
|
||||
func (g *GenruleExtraProperties) DebugRamdiskVariantNeeded(ctx android.BaseModuleContext) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (g *GenruleExtraProperties) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool {
|
||||
// If the build is using a snapshot, the recovery variant under AOSP directories
|
||||
// is not needed.
|
||||
|
@@ -601,6 +601,10 @@ func (c *Module) VendorRamdiskVariantNeeded(ctx android.BaseModuleContext) bool
|
||||
return c.Properties.VendorRamdiskVariantNeeded
|
||||
}
|
||||
|
||||
func (c *Module) DebugRamdiskVariantNeeded(ctx android.BaseModuleContext) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *Module) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool {
|
||||
return c.Properties.RecoveryVariantNeeded
|
||||
}
|
||||
|
@@ -308,6 +308,10 @@ func (s *snapshot) VendorRamdiskVariantNeeded(ctx android.BaseModuleContext) boo
|
||||
return false
|
||||
}
|
||||
|
||||
func (s *snapshot) DebugRamdiskVariantNeeded(ctx android.BaseModuleContext) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (s *snapshot) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user