Lines Matching refs:variant
182 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)
529 CheckSnapshot(t, ctx, snapshotSingleton, "libvndk_sp", "libvndk_sp-x.so", vndkSpLibPath, variant)
531 CheckSnapshot(t, ctx, snapshotSingleton, "libllndk", "libllndk.so", llndkLibPath, variant)
2425 variant string
2442 module := ctx.ModuleForTests(test.name, test.variant).Module().(*Module)
2633 variant := "android_arm64_armv8-a_static"
2634 moduleA := ctx.ModuleForTests("a", variant).Module().(*Module)
2637 expected := GetOutputPaths(ctx, variant, []string{"a", "c", "b", "d"})
2668 variant := "android_arm64_armv8-a_static"
2669 moduleA := ctx.ModuleForTests("a", variant).Module().(*Module)
2672 expected := GetOutputPaths(ctx, variant, []string{"a", "c", "b"})
2767 checkExportedIncludeDirs := func(module, variant string, expectedDirs ...string) {
2769 m := result.ModuleForTests(module, variant).Module()
2771 android.AssertPathsRelativeToTopEquals(t, "exported include dirs for "+module+"["+variant+"]",
2919 variant := "android_arm64_armv8-a_shared"
2921 module := ctx.ModuleForTests("libvendor_available1", variant).Module().(*Module)
2924 module = ctx.ModuleForTests("libproduct_available1", variant).Module().(*Module)
2927 module = ctx.ModuleForTests("libcore", variant).Module().(*Module)
2932 variant = "android_vendor.29_arm64_armv8-a_shared"
2934 module = ctx.ModuleForTests("libvendor_available1", variant).Module().(*Module)
2937 module = ctx.ModuleForTests("libvendor2", variant).Module().(*Module)
2942 variant = "android_product.29_arm64_armv8-a_shared"
2944 module = ctx.ModuleForTests("libproduct_available1", variant).Module().(*Module)
2947 module = ctx.ModuleForTests("libproduct2", variant).Module().(*Module)
2954 variant := "android_arm64_armv8-a_shared"
2955 module := ctx.ModuleForTests("libvendor_available2", variant).Module().(*Module)
2958 variant = "android_vendor.29_arm64_armv8-a_shared"
2959 module = ctx.ModuleForTests("libvendor_available2", variant).Module().(*Module)
2968 variant := "android_arm64_armv8-a_shared"
2970 module := ctx.ModuleForTests("libvendor_available1", variant).Module().(*Module)
2973 module = ctx.ModuleForTests("libvendor2", variant).Module().(*Module)
2976 module = ctx.ModuleForTests("libproduct2", variant).Module().(*Module)
3007 variant := "android_arm64_armv8-a_shared"
3008 module := ctx.ModuleForTests("lib2", variant).Module().(*Module)
3012 variant = "android_arm64_armv8-a_static"
3013 module = ctx.ModuleForTests("lib2", variant).Module().(*Module)
3270 variant := "android_arm64_armv8-a"
3271 binModuleRule := ctx.ModuleForTests("static_test", variant).Rule("ld")
3354 variant := "android_arm64_armv8-a_fuzzer"
3355 ctx.ModuleForTests("fuzz_smoke_test", variant).Rule("cc")
3665 variant string
3671 variant: "android_arm64_armv8-a_static",
3677 variant: "android_arm64_armv8-a_static",
3683 variant: "android_arm64_armv8-a_sdk_static",
3689 variant: "android_arm64_armv8-a_static",
3702 libfoo := ctx.ModuleForTests("libfoo", tc.variant)