/build/soong/cc/ |
D | genrule.go | 99 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
|
D | library_test.go | 206 variants := ctx.ModuleVariantsForTests("libfoo") 209 if !inList(expectedVariant, variants) {
|
D | cc_test.go | 3173 variants := ctx.ModuleVariantsForTests("librecovery") 3175 if len(variants) != 1 || !android.InList(arm64, variants) { 3176 t.Errorf("variants of librecovery must be \"%s\" only, but was %#v", arm64, variants) 3179 variants = ctx.ModuleVariantsForTests("librecovery32") 3180 if android.InList(arm64, variants) { 3253 variants := ctx.ModuleVariantsForTests("libFoo") 3267 if len(variants) != len(expectedVariants) { 3271 if !inList(v, variants) { 3282 for _, v := range variants {
|
D | library.go | 2059 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/ |
D | csuite_config_test.go | 31 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()
|
D | override_module.go | 280 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])
|
D | arch_test.go | 349 variants := ctx.ModuleVariantsForTests(name) 350 for _, variant := range variants { 432 variants := ctx.ModuleVariantsForTests(name) 433 for _, variant := range variants {
|
D | arch.go | 578 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)
|
D | testing.go | 529 var variants []string 532 variants = append(variants, ctx.ModuleSubDir(m)) 535 return variants
|
/build/soong/java/ |
D | dexpreopt_config.go | 119 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…
|
D | dexpreopt_bootjars.go | 266 variants []*bootImageVariant member 307 for _, variant := range image.variants { 317 for _, variant := range image.variants { 363 variants := []*bootImageVariant{} 364 for _, variant := range image.variants { 368 variants = append(variants, variant) 371 return variants 532 for _, variant := range image.variants { 836 for _, image := range image.variants { 909 for _, variant := range current.variants {
|
D | systemserver_classpath_fragment_test.go | 37 variants := result.ModuleVariantsForTests("platform-systemserverclasspath") 38 android.AssertIntEquals(t, "expect 1 variant", 1, len(variants))
|
D | platform_bootclasspath_test.go | 163 variants := result.ModuleVariantsForTests("platform-bootclasspath") 164 android.AssertIntEquals(t, "expect 1 variant", 1, len(variants))
|
D | app_import.go | 418 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/ |
D | test.sh | 18 variants=$VARIANTS 35 : ${variants:="user userdebug eng"} 53 for variant in $variants ; do
|
/build/soong/rust/ |
D | library.go | 593 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/ |
D | toolchain.go | 195 func variantOrDefault(variants map[string]string, choice string) string { 196 if ret, ok := variants[choice]; ok { 199 return variants[""]
|
/build/blueprint/ |
D | module_ctx_test.go | 63 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)
|
D | context.go | 1436 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/bazel/examples/queryview/ |
D | README.md | 37 * `libc_variant`: all variants for `libc`
|
/build/soong/sdk/ |
D | update.go | 210 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/ |
D | commands.proto | 20 // List of the created variants. 34 // space. APKs from multiple variants are never combined on one device.
|
D | targeting.proto | 12 // Targeting on the level of variants.
|
/build/soong/ui/metrics/metrics_proto/ |
D | metrics.proto | 216 // The total number of variants handled by soong_build. 217 optional uint32 variants = 2; field
|
/build/soong/apex/ |
D | apex.go | 1179 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 {
|