Home
last modified time | relevance | path

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

12345

/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 …]
Dbuilder_test.go72 variant string
78 variant: "android_arm64_armv8-a_dylib",
90 variant: "android_arm64_armv8-a_rlib_dylib-std",
100 variant: "android_arm64_armv8-a_rlib_rlib-std",
111 variant: "android_arm64_armv8-a",
123 variant: "android_arm64_armv8-a_static",
134 variant: "android_arm64_armv8-a_rlib_rlib-std",
144 variant: "android_arm64_armv8-a_shared",
157 modOutputs := ctx.ModuleForTests(tc.moduleName, tc.variant).AllOutputs()
Dimage.go200 func (mod *Module) SetImageVariation(ctx android.BaseModuleContext, variant string) {
201 if variant == android.VendorRamdiskVariation {
203 } else if variant == android.RecoveryVariation {
205 } else if strings.HasPrefix(variant, cc.VendorVariation) {
207 if strings.HasPrefix(variant, cc.VendorVariationPrefix) {
208 mod.Properties.VndkVersion = strings.TrimPrefix(variant, cc.VendorVariationPrefix)
210 } else if strings.HasPrefix(variant, cc.ProductVariation) {
212 if strings.HasPrefix(variant, cc.ProductVariationPrefix) {
213 mod.Properties.VndkVersion = strings.TrimPrefix(variant, cc.ProductVariationPrefix)
/build/soong/cc/
Dsanitize_test.go215 …check := func(t *testing.T, variant string, runtimeLinkage expectedRuntimeLinkage, preparer androi…
218 asanVariant := variant + "_asan"
219 sharedVariant := variant + "_shared"
221 staticVariant := variant + "_static"
226 binNoAsan := result.ModuleForTests("bin_no_asan", variant)
381 check := func(t *testing.T, variant string, preparer android.FixturePreparer) {
384 tsanVariant := variant + "_tsan"
385 sharedVariant := variant + "_shared"
390 binNoTsan := result.ModuleForTests("bin_no_tsan", variant)
476 check := func(t *testing.T, variant string, preparer android.FixturePreparer) {
[all …]
Dobject_test.go36 variant string
49 cflags := ctx.ModuleForTests("crt_foo", v.variant).Rule("cc").Args["cFlags"]
71 variant := "android_arm64_armv8-a_sdk"
72 crt := ctx.ModuleForTests("bin", variant).Rule("ld").Args["crtBegin"]
77 variant = "android_arm64_armv8-a"
78 crt = ctx.ModuleForTests("bin", variant).Rule("ld").Args["crtBegin"]
80 variant+"/crtbegin_dynamic.o")
Dtidy_test.go83 variant := "android_arm64_armv8-a_shared"
86 flags := ctx.ModuleForTests(test.libName, variant).Rule("clangTidy").Args["tidyFlags"]
143 variant := "android_arm64_armv8-a_shared"
146 flags := ctx.ModuleForTests(libName, variant).Rule("clangTidy").Args["tidyFlags"]
231 checkLibraryRule := func(foo, variant, ruleName string) {
233 tidyFile := "out/soong/.intermediates/" + libName + "/" + variant + "/obj/" + foo + ".tidy"
234 depFiles := ctx.ModuleForTests(libName, variant).Rule(ruleName).Validations.Strings()
257 variant := "android_arm64_armv8-a_shared"
265 depFiles := ctx.ModuleForTests("libfoo", variant).Rule("ld").Validations.Strings()
267 tidyFileForCpp := "out/soong/.intermediates/libfoo/" + variant + "/obj/foo_src.tidy"
Dimage.go417 for _, variant := range android.FirstUniqueStrings(vendorVariants) {
418 if variant == "" {
421 m.AppendExtraVariant(VendorVariationPrefix + variant)
425 for _, variant := range android.FirstUniqueStrings(productVariants) {
426 if variant == "" {
429 m.AppendExtraVariant(ProductVariationPrefix + variant)
530 func (c *Module) SetImageVariation(ctx android.BaseModuleContext, variant string) {
531 if variant == android.RamdiskVariation {
534 } else if variant == android.VendorRamdiskVariation {
537 } else if variant == android.RecoveryVariation {
[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)
207 t.Errorf(`expected vendor variant, but does not exist in %v`, variants)
210 t.Errorf(`expected product variant, but does not exist in %v`, variants)
/build/bazel/ci/
Drbc_regression_test.sh16 Usage: $myname [-q] [-r] <product-variant> [product-variant ...]
26 local -r variant="$3"
28 …d/soong/soong_ui.bash --make-mode TARGET_PRODUCT=$product TARGET_BUILD_VARIANT=$variant $@ nothing"
30 … printf "%s-%s: %s build failed, actual command:\n %s\n" $product $variant $flavor "$command" >&2
57 variant="${BASH_REMATCH[2]}"
61 saved_ninja_dir=out/ninja_rbc/${product}-${variant}
62 build RBC $product $variant ${flags_rbc[@]} && \
65 build baseline $product $variant
74 echo ${product}-${variant}: "$f" is different '< make, > RBC):' >&2
/build/soong/java/
Dapp_import_test.go40 variant := ctx.ModuleForTests("foo", "android_common")
43 if variant.MaybeOutput("dexpreopt/foo/oat/arm64/package.vdex").Rule == nil ||
44 variant.MaybeOutput("dexpreopt/foo/oat/arm64/package.odex").Rule == nil {
49 signedApk := variant.Output("signed/foo.apk")
55 rule := variant.Rule("genProvenanceMetaData")
74 variant := ctx.ModuleForTests("foo", "android_common")
77 if variant.MaybeOutput("dexpreopt/foo/oat/arm64/package.vdex").Rule != nil ||
78 variant.MaybeOutput("dexpreopt/foo/oat/arm64/package.odex").Rule != nil {
82 rule := variant.Rule("genProvenanceMetaData")
101 variant := ctx.ModuleForTests("foo", "android_common")
[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"}}
/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/android/
Darch_test.go424 for _, variant := range variants {
425 m := ctx.ModuleForTests(name, variant)
427 ret = append(ret, variant)
433 moduleMultiTargets := func(ctx *TestContext, name string, variant string) []string {
435 targets := ctx.ModuleForTests(name, variant).Module().MultiTargets()
479 for _, variant := range tt.multiTargetVariants {
480 targets := moduleMultiTargets(ctx, "multi_targets", variant)
481 if g, w := targets, tt.multiTargetVariantsMap[variant]; !reflect.DeepEqual(w, g) {
482 t.Errorf("want ctx.MultiTarget() for %q:\n%q\ngot:\n%q\n", variant, w, g)
534 for _, variant := range variants {
[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/make/
Denvsetup.sh488 local product release variant
490 IFS="-" read -r product release variant <<< "$selection"
492 if [[ -z "$product" ]] || [[ -z "$release" ]] || [[ -z "$variant" ]]
500 _lunch_meat $product $release $variant
507 local variant=$3
511 TARGET_BUILD_VARIANT=$variant \
606 local product release variant
611 IFS="-" read -r product release variant <<< "$1"
612 if [[ -z "$product" ]] || [[ -z "$release" ]] || [[ -z "$variant" ]]; then
627 variant=$3
[all …]
/build/
Denvsetup.sh488 local product release variant
490 IFS="-" read -r product release variant <<< "$selection"
492 if [[ -z "$product" ]] || [[ -z "$release" ]] || [[ -z "$variant" ]]
500 _lunch_meat $product $release $variant
507 local variant=$3
511 TARGET_BUILD_VARIANT=$variant \
606 local product release variant
611 IFS="-" read -r product release variant <<< "$1"
612 if [[ -z "$product" ]] || [[ -z "$release" ]] || [[ -z "$variant" ]]; then
627 variant=$3
[all …]
/build/soong/sysprop/
Dsysprop_test.go258 for _, variant := range []string{
264 result.ModuleForTests("libsysprop-platform", variant)
265 result.ModuleForTests("libsysprop-vendor", variant)
266 result.ModuleForTests("libsysprop-odm", variant)
270 for _, variant := range []string{
276 result.ModuleForTests("libsysprop-vendor-on-product", variant)
279 for _, variant := range []string{
285 library := result.ModuleForTests("libsysprop-platform", variant).Module().(*cc.Module)
/build/bazel/scripts/bp2build_progress/
Dqueryview_xml.py25 variant='', argument
35 rule, 'string', attrib={'name': 'soong_module_variant', 'value': variant}
/build/soong/sh/
Dsh_binary_test.go132 variant := ctx.ModuleForTests("foo", arch)
138 …relocated := variant.Output(filepath.Join("out/soong/.intermediates/foo", arch, "relocated/lib64/l…
142 mod := variant.Module().(*ShTest)
207 variant := buildOS + "_x86_64"
208 foo := ctx.ModuleForTests("foo", variant)
210 …relocated := foo.Output(filepath.Join("out/soong/.intermediates/foo", variant, "relocated/lib64/li…
219 "out/soong/.intermediates/foo/" + variant + "/relocated/:lib64/libbar.so",
/build/soong/rust/config/
Driscv64_device.go43 for variant, rustFlags := range Riscv64ArchVariantRustFlags {
44 pctx.StaticVariable("Riscv64"+variant+"VariantRustFlags",
Darm_device.go42 for variant, rustFlags := range ArmArchVariantRustFlags {
43 pctx.StaticVariable("Arm"+variant+"VariantRustFlags",
Dx86_64_device.go53 for variant, rustFlags := range x86_64ArchVariantRustFlags {
54 pctx.StaticVariable("X86_64"+variant+"VariantRustFlags",
Dx86_device.go54 for variant, rustFlags := range x86ArchVariantRustFlags {
55 pctx.StaticVariable("X86"+variant+"VariantRustFlags",
/build/make/tools/
Dlunchable49 for variant in eng user userdebug; do
50 lunchcombo="${product}-${release}-${variant}"

12345