/build/soong/java/ |
D | app_import_test.go | 40 variant := ctx.ModuleForTests("foo", "android_common") 43 if variant.MaybeOutput("dexpreopt/oat/arm64/package.vdex").Rule == nil || 44 variant.MaybeOutput("dexpreopt/oat/arm64/package.odex").Rule == nil { 49 signedApk := variant.Output("signed/foo.apk") 69 variant := ctx.ModuleForTests("foo", "android_common") 72 if variant.MaybeOutput("dexpreopt/oat/arm64/package.vdex").Rule != nil || 73 variant.MaybeOutput("dexpreopt/oat/arm64/package.odex").Rule != nil { 90 variant := ctx.ModuleForTests("foo", "android_common") 93 if variant.MaybeOutput("dexpreopt/oat/arm64/package.vdex").Rule == nil || 94 variant.MaybeOutput("dexpreopt/oat/arm64/package.odex").Rule == nil { [all …]
|
D | dexpreopt_config.go | 110 variant := &bootImageVariant{ 118 variant.dexLocationsDeps = variant.dexLocations 119 c.variants = append(c.variants, variant)
|
D | sdk_test.go | 258 variant := "android_common" 260 variant = android.BuildOs.String() + "_common" 315 foo := result.ModuleForTests("foo", variant) 379 aidl := result.ModuleForTests("foo", variant).Rule("aidl") 392 aidl := result.ModuleForTests("foo", variant).Rule("aidl")
|
/build/make/tools/product_config/ |
D | test.sh | 53 for variant in $variants ; do 55 echo "Checking: lunch $product-$variant" 58 TARGET_BUILD_VARIANT=$variant \ 63 echo "*** Combo fails with make, skipping product-config test run for $product-$variant" 65 rm -rf out/config/$product-$variant 66 TARGET_PRODUCT=$product TARGET_BUILD_VARIANT=$variant product-config \ 72 failed_baseline_checks="$failed_baseline_checks $product-$variant" 83 TARGET_BUILD_VARIANT=$variant \ 90 TARGET_BUILD_VARIANT=$variant \ 93 failed_rule_checks="$failed_rule_checks $product-$variant"
|
/build/blueprint/ |
D | splice_modules_test.go | 23 testModuleA = &moduleInfo{variant: variant{name: "testModuleA"}} 24 testModuleB = &moduleInfo{variant: variant{name: "testModuleB"}} 25 testModuleC = &moduleInfo{variant: variant{name: "testModuleC"}} 26 testModuleD = &moduleInfo{variant: variant{name: "testModuleD"}} 27 testModuleE = &moduleInfo{variant: variant{name: "testModuleE"}} 28 testModuleF = &moduleInfo{variant: variant{name: "testModuleF"}}
|
D | context_test.go | 612 variant: variant{ 625 variant variant 653 variant: m.variant, 677 variant: variant{ 695 variant: variant{ 704 variant: variant{ 723 variant: variant{ 742 variant: variant{ 748 variant: variant{ 766 variant: variant{ [all …]
|
D | module_ctx.go | 499 return module.variant.name 737 return m.module.variant.name 1004 for _, variant := range mctx.newVariations { 1005 if m := variant.module(); m != nil && m.logicModule == module { 1014 fromVariant variant 1044 if alias.variant.variations.equal(mctx.module.variant.variations) { 1050 for _, variant := range mctx.newVariations { 1051 if variant.moduleOrAliasVariant().variations[mctx.name] == variationName { 1053 variant: mctx.module.variant, 1054 target: variant.moduleOrAliasTarget(), [all …]
|
D | context.go | 178 variant variant member 185 func (m *moduleAlias) moduleOrAliasVariant() variant { return m.variant } 190 func (m *moduleInfo) moduleOrAliasVariant() variant { return m.variant } 196 moduleOrAliasVariant() variant 250 variant variant member 283 type variant struct { struct 309 if module.variant.name != "" { 310 s += fmt.Sprintf(" variant %q", module.variant.name) 1307 local bool) variant { 1309 newVariantName := module.variant.name [all …]
|
/build/soong/android/ |
D | singleton_module.go | 63 variant string member 70 if smb.variant != "" { 71 …ldActions already called for variant %q, SingletonModules can only have one variant", smb.variant) 73 smb.variant = ctx.ModuleSubDir()
|
D | visibility_test.go | 182 `module "libnested" variant "android_common": depends on //top:libexample which is not` + 184 `module "libother" variant "android_common": depends on //top:libexample which is not` + 214 `module "libnested" variant "android_common": depends on //top:libexample which is not` + 216 `module "libother" variant "android_common": depends on //top:libexample which is not` + 252 `module "libother" variant "android_common": depends on //top:libexample which is not` + 254 `module "libnestedagain" variant "android_common": depends on //top:libexample which is not` + 285 `module "libother" variant "android_common": depends on //top:libexample which is not` + 316 `module "libother" variant "android_common": depends on //top:libexample which is not` + 416 `module "liboutsider" variant "android_common": depends on //top:libexample which is not` + 457 `module "liboutsider" variant "android_common": depends on //top:libexample which is not` + [all …]
|
D | arch_test.go | 350 for _, variant := range variants { 351 m := ctx.ModuleForTests(name, variant) 353 ret = append(ret, variant) 433 for _, variant := range variants { 434 m := ctx.ModuleForTests(name, variant) 436 ret = append(ret, variant)
|
D | license_sdk_member.go | 89 func (p *licenseSdkMemberProperties) PopulateFromVariant(_ SdkMemberContext, variant Module) { 91 l := variant.(*licenseModule)
|
/build/soong/sh/ |
D | sh_binary_test.go | 120 variant := ctx.ModuleForTests("foo", arch) 126 relocated := variant.Output("relocated/lib64/libbar" + libExt) 130 mod := variant.Module().(*ShTest) 189 variant := ctx.ModuleForTests("foo", buildOS+"_x86_64") 191 relocated := variant.Output("relocated/lib64/libbar.so") 195 mod := variant.Module().(*ShTest)
|
/build/soong/sysprop/ |
D | sysprop_test.go | 245 for _, variant := range []string{ 251 result.ModuleForTests("libsysprop-platform", variant) 252 result.ModuleForTests("libsysprop-vendor", variant) 253 result.ModuleForTests("libsysprop-odm", variant) 256 for _, variant := range []string{ 262 library := result.ModuleForTests("libsysprop-platform", variant).Module().(*cc.Module) 267 result.ModuleForTests("libsysprop-vendor-on-product", variant)
|
/build/soong/cc/ |
D | sanitize_test.go | 103 check := func(t *testing.T, result *android.TestResult, variant string) { 104 asanVariant := variant + "_asan" 105 sharedVariant := variant + "_shared" 107 staticVariant := variant + "_static" 112 binNoAsan := result.ModuleForTests("bin_no_asan", variant)
|
D | image.go | 589 for _, variant := range android.FirstUniqueStrings(vendorVariants) { 590 m.AppendExtraVariant(VendorVariationPrefix + variant) 593 for _, variant := range android.FirstUniqueStrings(productVariants) { 594 m.AppendExtraVariant(ProductVariationPrefix + variant) 680 func (c *Module) SetImageVariation(ctx android.BaseModuleContext, variant string, module android.Mo… 682 if variant == android.RamdiskVariation { 684 } else if variant == android.VendorRamdiskVariation { 687 } else if variant == android.RecoveryVariation { 690 } else if strings.HasPrefix(variant, VendorVariationPrefix) { 692 m.Properties.VndkVersion = strings.TrimPrefix(variant, VendorVariationPrefix) [all …]
|
/build/soong/rust/config/ |
D | arm_device.go | 42 for variant, rustFlags := range ArmArchVariantRustFlags { 43 pctx.StaticVariable("Arm"+variant+"VariantRustFlags",
|
D | x86_device.go | 50 for variant, rustFlags := range x86ArchVariantRustFlags { 51 pctx.StaticVariable("X86"+variant+"VariantRustFlags",
|
D | x86_64_device.go | 47 for variant, rustFlags := range x86_64ArchVariantRustFlags { 48 pctx.StaticVariable("X86_64"+variant+"VariantRustFlags",
|
D | arm64_device.go | 42 for variant, rustFlags := range Arm64ArchVariantRustFlags { 43 pctx.StaticVariable("Arm64"+variant+"VariantRustFlags",
|
/build/make/ |
D | Usage.txt | 12 # Select the device and variant to target. If no argument is given, it 14 lunch [<product>-<variant>] # Selects the device and variant to target. 20 <variant> is one of "user", "userdebug", or "eng", and controls the 27 for the configured product and variant. 80 TARGET_BUILD_VARIANT The <variant> to build # as described above
|
/build/soong/sdk/ |
D | update.go | 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) [all …]
|
/build/soong/rust/ |
D | image.go | 185 func (mod *Module) SetImageVariation(ctx android.BaseModuleContext, variant string, module android.… 187 if variant == android.VendorRamdiskVariation { 189 } else if strings.HasPrefix(variant, cc.VendorVariationPrefix) { 191 m.Properties.VndkVersion = strings.TrimPrefix(variant, cc.VendorVariationPrefix)
|
/build/soong/cc/config/ |
D | x86_device.go | 130 for variant, cflags := range x86ArchVariantCflags { 131 pctx.StaticVariable("X86"+variant+"VariantClangCflags",
|
D | x86_64_device.go | 119 for variant, cflags := range x86_64ArchVariantCflags { 120 pctx.StaticVariable("X86_64"+variant+"VariantClangCflags",
|