Home
last modified time | relevance | path

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

123

/build/soong/java/
Dapp_import_test.go40 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 …]
Ddexpreopt_bootjars.go307 for _, variant := range image.variants {
308 if variant.target.Os == target.Os && variant.target.Arch.ArchType == target.Arch.ArchType {
309 return variant
317 for _, variant := range image.variants {
318 if variant.target.Os == android.Android {
319 return variant
364 for _, variant := range image.variants {
367 if variant.target.Os == android.Android {
368 variants = append(variants, variant)
532 for _, variant := range image.variants {
[all …]
Ddexpreopt_config.go110 variant := &bootImageVariant{
118 variant.dexLocationsDeps = variant.dexLocations
119 c.variants = append(c.variants, variant)
/build/soong/cc/
Dobject_test.go35 var variant string
38 variant = arch
40 variant = arch + "_sdk_" + v
42 cflags := ctx.ModuleForTests("crt_foo", variant).Rule("cc").Args["cFlags"]
64 variant := "android_arm64_armv8-a_sdk"
65 crt := ctx.ModuleForTests("bin", variant).Rule("ld").Args["crtBegin"]
67 variant+"_29/crtbegin_dynamic.o")
70 variant = "android_arm64_armv8-a"
71 crt = ctx.ModuleForTests("bin", variant).Rule("ld").Args["crtBegin"]
73 variant+"/crtbegin_dynamic.o")
Dcc_test.go247 func checkInstallPartition(t *testing.T, ctx *android.TestContext, name, variant, expected string) { argument
248 mod := ctx.ModuleForTests(name, variant).Module().(*Module)
254 t.Errorf("%s variant of %q must not be installed to %s partition", variant, name, partition)
260 t.Errorf("%s variant of %q must be installed to %s partition", variant, name, partition)
282 " but installed to system partition", variant, name, expected)
362 isVndkSp bool, extends string, variant string) {
366 mod := ctx.ModuleForTests(name, variant).Module().(*Module)
399 …ingleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string, include b…
401 mod := ctx.ModuleForTests(moduleName, variant)
428 …ontext, singleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string) {
[all …]
Dsanitize_test.go103 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)
Dimage.go589 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/make/tools/product_config/
Dtest.sh53 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/
Dsplice_modules_test.go23 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"}}
Dcontext_test.go612 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 …]
Dmodule_ctx.go499 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 …]
Dcontext.go178 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/
Dvisibility_test.go182 `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 …]
Dsingleton_module.go63 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()
Darch_test.go350 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)
Dlicense_sdk_member.go89 func (p *licenseSdkMemberProperties) PopulateFromVariant(_ SdkMemberContext, variant Module) {
91 l := variant.(*licenseModule)
/build/soong/sh/
Dsh_binary_test.go120 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/
Dsysprop_test.go245 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/rust/config/
Darm_device.go42 for variant, rustFlags := range ArmArchVariantRustFlags {
43 pctx.StaticVariable("Arm"+variant+"VariantRustFlags",
Dx86_64_device.go47 for variant, rustFlags := range x86_64ArchVariantRustFlags {
48 pctx.StaticVariable("X86_64"+variant+"VariantRustFlags",
Dx86_device.go50 for variant, rustFlags := range x86ArchVariantRustFlags {
51 pctx.StaticVariable("X86"+variant+"VariantRustFlags",
Darm64_device.go42 for variant, rustFlags := range Arm64ArchVariantRustFlags {
43 pctx.StaticVariable("Arm64"+variant+"VariantRustFlags",
/build/make/
DUsage.txt12 # 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/
Dupdate.go198 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/
Dimage.go185 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)

123