Home
last modified time | relevance | path

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

/build/soong/cc/
Dgenrule.go99 var variants []string
107 variants = append(variants, VendorVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
109 variants = append(variants, VendorVariationPrefix+vndkVersion)
114 return variants
118 variants = append(variants, ProductVariationPrefix+ctx.DeviceConfig().PlatformVndkVersion())
120 variants = append(variants, ProductVariationPrefix+vndkVersion)
124 return variants
Dlibrary_test.go206 variants := ctx.ModuleVariantsForTests("libfoo")
209 if !inList(expectedVariant, variants) {
Dlibrary.go2059 variants := append(android.CopyOf(versions), "")
2065 modules := mctx.CreateLocalVariations(variants...)
2068 if variants[i] != "" || isLLNDK || isVendorPublicLibrary {
2078 if variants[i] != "" {
2082 lib.setStubsVersion(variants[i])
/build/soong/android/
Dcsuite_config_test.go31 variants := result.ModuleVariantsForTests("plain")
32 if len(variants) > 1 {
33 t.Errorf("expected 1, got %d", len(variants))
36 "plain", variants[0]).Module().(*CSuiteConfig).OutputFilePath.Base()
Doverride_module.go280 variants := make([]string, len(overrides)+1)
282 variants[0] = ""
284 variants[i+1] = o.(Module).Name()
286 mods := ctx.CreateLocalVariations(variants...)
289 ctx.AliasVariation(variants[0])
Darch_test.go349 variants := ctx.ModuleVariantsForTests(name)
350 for _, variant := range variants {
432 variants := ctx.ModuleVariantsForTests(name)
433 for _, variant := range variants {
Darch.go578 var variants []Module
582 variants = append(variants, m)
586 return variants
845 var variants []string
849 variants = append(variants, proptools.FieldNameForProperty(archVariant))
853 variants = append(variants, proptools.FieldNameForProperty(feature))
858 fields := variantFields(variants)
/build/soong/java/
Ddexpreopt_config.go119 c.variants = append(c.variants, variant)
128 frameworkCfg.variants[i].primaryImages = artCfg.variants[i].imagePathOnHost
129 frameworkCfg.variants[i].primaryImagesDeps = artCfg.variants[i].imagesDeps.Paths()
130 …frameworkCfg.variants[i].dexLocationsDeps = append(artCfg.variants[i].dexLocations, frameworkCfg.v…
Dsystemserver_classpath_fragment_test.go37 variants := result.ModuleVariantsForTests("platform-systemserverclasspath")
38 android.AssertIntEquals(t, "expect 1 variant", 1, len(variants))
Dplatform_bootclasspath_test.go163 variants := result.ModuleVariantsForTests("platform-bootclasspath")
164 android.AssertIntEquals(t, "expect 1 variant", 1, len(variants))
Dapp_import.go418 func createVariantGroupType(variants []string, variantGroupName string) reflect.Type {
421 variantFields := make([]reflect.StructField, len(variants))
422 for i, variant := range variants {
/build/make/tools/product_config/
Dtest.sh18 variants=$VARIANTS
35 : ${variants:="user userdebug eng"}
53 for variant in $variants ; do
/build/soong/rust/
Dlibrary.go593 var variants []string
598 variants = append(variants, "source")
602 variants = append(variants, rlibVariation)
605 variants = append(variants, dylibVariation)
608 if len(variants) == 0 {
611 modules := mctx.CreateLocalVariations(variants...)
616 switch variants[i] {
655 variants := []string{"rlib-std", "dylib-std"}
656 modules := mctx.CreateLocalVariations(variants...)
/build/soong/cc/config/
Dtoolchain.go195 func variantOrDefault(variants map[string]string, choice string) string {
196 if ret, ok := variants[choice]; ok {
199 return variants[""]
/build/blueprint/
Dmodule_ctx_test.go63 func addVariantDepsMutator(variants []Variation, tag DependencyTag, from, to string) func(ctx Botto…
66 ctx.AddVariationDependencies(variants, tag, to)
71 func addVariantDepsResultMutator(variants []Variation, tag DependencyTag, from, to string, results …
74 ret := ctx.AddVariationDependencies(variants, tag, to)
Dcontext.go1436 var variants []string
1439 variants = append(variants, c.prettyPrintVariant(mod.variant.variations))
1441 variants = append(variants, c.prettyPrintVariant(alias.variant.variations)+
1445 return strings.Join(variants, "\n ")
/build/soong/sdk/
Dupdate.go210 member.variants = appendUniqueVariants(member.variants, variant)
222 func appendUniqueVariants(variants []android.SdkAware, newVariant android.SdkAware) []android.SdkAw…
223 for _, v := range variants {
225 return variants
228 return append(variants, newVariant)
1177 variants []android.SdkAware member
1185 return m.variants
1575 variants := member.Variants()
1576 for _, variant := 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.
/build/soong/ui/metrics/metrics_proto/
Dmetrics.proto216 // The total number of variants handled by soong_build.
217 optional uint32 variants = 2; field
/build/soong/apex/
Dapex.go1179 var variants []string
1190 variants = append(variants, imageApexType, flattenedApexType)
1192 variants = append(variants, zipApexType)
1194 variants = append(variants, imageApexType, zipApexType, flattenedApexType)
1200 modules := mctx.CreateLocalVariations(variants...)
1202 for i, v := range variants {
/build/soong/docs/
Dmap_files.md110 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.md276 * `PRODUCT_HOST_PACKAGES` does not have `_ENG`/`_DEBUG` variants, as that's a
287 32-bit variants).
/build/make/core/
Dmain.mk1090 $(info Available variants:)\