Home
last modified time | relevance | path

Searched refs:variants (Results 1 – 25 of 25) sorted by relevance

/build/soong/cc/
Dgenrule.go80 var variants []string
88 variants = append(variants, VendorVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
90 variants = append(variants, VendorVariationPrefix+vndkVersion)
95 return variants
99 variants = append(variants, ProductVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
101 variants = append(variants, ProductVariationPrefix+vndkVersion)
105 return variants
Dlibrary_test.go206 variants := ctx.ModuleVariantsForTests("libfoo")
209 if !inList(expectedVariant, variants) {
Dcc_test.go2952 variants := ctx.ModuleVariantsForTests("librecovery")
2954 if len(variants) != 1 || !android.InList(arm64, variants) {
2955 t.Errorf("variants of librecovery must be \"%s\" only, but was %#v", arm64, variants)
2958 variants = ctx.ModuleVariantsForTests("librecovery32")
2959 if android.InList(arm64, variants) {
3032 variants := ctx.ModuleVariantsForTests("libFoo")
3044 if len(variants) != len(expectedVariants) {
3048 if !inList(v, variants) {
3059 for _, v := range variants {
/build/soong/android/
Dcsuite_config_test.go40 variants := ctx.ModuleVariantsForTests("plain")
41 if len(variants) > 1 {
42 t.Errorf("expected 1, got %d", len(variants))
45 "plain", variants[0]).Module().(*CSuiteConfig).OutputFilePath.Base()
Dvts_config_test.go40 variants := ctx.ModuleVariantsForTests("plain")
41 if len(variants) > 1 {
42 t.Errorf("expected 1, got %d", len(variants))
45 "plain", variants[0]).Module().(*VtsConfig).OutputFilePath.Base()
Doverride_module.go273 variants := make([]string, len(overrides)+1)
275 variants[0] = ""
277 variants[i+1] = o.(Module).Name()
279 mods := ctx.CreateLocalVariations(variants...)
282 ctx.AliasVariation(variants[0])
Darch_test.go342 variants := ctx.ModuleVariantsForTests(name)
343 for _, variant := range variants {
431 variants := ctx.ModuleVariantsForTests(name)
432 for _, variant := range variants {
Darch.go786 var variants []Module
790 variants = append(variants, m)
795 return variants
992 variants := []string{}
996 variants = append(variants, proptools.FieldNameForProperty(archVariant))
1000 variants = append(variants, proptools.FieldNameForProperty(feature))
1003 fields := variantFields(variants)
Dtesting.go136 var variants []string
139 variants = append(variants, ctx.ModuleSubDir(m))
142 return variants
/build/soong/java/
Ddexpreopt_config.go186 c.variants = append(c.variants, variant)
195 frameworkCfg.variants[i].primaryImages = artCfg.variants[i].images
196 …frameworkCfg.variants[i].dexLocationsDeps = append(artCfg.variants[i].dexLocations, frameworkCfg.v…
Ddexpreopt_bootjars.go66 variants []*bootImageVariant member
94 for _, variant := range image.variants {
104 for _, variant := range image.variants {
199 for _, variant := range artBootImageConfig(ctx).variants {
336 for _, variant := range image.variants {
661 for _, image := range image.variants {
731 for _, variant := range current.variants {
Dapp.go1605 func createVariantGroupType(variants []string, variantGroupName string) reflect.Type {
1608 variantFields := make([]reflect.StructField, len(variants))
1609 for i, variant := range variants {
/build/soong/cc/config/
Dtoolchain.go165 func variantOrDefault(variants map[string]string, choice string) string {
166 if ret, ok := variants[choice]; ok {
169 return variants[""]
/build/soong/sdk/
Dupdate.go169 member.variants = appendUniqueVariants(member.variants, variant)
181 func appendUniqueVariants(variants []android.SdkAware, newVariant android.SdkAware) []android.SdkAw…
182 for _, v := range variants {
184 return variants
187 return append(variants, newVariant)
818 variants []android.SdkAware member
826 return m.variants
1193 variants := member.Variants()
1194 for _, variant := range variants {
/build/blueprint/
Dmodule_ctx_test.go52 func addVariantDepsMutator(variants []Variation, tag DependencyTag, from, to string) func(ctx Botto…
55 ctx.AddVariationDependencies(variants, tag, to)
Dcontext.go1340 var variants []string
1342 variants = append(variants, c.prettyPrintVariant(mod.variant))
1345 variants = append(variants, c.prettyPrintVariant(mod.variant)+
1348 sort.Strings(variants)
1349 return strings.Join(variants, "\n ")
/build/soong/ui/metrics/metrics_proto/
Dmetrics.proto151 // The total number of variants handled by soong_build.
152 optional uint32 variants = 2; field
/build/soong/apex/
Dapex.go835 var variants []string
838 variants = append(variants, imageApexType, flattenedApexType)
840 variants = append(variants, zipApexType)
842 variants = append(variants, imageApexType, zipApexType, flattenedApexType)
848 modules := mctx.CreateLocalVariations(variants...)
850 for i, v := range variants {
/build/soong/cmd/extract_apks/bundle_proto/
Dcommands.proto20 // List of the created variants.
34 // space. APKs from multiple variants are never combined on one device.
Dtargeting.proto12 // Targeting on the level of variants.
/build/soong/docs/
Dmap_files.md103 Architecture-specific variants of this tag exist:
Dperf.md94 All the longest commands in this case are all variants of a call to `find`, but
/build/make/
DChanges.md222 * `PRODUCT_HOST_PACKAGES` does not have `_ENG`/`_DEBUG` variants, as that's a
233 32-bit variants).
/build/soong/
DREADME.md377 be built in multiple variants, for example by adding `host_supported: true`.
/build/make/core/
Dmain.mk1033 $(info Available variants:)\