Lines Matching refs:variant
589 for _, variant := range android.FirstUniqueStrings(vendorVariants) {
590 m.AppendExtraVariant(VendorVariationPrefix + variant)
593 for _, variant := range android.FirstUniqueStrings(productVariants) {
594 m.AppendExtraVariant(ProductVariationPrefix + variant)
680 func (c *Module) SetImageVariation(ctx android.BaseModuleContext, variant string, module android.Mo…
682 if variant == android.RamdiskVariation {
684 } else if variant == android.VendorRamdiskVariation {
687 } else if variant == android.RecoveryVariation {
690 } else if strings.HasPrefix(variant, VendorVariationPrefix) {
692 m.Properties.VndkVersion = strings.TrimPrefix(variant, VendorVariationPrefix)
702 } else if strings.HasPrefix(variant, ProductVariationPrefix) {
704 m.Properties.VndkVersion = strings.TrimPrefix(variant, ProductVariationPrefix)
709 (variant == android.CoreVariation || strings.HasPrefix(variant, ProductVariationPrefix)) {