Home
last modified time | relevance | path

Searched refs:ModuleForTests (Results 1 – 25 of 89) sorted by relevance

1234

/build/soong/rust/
Dsanitize_test.go156 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)
167 …checkHasMemtagNote(t, ctx.ModuleForTests("set_memtag_binary_override_default_async", variant), Asy…
[all …]
Dlibrary_test.go40 libfooRlib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_rlib_rlib-std").Rule("rustc")
41 libfooDylib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_dylib").Rule("rustc")
42 libfooStatic := ctx.ModuleForTests("libfoo.ffi", "linux_glibc_x86_64_static").Rule("rustc")
43 libfooShared := ctx.ModuleForTests("libfoo.ffi", "linux_glibc_x86_64_shared").Rule("rustc")
81 libfooDylib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_dylib").Rule("rustc")
97 libfooDylib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_dylib").Rule("rustc")
149 libfoo := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_shared")
175 fizzbuzz := ctx.ModuleForTests("fizzbuzz", "android_arm64_armv8-a").Rule("ld")
191 libfoo := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_static")
232 libfooRlib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_rlib_rlib-std")
[all …]
Dbinary_test.go47 fizzBuzzHost := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Module().(*Module)
48 fizzBuzzDevice := ctx.ModuleForTests("fizz-buzz", "android_arm64_armv8-a").Module().(*Module)
76 mod := ctx.ModuleForTests("rlib_linked", "android_arm64_armv8-a").Module().(*Module)
95 path := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Module().(*Module).HostToolPath()
109 fizzBuzz := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Rule("rustc")
126 foo := ctx.ModuleForTests("foo", "android_arm64_armv8-a").Rule("rustc")
142 fizzOut := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Rule("rustc")
143 fizzMod := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Module().(*Module)
176 fizzBuzz := ctx.ModuleForTests("fizz-buzz", "android_arm64_armv8-a").Rule("rustc")
199 foo := ctx.ModuleForTests("foo", "android_arm64_armv8-a")
[all …]
Dcompiler_test.go37 libfooDylib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_dylib").Rule("rustc")
58 libfooDylib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_dylib").Rule("rustc")
147 fizz := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Rule("rustc")
172 install_path_lib64 := ctx.ModuleForTests("libfoo",
174 install_path_lib32 := ctx.ModuleForTests("libfoo",
176 install_path_bin := ctx.ModuleForTests("fizzbuzz",
232 r := result.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").MaybeRule("rustc")
235 r = result.ModuleForTests("libbar", "android_arm64_armv8-a_dylib").MaybeRule("rustc")
238 r = result.ModuleForTests("libfoobar", "android_arm64_armv8-a_dylib").MaybeRule("rustc")
256 fizz := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Module().(*Module)
[all …]
Dprotobuf_test.go44 …librust_proto := ctx.ModuleForTests("librust_proto", "android_arm64_armv8-a_dylib").Module().(*Mod…
50 …librust_proto_out := ctx.ModuleForTests("librust_proto", "android_arm64_armv8-a_source").Output("b…
65 …librust_proto_outputs := ctx.ModuleForTests("librust_proto", "android_arm64_armv8-a_source").AllOu…
84 …librust_grpcio_module := ctx.ModuleForTests("librust_grpcio", "android_arm64_armv8-a_dylib").Modul…
97 …librust_grpcio_out := ctx.ModuleForTests("librust_grpcio", "android_arm64_armv8-a_source").Output(…
109 …librust_grpcio_outputs := ctx.ModuleForTests("librust_grpcio", "android_arm64_armv8-a_source").All…
Dcoverage_test.go54 libfooCov := ctx.ModuleForTests("libfoo_cov", "android_arm64_armv8-a_dylib_cov").Rule("rustc")
55 libbarNoCov := ctx.ModuleForTests("libbar_nocov", "android_arm64_armv8-a_dylib").Rule("rustc")
56 fizzCov := ctx.ModuleForTests("fizz_cov", "android_arm64_armv8-a_cov").Rule("rustc")
57 buzzNoCov := ctx.ModuleForTests("buzzNoCov", "android_arm64_armv8-a").Rule("rustc")
106 fizz := ctx.ModuleForTests("fizz", "android_arm64_armv8-a_cov").Rule("rustc")
Drust_test.go250 module := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Module().(*Module)
251 rustc := ctx.ModuleForTests("librlib", "linux_glibc_x86_64_rlib_rlib-std").Rule("rustc")
333 libfoo := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_rlib_dylib-std").Rule("rustc")
341 fizzBuzz := ctx.ModuleForTests("fizz-buzz-dep", "android_arm64_armv8-a").Rule("rustc")
349 libprocmacro := ctx.ModuleForTests("libprocmacro", "linux_glibc_x86_64").Rule("rustc")
358 libfooMod := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").Module().(*Module)
362 fizzBuzzMod := ctx.ModuleForTests("fizz-buzz-dep", "android_arm64_armv8-a").Module().(*Module)
366 libprocmacroMod := ctx.ModuleForTests("libprocmacro", "linux_glibc_x86_64").Module().(*Module)
414 rustc := ctx.ModuleForTests("libpm", "linux_glibc_x86_64").Rule("rustc")
429 module := ctx.ModuleForTests("fizz-buzz", "android_arm64_armv8-a").Module().(*Module)
[all …]
/build/soong/cc/
Dsanitize_test.go109 binWithAsan := result.ModuleForTests("bin_with_asan", asanVariant)
110 binNoAsan := result.ModuleForTests("bin_no_asan", variant)
113 libShared := result.ModuleForTests("libshared", sharedVariant)
114 libTransitive := result.ModuleForTests("libtransitive", sharedVariant)
117 libAsan := result.ModuleForTests("libasan", sharedAsanVariant)
121 libStaticAsanVariant := result.ModuleForTests("libstatic", staticAsanVariant)
122 libStaticNoAsanVariant := result.ModuleForTests("libstatic", staticVariant)
125 libNoAsan := result.ModuleForTests("libnoasan", staticVariant)
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)
[all …]
Dprebuilt_test.go118 liba := ctx.ModuleForTests("liba", "android_arm64_armv8-a_shared").Module()
119 libb := ctx.ModuleForTests("libb", "android_arm64_armv8-a_static").Module()
120 libd := ctx.ModuleForTests("libd", "android_arm64_armv8-a_shared").Module()
121 libe := ctx.ModuleForTests("libe", "android_arm64_armv8-a_static").Module()
122 libfStatic := ctx.ModuleForTests("libf", "android_arm64_armv8-a_static").Module()
123 libfShared := ctx.ModuleForTests("libf", "android_arm64_armv8-a_shared").Module()
124 crtx := ctx.ModuleForTests("crtx", "android_arm64_armv8-a").Module()
126 prebuiltLiba := ctx.ModuleForTests("prebuilt_liba", "android_arm64_armv8-a_shared").Module()
127 prebuiltLibb := ctx.ModuleForTests("prebuilt_libb", "android_arm64_armv8-a_static").Module()
128 prebuiltLibd := ctx.ModuleForTests("prebuilt_libd", "android_arm64_armv8-a_shared").Module()
[all …]
Dsdk_test.go84 libsdkNDK := ctx.ModuleForTests("libsdk", "android_arm64_armv8-a_sdk_shared")
85 libsdkPlatform := ctx.ModuleForTests("libsdk", "android_arm64_armv8-a_shared")
86 libsdkdepNDK := ctx.ModuleForTests("libsdkdep", "android_arm64_armv8-a_sdk_shared")
87 libsdkdepPlatform := ctx.ModuleForTests("libsdkdep", "android_arm64_armv8-a_shared")
88 libplatform := ctx.ModuleForTests("libplatform", "android_arm64_armv8-a_shared")
89 platformbinary := ctx.ModuleForTests("platformbinary", "android_arm64_armv8-a")
90 sdkbinary := ctx.ModuleForTests("sdkbinary", "android_arm64_armv8-a_sdk")
92 libcxxNDK := ctx.ModuleForTests("ndk_libc++_shared", "android_arm64_armv8-a_sdk_shared")
93 libcxxPlatform := ctx.ModuleForTests("libc++", "android_arm64_armv8-a_shared")
Dlibrary_test.go33 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
34 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
62 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
63 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
88 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
89 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
114 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
115 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
140 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
141 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
[all …]
Dgen_test.go36 aidl := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("aidl")
37 libfoo := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Module().(*Module)
62 aidl := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("aidl")
63 …aidlManifest := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Output("aidl.sbox.…
64 libfoo := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Module().(*Module)
Dlibrary_headers_test.go44 cc := ctx.ModuleForTests("lib", "android_arm64_armv8-a_static").Rule("cc")
48 headers := ctx.ModuleForTests("headers", "android_arm64_armv8-a").Module()
82 lib := ctx.ModuleForTests("lib", "android_arm64_armv8-a_static")
83 sourceDep := ctx.ModuleForTests("headers", "android_arm64_armv8-a")
84 prebuiltDep := ctx.ModuleForTests("prebuilt_headers", "android_arm64_armv8-a")
Dvendor_public_library_test.go73 …cc := ctx.ModuleForTests("libsystem", strings.Replace(coreVariant, "_shared", "_static", 1)).Rule(…
80 ld := ctx.ModuleForTests("libsystem", coreVariant).Rule("ld")
88 ld = ctx.ModuleForTests("libproduct", productVariant).Rule("ld")
96 ld = ctx.ModuleForTests("libvendor", vendorVariant).Rule("ld")
Dafdo_test.go49 libTest := result.ModuleForTests("libTest", "android_arm64_armv8-a_shared").Module()
50 libFoo := result.ModuleForTests("libFoo", "android_arm64_armv8-a_static_afdo-libTest").Module()
51 libBar := result.ModuleForTests("libBar", "android_arm64_armv8-a_static_afdo-libTest").Module()
/build/soong/sysprop/
Dsysprop_test.go248 result.ModuleForTests("libsysprop-platform", variant)
249 result.ModuleForTests("libsysprop-vendor", variant)
250 result.ModuleForTests("libsysprop-odm", variant)
259 library := result.ModuleForTests("libsysprop-platform", variant).Module().(*cc.Module)
264 result.ModuleForTests("libsysprop-vendor-on-product", variant)
267 result.ModuleForTests("sysprop-platform", "android_common")
268 result.ModuleForTests("sysprop-platform_public", "android_common")
269 result.ModuleForTests("sysprop-vendor", "android_common")
270 result.ModuleForTests("sysprop-vendor-on-product", "android_common")
285 platformClient := result.ModuleForTests("cc-client-platform", coreVariant)
[all …]
/build/soong/java/
Dplugin_test.go29 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
30 turbine := ctx.ModuleForTests("foo", "android_common").MaybeRule("turbine")
62 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
63 turbine := ctx.ModuleForTests("foo", "android_common").MaybeRule("turbine")
69 bar := ctx.ModuleForTests("bar", buildOS+"_common").Rule("javac").Output.String()
102 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
103 turbine := ctx.ModuleForTests("foo", "android_common").MaybeRule("turbine")
109 bar := ctx.ModuleForTests("bar", buildOS+"_common").Rule("javac").Output.String()
Dkotlin_test.go45 kotlinStdlib := ctx.ModuleForTests("kotlin-stdlib", "android_common").
47 kotlinAnnotations := ctx.ModuleForTests("kotlin-annotations", "android_common").
50 fooKotlinc := ctx.ModuleForTests("foo", "android_common").Rule("kotlinc")
51 fooJavac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
52 fooJar := ctx.ModuleForTests("foo", "android_common").Output("combined/foo.jar")
53 fooHeaderJar := ctx.ModuleForTests("foo", "android_common").Output("turbine-combined/foo.jar")
92 bazHeaderJar := ctx.ModuleForTests("baz", "android_common").Output("turbine-combined/baz.jar")
93 barKotlinc := ctx.ModuleForTests("bar", "android_common").Rule("kotlinc")
143 foo := ctx.ModuleForTests("foo", "android_common")
149 bar := ctx.ModuleForTests("bar", buildOS+"_common").Rule("javac").Output.String()
[all …]
Djava_test.go236 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
237 combineJar := ctx.ModuleForTests("foo", "android_common").Description("for javac")
243 baz := ctx.ModuleForTests("baz", "android_common").Rule("javac").Output.String()
348 javac := ctx.ModuleForTests(want.library, "android_common").Rule("javac")
352 turbine := ctx.ModuleForTests(want.library, "android_common").MaybeRule("turbine")
416 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
446 bar := ctx.ModuleForTests("bar", buildOS+"_common")
448 barWrapper := ctx.ModuleForTests("bar", buildOS+"_x86_64")
451 libjni := ctx.ModuleForTests("libjni", buildOS+"_x86_64_shared")
483 foo := ctx.ModuleForTests("foo", buildOS+"_common").Module().(*TestHost)
[all …]
Ddex_test.go44 app := result.ModuleForTests("app", "android_common")
45 lib := result.ModuleForTests("lib", "android_common")
46 staticLib := result.ModuleForTests("static_lib", "android_common")
85 foo := result.ModuleForTests("foo", "android_common")
86 lib := result.ModuleForTests("lib", "android_common")
87 staticLib := result.ModuleForTests("static_lib", "android_common")
Dgenrule_test.go59 gen := ctx.ModuleForTests("gen", "android_common").Output("out")
94 foo := ctx.ModuleForTests("foo", "android_common").Output("javac/foo.jar")
95 jargen := ctx.ModuleForTests("jargen", "android_common").Output("jargen.jar")
96 bar := ctx.ModuleForTests("bar", "android_common").Output("javac/bar.jar")
97 baz := ctx.ModuleForTests("baz", "android_common").Output("javac/baz.jar")
98 barCombined := ctx.ModuleForTests("bar", "android_common").Output("combined/bar.jar")
Dandroidmk_test.go33 mod := ctx.ModuleForTests("foo", "android_common").Module()
52 mod := ctx.ModuleForTests("foo", "android_common").Module()
83 mod := ctx.ModuleForTests("foo", "android_common").Module()
118 mod := ctx.ModuleForTests("foo", "android_common").Module()
155 result.ModuleForTests("foo-shared_library.xml", "android_common")
165 mod := result.ModuleForTests(tc.moduleName, "android_common").Module()
200 mod := ctx.ModuleForTests("foo", "android_common").Module()
248 mod := ctx.ModuleForTests(expected.name, expected.variantName).Module()
Ddevice_host_converter_test.go55 deviceModule := ctx.ModuleForTests("device_module", "android_common")
60 deviceImportModule := ctx.ModuleForTests("device_import_module", "android_common")
63 hostModule := ctx.ModuleForTests("host_module", config.BuildOSCommonTarget.String())
136 hostModule := ctx.ModuleForTests("host_module", config.BuildOSCommonTarget.String())
140 hostImportModule := ctx.ModuleForTests("host_import_module", config.BuildOSCommonTarget.String())
143 deviceModule := ctx.ModuleForTests("device_module", "android_common")
Dlint_test.go40 foo := ctx.ModuleForTests("foo", "android_common")
62 foo := ctx.ModuleForTests("foo", "android_common")
109 foo := ctx.ModuleForTests("foo", "android_common")
208 foo := result.ModuleForTests("foo", "android_common")
215 bar := result.ModuleForTests("bar", "android_common")
249 foo := result.ModuleForTests("foo", "android_common")
285 foo := result.ModuleForTests("foo", "android_common")
/build/soong/android/
Ddeptag_test.go93 hostFoo := result.ModuleForTests("foo", config.BuildOSCommonTarget.String()).Description("install")
94 …hostInstallDep := result.ModuleForTests("install_dep", config.BuildOSCommonTarget.String()).Descri…
95 …hostTransitive := result.ModuleForTests("transitive", config.BuildOSCommonTarget.String()).Descrip…
96 hostDep := result.ModuleForTests("dep", config.BuildOSCommonTarget.String()).Description("install")
114 deviceFoo := result.ModuleForTests("foo", "android_common").Description("install")
115 deviceInstallDep := result.ModuleForTests("install_dep", "android_common").Description("install")
116 deviceTransitive := result.ModuleForTests("transitive", "android_common").Description("install")
117 deviceDep := result.ModuleForTests("dep", "android_common").Description("install")

1234