Home
last modified time | relevance | path

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

123

/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 …]
Darch_test.go343 for _, variant := range variants {
344 m := ctx.ModuleForTests(name, variant)
346 ret = append(ret, variant)
432 for _, variant := range variants {
433 m := ctx.ModuleForTests(name, variant)
435 ret = append(ret, variant)
/build/make/core/
Daux_config.mk43 define aux-variant-setup-paths
67 define aux-variant-load-env
95 define aux-variant-import-from-pair
101 $(call aux-variant-setup-paths,$(_name)) \
123 …'$(_aioc_os)' OS config file [$(notdir $(_aioc_os_cfg))] required by AUX variant '$(1)' does not e…
135 define aux-variant-validate
140 $(if $(_missing),$(error AUX variant $(1) must define vars: $(_missing)))
/build/soong/sh/
Dsh_binary_test.go119 variant := ctx.ModuleForTests("foo", arch)
125 relocated := variant.Output("relocated/lib64/libbar" + libExt)
132 mod := variant.Module().(*ShTest)
193 variant := ctx.ModuleForTests("foo", buildOS+"_x86_64")
195 relocated := variant.Output("relocated/lib64/libbar.so")
202 mod := variant.Module().(*ShTest)
/build/soong/sysprop/
Dsysprop_test.go294 for _, variant := range []string{
300 ctx.ModuleForTests("libsysprop-platform", variant)
301 ctx.ModuleForTests("libsysprop-vendor", variant)
302 ctx.ModuleForTests("libsysprop-odm", variant)
305 for _, variant := range []string{
311 library := ctx.ModuleForTests("libsysprop-platform", variant).Module().(*cc.Module)
319 ctx.ModuleForTests("libsysprop-vendor", variant)
/build/soong/java/
Dapp_test.go1791 variant := ctx.ModuleForTests("foo", expected.variantName)
1794 outputs := variant.AllOutputs()
1808 signapk := variant.Output(expected.moduleName + ".apk")
1821 mod := variant.Module().(*AndroidApp)
1835 res := variant.Output("package-res.apk")
1942 variant := ctx.ModuleForTests("foo_test", expected.variantName)
1945 outputs := variant.AllOutputs()
1959 mod := variant.Module().(*AndroidTest)
1966 javac := variant.Rule("javac")
1973 res := variant.Output("package-res.apk")
[all …]
Dsdk_test.go289 variant := "android_common"
291 variant = android.BuildOs.String() + "_common"
344 foo := ctx.ModuleForTests("foo", variant)
398 aidl := ctx.ModuleForTests("foo", variant).Rule("aidl")
421 aidl := ctx.ModuleForTests("foo", variant).Rule("aidl")
Ddexpreopt_bootjars.go116 for _, variant := range image.variants {
117 if variant.target.Os == target.Os && variant.target.Arch.ArchType == target.Arch.ArchType {
118 return variant
206 for _, variant := range artBootImageConfig(ctx).variants {
207 files[variant.target.Arch.ArchType] = variant.imagesDeps
340 for _, variant := range image.variants {
341 files := buildBootImageVariant(ctx, variant, profile, missingDeps)
Ddexpreopt.go158 variant := bootImage.getVariant(target)
159 images = append(images, variant.images)
160 imagesDeps = append(imagesDeps, variant.imagesDeps)
/build/soong/cc/
Dcc_test.go221 isVndkSp bool, extends string, variant string) {
225 mod := ctx.ModuleForTests(name, variant).Module().(*Module)
227 t.Errorf("%q must have variant %q", name, variant)
261 …ontext, singleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string) {
262 mod, ok := ctx.ModuleForTests(moduleName, variant).Module().(android.OutputFileProducer)
396 variant := "android_vendor.VER_arm64_armv8-a_shared"
401 checkSnapshot(t, ctx, snapshotSingleton, "libvndk", "libvndk.so", vndkCoreLibPath, variant)
403 checkSnapshot(t, ctx, snapshotSingleton, "libvndk_sp", "libvndk_sp-x.so", vndkSpLibPath, variant)
2040 variant string
2057 module := ctx.ModuleForTests(test.name, test.variant).Module().(*Module)
[all …]
Dbinary_sdk_member.go110 func (p *nativeBinaryInfoProperties) PopulateFromVariant(ctx android.SdkMemberContext, variant andr…
111 ccModule := variant.(*Module)
/build/soong/sdk/
Dupdate.go157 variant := memberRef.variant
159 name := ctx.OtherModuleName(variant)
169 member.variants = appendUniqueVariants(member.variants, variant)
227 allMembersByName[memberRef.variant.Name()] = struct{}{}
638 variant := member.Variants()[0]
647 visibility := android.EffectiveVisibilityRules(s.ctx, variant)
656 for _, variant := range member.Variants() {
657 osClass := variant.Target().Os.Class
668 if apexAware, ok := variant.(interface{ ApexAvailable() []string }); ok {
684 if installable, ok := variant.(interface{ EverInstallable() bool }); ok {
[all …]
Dtesting.go273 func (r *testSdkResult) Module(name string, variant string) android.Module {
274 return r.ctx.ModuleForTests(name, variant).Module()
277 func (r *testSdkResult) ModuleForTests(name string, variant string) android.TestingModule {
278 return r.ctx.ModuleForTests(name, variant)
290 variant := android.CommonOS.Name
292 sdk := r.Module(name, variant).(*sdk)
307 fmt.Sprintf(".intermediates/%s%s/%s/%s-current.zip", dir, name, variant, name), actual)
/build/soong/rust/config/
Dx86_64_device.go47 for variant, rustFlags := range x86_64ArchVariantRustFlags {
48 pctx.StaticVariable("X86_64"+variant+"VariantRustFlags",
Darm64_device.go46 for variant, rustFlags := range Arm64ArchVariantRustFlags {
47 pctx.StaticVariable("Arm64"+variant+"VariantRustFlags",
Darm_device.go45 for variant, rustFlags := range ArmArchVariantRustFlags {
46 pctx.StaticVariable("Arm"+variant+"VariantRustFlags",
Dx86_device.go50 for variant, rustFlags := range x86ArchVariantRustFlags {
51 pctx.StaticVariable("X86"+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/ui/build/
Dconfig.go614 func (c *configImpl) Lunch(ctx Context, product, variant string) {
615 if variant != "eng" && variant != "userdebug" && variant != "user" {
616 ctx.Fatalf("Invalid variant %q. Must be one of 'user', 'userdebug' or 'eng'", variant)
620 c.environ.Set("TARGET_BUILD_VARIANT", variant)
627 func (c *configImpl) Tapas(ctx Context, apps []string, arch, variant string) {
631 if variant == "" {
632 variant = "eng"
635 if variant != "eng" && variant != "userdebug" && variant != "user" {
636 ctx.Fatalf("Invalid variant %q. Must be one of 'user', 'userdebug' or 'eng'", variant)
658 c.environ.Set("TARGET_BUILD_VARIANT", variant)
/build/soong/cc/config/
Dmips64_device.go73 for variant, cflags := range mips64ArchVariantCflags {
74 pctx.StaticVariable("Mips64"+variant+"VariantClangCflags",
Dmips_device.go108 for variant, cflags := range mipsArchVariantCflags {
109 pctx.StaticVariable("Mips"+variant+"VariantClangCflags",
Dx86_64_device.go120 for variant, cflags := range x86_64ArchVariantCflags {
121 pctx.StaticVariable("X86_64"+variant+"VariantClangCflags",
Dx86_device.go131 for variant, cflags := range x86ArchVariantCflags {
132 pctx.StaticVariable("X86"+variant+"VariantClangCflags",
/build/soong/python/
Dpython_test.go384 func expectModule(t *testing.T, ctx *android.TestContext, buildDir, name, variant, expectedSrcsZip … argument
386 module := ctx.ModuleForTests(name, variant)
400 `binary "%s" variant "%s" has unexpected pyRunfiles: %q!`,
408 `binary "%s" variant "%s" has unexpected srcsZip: %q!`,
419 `binary "%s" variant "%s" has unexpected depsSrcsZips: %q!`,
/build/soong/cmd/extract_apks/bundle_proto/
Dcommands.proto21 repeated Variant variant = 1; field
44 // Number of the variant, starting at 0 (unless overridden).
45 // A device will receive APKs from the first variant that matches the device
46 // configuration, with higher variant numbers having priority over lower
47 // variant numbers.

123