Lines Matching full:variants
133 // Keep track of which multilib variants are used by the sdk.
165 // A denylist of modules whose host variants will be removed from the generated snapshots above the…
180 // variants of each member are grouped together within an sdkMember instance.
219 // Only append new variants to the list. This is needed because a member can be both
221 member.variants = appendUniqueVariants(member.variants, variant)
258 func appendUniqueVariants(variants []android.Module, newVariant android.Module) []android.Module {
259 for _, v := range variants {
261 return variants
264 return append(variants, newVariant)
311 // Aggregate all the sdkMemberVariantDep instances from all the sdk variants.
346 // Always include host variants (e.g. host tools) in the snapshot.
347 // Host variants should not be guarded by a min_sdk_version check. In fact, host variants
407 // Group the variants for each member module together and then group the members of each member
1104 variant := member.Variants()[0]
1146 // The licenses are the same for all variants.
1156 for _, variant := range member.Variants() {
1277 // sdkMember groups all the variants of a specific member module together along with the name of the
1282 variants []android.Module member
1289 func (m *sdkMember) Variants() []android.Module { func
1290 return m.variants
1293 // Track usages of multilib variants.
1360 // selectApexVariantsWhereAvailable filters the input list of variants by selecting the APEX
1367 // failure while attempting to optimize the properties for a member as it would have two variants
1370 // This function mitigates that problem by detecting when there are two variants that differ only
1374 func selectApexVariantsWhereAvailable(ctx *memberContext, variants []android.Module) []android.Modu…
1377 // Group the variants by coordinates.
1379 for _, variant := range variants {
1396 // If there are two variants for a specific APEX variation then there is conflict.
1418 // There are duplicate variants at this coordinate and they are not the default and APEX variant
1425 …moduleCtx.ModuleErrorf("multiple conflicting variants detected for OsType{%s}, %s, Image{%s}, Link…
1430 // If there are any variants to discard then remove them from the list of variants, while
1434 for _, variant := range variants {
1439 variants = filtered
1442 return variants
1471 // structures populated with information from the variants.
1487 // Group the variants by arch type.
1502 variants := []string{}
1504 variants = append(variants, fmt.Sprintf(" %s", m.String()))
1509 strings.Join(variants, "\n")))
1556 // Choose setting for compile_multilib that is appropriate for the arch variants supplied.
1562 // Maps the properties related to the os variants through to an appropriate
1563 // module structure that will produce equivalent set of variants when it is
1572 // There is only one OS type present in the variants and it shouldn't have a
1623 // The archInfos list will be empty if the os contains variants for the common
1646 // the variants native bridge is treated as part of the arch variation. See the ArchVariation method
1649 // So, it makes sense when optimizing the variants to combine native bridge with the arch type.
1654 // True if the variants is for the native bridge, false otherwise.
1697 // structures populated with information from the variants.
1707 // if there are multiple supported link variants, we want to nest based on linkage even if there
1712 // Group the variants by image type.
1721 variants := variantsByImage[imageVariantName]
1722 …riantInfos, newImageVariantSpecificInfo(ctx, imageVariantName, variantPropertiesFactory, variants))
1795 …itecture variant %q of sdk member %q has properties distinct from other variants; this is not yet …
1836 // if there are multiple supported link variants, we want to nest even if there is only one
1892 // If not all supported linkages had existing variants, we need to disable the unsupported variant
1908 …f("Image variant %q of sdk member %q has properties distinct from other variants; this is not yet …
2008 variants := selectApexVariantsWhereAvailable(ctx, member.variants)
2010 // Group the variants by os type.
2012 for _, variant := range variants {
2052 // Optimize the properties across all the variants for a specific os type.
2068 // with implicitly enabled OS variants when the snapshot is used, which might
2144 // True if the property can support arch variants false otherwise.
2363 // The values differ but the property does not support arch variants so it