Home
last modified time | relevance | path

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

123

/build/soong/cc/
Dprebuilt_test.go115 liba := ctx.ModuleForTests("liba", "android_arm64_armv8-a_shared").Module()
116 libb := ctx.ModuleForTests("libb", "android_arm64_armv8-a_static").Module()
117 libd := ctx.ModuleForTests("libd", "android_arm64_armv8-a_shared").Module()
118 libe := ctx.ModuleForTests("libe", "android_arm64_armv8-a_static").Module()
119 libfStatic := ctx.ModuleForTests("libf", "android_arm64_armv8-a_static").Module()
120 libfShared := ctx.ModuleForTests("libf", "android_arm64_armv8-a_shared").Module()
121 crtx := ctx.ModuleForTests("crtx", "android_arm64_armv8-a").Module()
123 prebuiltLiba := ctx.ModuleForTests("prebuilt_liba", "android_arm64_armv8-a_shared").Module()
124 prebuiltLibb := ctx.ModuleForTests("prebuilt_libb", "android_arm64_armv8-a_static").Module()
125 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")
Dcc_test.go177 ld := result.ModuleForTests("libTest", "fuchsia_arm64_shared").Rule("ld")
212 ld := result.ModuleForTests("libTest", "fuchsia_arm64_shared").Rule("ld")
237 ld := ctx.ModuleForTests("libTest", vendorVariant).Rule("ld")
248 mod := ctx.ModuleForTests(name, variant).Module().(*Module)
366 mod := ctx.ModuleForTests(name, variant).Module().(*Module)
401 mod := ctx.ModuleForTests(moduleName, variant)
458 got := ctx.ModuleForTests(module, "").Module().(*vndkLibrariesTxt).fileNames
726 module := ctx.ModuleForTests("llndk.libraries.txt", "")
804 module := ctx.ModuleForTests("main_test", "android_arm_armv7-a-neon").Module()
855 module := ctx.ModuleForTests("main_test", "android_arm_armv7-a-neon").Module()
[all …]
Dlibrary_test.go32 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
33 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
61 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
62 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
87 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
88 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
113 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
114 libfooStatic := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_static").Output("libfoo.a")
139 libfooShared := ctx.ModuleForTests("libfoo", "android_arm_armv7-a-neon_shared").Rule("ld")
140 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)
Dsanitize_test.go111 binWithAsan := result.ModuleForTests("bin_with_asan", asanVariant)
112 binNoAsan := result.ModuleForTests("bin_no_asan", variant)
115 libShared := result.ModuleForTests("libshared", sharedVariant)
116 libTransitive := result.ModuleForTests("libtransitive", sharedVariant)
119 libAsan := result.ModuleForTests("libasan", sharedAsanVariant)
123 libStaticAsanVariant := result.ModuleForTests("libstatic", staticAsanVariant)
124 libStaticNoAsanVariant := result.ModuleForTests("libstatic", staticVariant)
127 libNoAsan := result.ModuleForTests("libnoasan", staticVariant)
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")
Dobject_test.go42 cflags := ctx.ModuleForTests("crt_foo", variant).Rule("cc").Args["cFlags"]
65 crt := ctx.ModuleForTests("bin", variant).Rule("ld").Args["crtBegin"]
71 crt = ctx.ModuleForTests("bin", variant).Rule("ld").Args["crtBegin"]
101 module := ctx.ModuleForTests("foo", "android_arm_armv7-a-neon").Module()
/build/soong/sysprop/
Dsysprop_test.go251 result.ModuleForTests("libsysprop-platform", variant)
252 result.ModuleForTests("libsysprop-vendor", variant)
253 result.ModuleForTests("libsysprop-odm", variant)
262 library := result.ModuleForTests("libsysprop-platform", variant).Module().(*cc.Module)
267 result.ModuleForTests("libsysprop-vendor-on-product", variant)
270 result.ModuleForTests("sysprop-platform", "android_common")
271 result.ModuleForTests("sysprop-platform_public", "android_common")
272 result.ModuleForTests("sysprop-vendor", "android_common")
273 result.ModuleForTests("sysprop-vendor-on-product", "android_common")
288 platformClient := result.ModuleForTests("cc-client-platform", coreVariant)
[all …]
/build/soong/rust/
Dlibrary_test.go40 …libfooRlib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_rlib_rlib-std").Output("libfoo.rlib…
41 libfooDylib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_dylib").Output("libfoo.dylib.so")
42 …libfooStatic := ctx.ModuleForTests("libfoo.ffi", "linux_glibc_x86_64_static").Output("libfoo.ffi.a…
43 …libfooShared := ctx.ModuleForTests("libfoo.ffi", "linux_glibc_x86_64_shared").Output("libfoo.ffi.s…
81 libfooDylib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_dylib").Output("libfoo.dylib.so")
133 libfoo := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_shared")
155 libfoo := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_static")
185 libfooRlib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_rlib_rlib-std")
186 libfooDylib := ctx.ModuleForTests("libfoo", "linux_glibc_x86_64_dylib")
187 libfooStatic := ctx.ModuleForTests("libfoo.ffi", "linux_glibc_x86_64_static")
[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")
113 install_path_lib64 := ctx.ModuleForTests("libfoo",
115 install_path_lib32 := ctx.ModuleForTests("libfoo",
117 install_path_bin := ctx.ModuleForTests("fizzbuzz",
173 r := result.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").MaybeRule("rustc")
176 r = result.ModuleForTests("libbar", "android_arm64_armv8-a_dylib").MaybeRule("rustc")
179 r = result.ModuleForTests("libfoobar", "android_arm64_armv8-a_dylib").MaybeRule("rustc")
197 fizz := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Module().(*Module)
198 fooRlib := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_rlib_dylib-std").Module().(*Module)
[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").Output("fizz-buzz")
125 fizzOut := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Output("fizz")
126 fizzMod := ctx.ModuleForTests("fizz", "android_arm64_armv8-a").Module().(*Module)
159 fizzBuzz := ctx.ModuleForTests("fizz-buzz", "android_arm64_armv8-a").Output("fizz-buzz")
182 foo := ctx.ModuleForTests("foo", "android_arm64_armv8-a")
190 fizzBar := ctx.ModuleForTests("bar", "android_arm64_armv8-a").MaybeOutput("stripped/bar")
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…
Drust_test.go207 module := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Module().(*Module)
208 rustc := ctx.ModuleForTests("librlib", "linux_glibc_x86_64_rlib_rlib-std").Rule("rustc")
290 libfoo := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_rlib_dylib-std").Rule("rustc")
298 fizzBuzz := ctx.ModuleForTests("fizz-buzz-dep", "android_arm64_armv8-a").Rule("rustc")
306 libprocmacro := ctx.ModuleForTests("libprocmacro", "linux_glibc_x86_64").Rule("rustc")
315 libfooMod := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").Module().(*Module)
319 fizzBuzzMod := ctx.ModuleForTests("fizz-buzz-dep", "android_arm64_armv8-a").Module().(*Module)
323 libprocmacroMod := ctx.ModuleForTests("libprocmacro", "linux_glibc_x86_64").Module().(*Module)
371 rustc := ctx.ModuleForTests("libpm", "linux_glibc_x86_64").Rule("rustc")
386 module := ctx.ModuleForTests("fizz-buzz", "android_arm64_armv8-a").Module().(*Module)
[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")
/build/soong/java/
Dplugin_test.go30 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
31 turbine := ctx.ModuleForTests("foo", "android_common").MaybeRule("turbine")
63 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
64 turbine := ctx.ModuleForTests("foo", "android_common").MaybeRule("turbine")
70 bar := ctx.ModuleForTests("bar", buildOS+"_common").Rule("javac").Output.String()
103 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
104 turbine := ctx.ModuleForTests("foo", "android_common").MaybeRule("turbine")
110 bar := ctx.ModuleForTests("bar", buildOS+"_common").Rule("javac").Output.String()
Dkotlin_test.go44 fooKotlinc := ctx.ModuleForTests("foo", "android_common").Rule("kotlinc")
45 fooJavac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
46 fooJar := ctx.ModuleForTests("foo", "android_common").Output("combined/foo.jar")
67 fooHeaderJar := ctx.ModuleForTests("foo", "android_common").Output("turbine-combined/foo.jar")
68 bazHeaderJar := ctx.ModuleForTests("baz", "android_common").Output("turbine-combined/baz.jar")
69 barKotlinc := ctx.ModuleForTests("bar", "android_common").Rule("kotlinc")
119 kapt := ctx.ModuleForTests("foo", "android_common").Rule("kapt")
120 kotlinc := ctx.ModuleForTests("foo", "android_common").Rule("kotlinc")
121 javac := ctx.ModuleForTests("foo", "android_common").Rule("javac")
123 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 …]
Dsdk_library_test.go113 foo := result.ModuleForTests("foo", "android_common")
114 result.ModuleForTests(apiScopePublic.stubsLibraryModuleName("foo"), "android_common")
115 result.ModuleForTests(apiScopeSystem.stubsLibraryModuleName("foo"), "android_common")
116 result.ModuleForTests(apiScopeTest.stubsLibraryModuleName("foo"), "android_common")
117 result.ModuleForTests(apiScopePublic.stubsSourceModuleName("foo"), "android_common")
118 result.ModuleForTests(apiScopeSystem.stubsSourceModuleName("foo"), "android_common")
119 result.ModuleForTests(apiScopeTest.stubsSourceModuleName("foo"), "android_common")
120 result.ModuleForTests("foo"+sdkXmlFileSuffix, "android_common")
121 result.ModuleForTests("foo.api.public.28", "")
122 result.ModuleForTests("foo.api.system.28", "")
[all …]
Dapp_import_test.go40 variant := ctx.ModuleForTests("foo", "android_common")
69 variant := ctx.ModuleForTests("foo", "android_common")
90 variant := ctx.ModuleForTests("foo", "android_common")
122 variant := ctx.ModuleForTests("foo", "android_common")
156 variant := ctx.ModuleForTests("foo", "android_common")
179 variant := ctx.ModuleForTests("foo", "android_common")
263 variant := result.ModuleForTests("foo", "android_common")
306 variant := ctx.ModuleForTests(test.name, "android_common")
390 variant := ctx.ModuleForTests("foo", "android_common")
424 variant := ctx.ModuleForTests("prebuilt_foo", "android_common")
[all …]
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()
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")
/build/soong/apex/
Dapex_test.go516 apexRule := ctx.ModuleForTests("myapex", "android_common_myapex_image").Rule("apexRule")
519 ab := ctx.ModuleForTests("myapex", "android_common_myapex_image").Module().(*apexBundle)
593 …mergeNoticesRule := ctx.ModuleForTests("myapex", "android_common_myapex_image").Rule("mergeNotices…
602 …fullDepsInfo := strings.Split(ctx.ModuleForTests("myapex", "android_common_myapex_image").Output("…
608 …flatDepsInfo := strings.Split(ctx.ModuleForTests("myapex", "android_common_myapex_image").Output("…
705 module := ctx.ModuleForTests("myapex", "android_common_myapex_image")
746 zipApexRule := ctx.ModuleForTests("myapex", "android_common_myapex_zip").Rule("zipApexRule")
819 apexRule := ctx.ModuleForTests("myapex", "android_common_myapex_image").Rule("apexRule")
831 …mylibLdFlags := ctx.ModuleForTests("mylib", "android_arm64_armv8-a_shared_apex10000").Rule("ld").A…
844 …mylib2Cflags := ctx.ModuleForTests("mylib2", "android_arm64_armv8-a_static").Rule("cc").Args["cFla…
[all …]

123