Lines Matching refs:variant

198 		variant := memberVariantDep.variant
200 name := ctx.OtherModuleName(variant)
210 member.variants = appendUniqueVariants(member.variants, variant)
282 name := memberVariantDep.variant.Name()
472 name := android.RemoveOptionalPrebuiltPrefix(ctx.OtherModuleName(dep.variant))
544 …if memberVariantDep.memberType.IsHostOsDependent() && memberVariantDep.variant.Target().Os.Class =…
545 …targetString := memberVariantDep.variant.Target().Os.String() + "_" + memberVariantDep.variant.Tar…
651 memberName := ctx.OtherModuleName(memberVariantDep.variant)
992 variant := member.Variants()[0]
1001 visibilityRules := android.EffectiveVisibilityRules(s.ctx, variant)
1016 if apexAware, ok := variant.(interface{ ApexAvailable() []string }); ok {
1035 licenseInfo := mctx.OtherModuleProvider(variant, android.LicenseInfoProvider).(android.LicenseInfo)
1043 for _, variant := range member.Variants() {
1044 osClass := variant.Target().Os.Class
1055 if installable, ok := variant.(interface{ EverInstallable() bool }); ok {
1161 variant android.SdkAware member
1272 for _, variant := range osTypeVariants {
1273 archType := variant.Target().Arch.ArchType
1279 variantsByArchName[archTypeName] = append(variantsByArchName[archTypeName], variant)
1458 func getLinkType(variant android.Module) string {
1460 if linkable, ok := variant.(cc.LinkableInterface); ok {
1462 …panic(fmt.Errorf("expected variant %q to be either static or shared but was both", variant.String(…
1468 …panic(fmt.Errorf("expected variant %q to be either static or shared but was neither", variant.Stri…
1576 for _, variant := range variants {
1577 osType := variant.Target().Os
1578 variantsByOsType[osType] = append(variantsByOsType[osType], variant)