Home
last modified time | relevance | path

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

1234

/build/soong/rust/
Dsanitize_test.go148 variant := "android_arm64_armv8-a"
156 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_binary_no_override", variant), None)
157 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_binary_override_default_async", variant), None)
158 …checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_binary_override_default_disable", variant), No…
159 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_binary_override_default_sync", variant), None)
161 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_test_no_override", variant), None)
162 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_test_override_default_async", variant), None)
163 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_test_override_default_disable", variant), None)
164 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_test_override_default_sync", variant), None)
166 checkHasMemtagNote(t, ctx.ModuleForTests("set_memtag_binary_no_override", variant), Async)
[all …]
Dsnapshot_prebuilt.go73 var variant string
75 variant = cc.SnapshotStaticSuffix
77 variant = cc.SnapshotSharedSuffix
79 variant = cc.SnapshotRlibSuffix
84 library.SetSnapshotAndroidMkSuffix(ctx, variant)
Dimage.go202 func (mod *Module) SetImageVariation(ctx android.BaseModuleContext, variant string, module android.…
204 if variant == android.VendorRamdiskVariation {
206 } else if variant == android.RecoveryVariation {
208 } else if strings.HasPrefix(variant, cc.VendorVariationPrefix) {
210 m.Properties.VndkVersion = strings.TrimPrefix(variant, cc.VendorVariationPrefix)
219 } else if strings.HasPrefix(variant, cc.ProductVariationPrefix) {
221 m.Properties.VndkVersion = strings.TrimPrefix(variant, cc.ProductVariationPrefix)
/build/soong/cc/
Dsanitize_test.go101 check := func(t *testing.T, result *android.TestResult, variant string) {
102 asanVariant := variant + "_asan"
103 sharedVariant := variant + "_shared"
105 staticVariant := variant + "_static"
110 binNoAsan := result.ModuleForTests("bin_no_asan", variant)
335 variant := "android_arm64_armv8-a"
343 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_binary_no_override", variant), None)
344 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_binary_override_default_async", variant), None)
345 …checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_binary_override_default_disable", variant), No…
346 checkHasMemtagNote(t, ctx.ModuleForTests("no_memtag_binary_override_default_sync", variant), None)
[all …]
Dobject_test.go35 variant string
46 cflags := ctx.ModuleForTests("crt_foo", v.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")
Dtesting.go645 …ingleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string, include b…
647 mod := ctx.ModuleForTests(moduleName, variant)
674 …ontext, singleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string) {
676 …checkSnapshotIncludeExclude(t, ctx, singleton, moduleName, snapshotFilename, subDir, variant, true…
679 …ontext, singleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string) {
681 …checkSnapshotIncludeExclude(t, ctx, singleton, moduleName, snapshotFilename, subDir, variant, fals…
684 …ontext, singleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string) {
686 …checkSnapshotIncludeExclude(t, ctx, singleton, moduleName, snapshotFilename, subDir, variant, true…
689 …dorSnapshotIs(t *testing.T, ctx *android.TestContext, name string, expected bool, variant string) {
691 m := ctx.ModuleForTests(name, variant).Module().(LinkableInterface)
[all …]
Dgenrule_test.go131 variant string
140 variant: "android_arm_armv7-a-neon",
146 variant: "android_arm64_armv8-a",
152 variant: "android_native_bridge_arm_armv7-a-neon",
181 gen := result.ModuleForTests("gen", tt.variant)
Dimage.go590 for _, variant := range android.FirstUniqueStrings(vendorVariants) {
591 m.AppendExtraVariant(VendorVariationPrefix + variant)
594 for _, variant := range android.FirstUniqueStrings(productVariants) {
595 m.AppendExtraVariant(ProductVariationPrefix + variant)
681 func (c *Module) SetImageVariation(ctx android.BaseModuleContext, variant string, module android.Mo…
683 if variant == android.RamdiskVariation {
685 } else if variant == android.VendorRamdiskVariation {
688 } else if variant == android.RecoveryVariation {
691 } else if strings.HasPrefix(variant, VendorVariationPrefix) {
693 m.Properties.VndkVersion = strings.TrimPrefix(variant, VendorVariationPrefix)
[all …]
Dcc_test.go182 func checkInstallPartition(t *testing.T, ctx *android.TestContext, name, variant, expected string) { argument
183 mod := ctx.ModuleForTests(name, variant).Module().(*Module)
189 t.Errorf("%s variant of %q must not be installed to %s partition", variant, name, partition)
195 t.Errorf("%s variant of %q must be installed to %s partition", variant, name, partition)
217 " but installed to system partition", variant, name, expected)
297 isVndkSp bool, extends string, variant string) {
301 mod := ctx.ModuleForTests(name, variant).Module().(*Module)
520 variant := "android_vendor.29_arm64_armv8-a_shared"
525 CheckSnapshot(t, ctx, snapshotSingleton, "libvndk", "libvndk.so", vndkCoreLibPath, variant)
527 …pshot(t, ctx, snapshotSingleton, "libvndk_product", "libvndk_product.so", vndkCoreLibPath, variant)
[all …]
/build/soong/java/
Dapp_import_test.go41 variant := ctx.ModuleForTests("foo", "android_common")
44 if variant.MaybeOutput("dexpreopt/oat/arm64/package.vdex").Rule == nil ||
45 variant.MaybeOutput("dexpreopt/oat/arm64/package.odex").Rule == nil {
50 signedApk := variant.Output("signed/foo.apk")
56 rule := variant.Rule("genProvenanceMetaData")
75 variant := ctx.ModuleForTests("foo", "android_common")
78 if variant.MaybeOutput("dexpreopt/oat/arm64/package.vdex").Rule != nil ||
79 variant.MaybeOutput("dexpreopt/oat/arm64/package.odex").Rule != nil {
83 rule := variant.Rule("genProvenanceMetaData")
102 variant := ctx.ModuleForTests("foo", "android_common")
[all …]
Ddexpreopt_bootjars.go336 for _, variant := range image.variants {
337 if variant.target.Os == target.Os && variant.target.Arch.ArchType == target.Arch.ArchType {
338 return variant
346 for _, variant := range image.variants {
347 if variant.target.Os == android.Android {
348 return variant
393 for _, variant := range image.variants {
396 if variant.target.Os == android.Android {
397 variants = append(variants, variant)
580 for _, variant := range image.variants {
[all …]
/build/bazel/ci/
Drbc_regression_test.sh16 Usage: $myname [-p] [-b] [-q] [-r] <product-variant> [product-variant ...]
28 local -r variant="$3"
30 …d/soong/soong_ui.bash --make-mode TARGET_PRODUCT=$product TARGET_BUILD_VARIANT=$variant $@ nothing"
32 … printf "%s-%s: %s build failed, actual command:\n %s\n" $product $variant $flavor "$command" >&2
63 variant="${BASH_REMATCH[2]}"
67 saved_ninja_dir=out/ninja_rbc/${product}-${variant}
68 build RBC $product $variant ${flags_rbc[@]} && \
71 build baseline $product $variant
80 echo ${product}-${variant}: "$f" is different '< make, > RBC):' >&2
/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.go613 variant: variant{
626 variant variant
654 variant: m.variant,
678 variant: variant{
696 variant: variant{
705 variant: variant{
724 variant: variant{
743 variant: variant{
749 variant: variant{
767 variant: variant{
[all …]
Dmodule_ctx.go507 return module.variant.name
762 return m.module.variant.name
1002 for _, variant := range mctx.newVariations {
1003 if m := variant.module(); m != nil && m.logicModule == module {
1037 if alias.variant.variations.equal(mctx.module.variant.variations) {
1043 for _, variant := range mctx.newVariations {
1044 if variant.moduleOrAliasVariant().variations[mctx.name] == variationName {
1046 variant: mctx.module.variant,
1047 target: variant.moduleOrAliasTarget(),
1057 for _, variant := range mctx.newVariations {
[all …]
/build/bazel/platforms/arch/variants/
DBUILD27 name = variant + "-" + arch,
30 ":" + variant,
33 for variant in variants
53 name = variant + "-" + arch,
56 ":" + variant,
59 for variant in variants
/build/soong/etc/
Dsnapshot_etc_test.go86 for _, variant := range result.ModuleVariantsForTests("etc_module") {
87 module := result.ModuleForTests("etc_module", variant)
118 for _, variant := range result.ModuleVariantsForTests("source") {
119 source := result.ModuleForTests("source", variant)
150 for _, variant := range result.ModuleVariantsForTests("source") {
151 source := result.ModuleForTests("source", variant)
176 for _, variant := range result.ModuleVariantsForTests("source") {
177 source := result.ModuleForTests("source", variant)
/build/soong/android/
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)
538 variant string
553 variant: "android_arm64_armv8-a",
558 variant: "android_arm_armv7-a-neon",
569 variant: "linux_glibc_x86_64",
[all …]
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()
/build/bazel/platforms/product_variables/
Dproduct_platform.bzl110 …actual = "{os}_{arch}{variant}".format(os = os, arch = arch, variant = _variant_name(arch, arch_va…
120 …actual = "{os}_{arch}{variant}".format(os = os, arch = arch, variant = _variant_name(arch, arch_va…
128 def _is_variant_default(arch, variant):
129 return variant == None or variant in (arch, "generic")
136 variant = struct(
140 return variant_name(variant)
/build/soong/sysprop/
Dsysprop_test.go242 for _, variant := range []string{
248 result.ModuleForTests("libsysprop-platform", variant)
249 result.ModuleForTests("libsysprop-vendor", variant)
250 result.ModuleForTests("libsysprop-odm", variant)
253 for _, variant := range []string{
259 library := result.ModuleForTests("libsysprop-platform", variant).Module().(*cc.Module)
264 result.ModuleForTests("libsysprop-vendor-on-product", variant)
/build/soong/sh/
Dsh_binary_test.go130 variant := ctx.ModuleForTests("foo", arch)
136 relocated := variant.Output("relocated/lib64/libbar" + libExt)
140 mod := variant.Module().(*ShTest)
205 variant := ctx.ModuleForTests("foo", buildOS+"_x86_64")
207 relocated := variant.Output("relocated/lib64/libbar.so")
211 mod := variant.Module().(*ShTest)
/build/soong/rust/config/
Dx86_device.go50 for variant, rustFlags := range x86ArchVariantRustFlags {
51 pctx.StaticVariable("X86"+variant+"VariantRustFlags",

1234