diff options
Diffstat (limited to 'cc/genrule.go')
-rw-r--r-- | cc/genrule.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cc/genrule.go b/cc/genrule.go index e74dd4d72..b9765a49f 100644 --- a/cc/genrule.go +++ b/cc/genrule.go @@ -59,12 +59,7 @@ func (g *GenruleExtraProperties) CoreVariantNeeded(ctx android.BaseModuleContext } func (g *GenruleExtraProperties) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool { - if Bool(g.Recovery_available) { - primaryArch := ctx.Config().DevicePrimaryArchType() - moduleArch := ctx.Target().Arch.ArchType - return moduleArch == primaryArch - } - return false + return Bool(g.Recovery_available) } func (g *GenruleExtraProperties) ExtraImageVariations(ctx android.BaseModuleContext) []string { |