Home
last modified time | relevance | path

Searched refs:buildDir (Results 1 – 25 of 46) sorted by relevance

12

/build/soong/bpf/
Dbpf_test.go26 var buildDir string var
30 buildDir, err = ioutil.TempDir("", "genrule_test")
37 os.RemoveAll(buildDir)
51 func testConfig(buildDir string, env map[string]string, bp string) android.Config {
57 return cc.TestConfig(buildDir, android.Android, env, bp, mockFS)
83 config := testConfig(buildDir, nil, bp)
/build/soong/android/
Dandroid_test.go23 var buildDir string var
27 buildDir, err = ioutil.TempDir("", "soong_android_test")
34 os.RemoveAll(buildDir)
Dconfig.go62 return c.buildDir
97 buildDir string // the path of the build output directory member
203 func NullConfig(buildDir string) Config {
206 buildDir: buildDir,
213 func TestConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) Config {
235 buildDir: buildDir,
257 func TestArchConfigNativeBridge(buildDir string, env map[string]string, bp string, fs map[string][]…
258 testConfig := TestArchConfig(buildDir, env, bp, fs)
271 func TestArchConfigFuchsia(buildDir string, env map[string]string, bp string, fs map[string][]byte)…
272 testConfig := TestConfig(buildDir, env, bp, fs)
[all …]
Dpaths_test.go250 func pathTestConfig(buildDir string) Config {
251 return TestConfig(buildDir, nil, "", nil)
799 buildDir string
805 buildDir: "out",
810 buildDir: "out",
816 buildDir: "out",
834 testConfig := pathTestConfig(test.buildDir)
963 func testPathForModuleSrc(t *testing.T, buildDir string, tests []pathForModuleSrcTestCase) {
999 config := TestConfig(buildDir, nil, "", mockFS)
1080 srcs: []string{buildDir + "/.intermediates/ofp/b/gen/b"},
[all …]
Dmutator_test.go70 config := TestConfig(buildDir, nil, bp, nil)
139 config := TestConfig(buildDir, nil, bp, nil)
243 config := TestConfig(buildDir, nil, bp, nil)
290 config := TestConfig(buildDir, nil, `test {name: "foo"}`, nil)
Ddefaults_test.go81 config := TestConfig(buildDir, nil, bp, nil)
125 config := TestConfig(buildDir, nil, bp, nil)
Drule_builder_test.go476 config := TestConfig(buildDir, nil, bp, fs)
524 outFile := filepath.Join(buildDir, ".intermediates", "foo", "foo")
530 outDir := filepath.Join(buildDir, ".intermediates", "foo_sbox")
533 sbox := filepath.Join(buildDir, "host", config.PrebuiltOS(), "bin/sbox")
534 sandboxPath := shared.TempDirForOutDir(buildDir)
542 outFile := filepath.Join(buildDir, "baz")
Dandroidmk_test.go80 config := TestConfig(buildDir, nil, bp, nil)
252 config := TestConfig(buildDir, nil, testCase.bp, nil)
Dcsuite_config_test.go22 config := TestArchConfig(buildDir, nil, bpFileContents, nil)
/build/soong/xml/
Dxml_test.go26 var buildDir string var
30 buildDir, err = ioutil.TempDir("", "soong_xml_test")
37 os.RemoveAll(buildDir)
59 config := android.TestArchConfig(buildDir, nil, bp, fs)
115 …assertEqual(t, "installDir", buildDir+"/target/product/test_device/system/etc", m.InstallDirPath()…
/build/soong/genrule/
Dgenrule_test.go29 var buildDir string var
33 buildDir, err = ioutil.TempDir("", "genrule_test")
40 os.RemoveAll(buildDir)
124 return android.TestArchConfig(buildDir, nil, bp, mockFS)
614 …deps: []string{buildDir + "/.intermediates/gen/gen/gensrcs/in1.h", buildDir + "/.intermediates/ge…
615 …files: []string{buildDir + "/.intermediates/gen/gen/gensrcs/in1.h", buildDir + "/.intermediates/ge…
629 …deps: []string{buildDir + "/.intermediates/gen/gen/gensrcs/in1.h", buildDir + "/.intermediates/ge…
630 …files: []string{buildDir + "/.intermediates/gen/gen/gensrcs/in1.h", buildDir + "/.intermediates/ge…
/build/soong/etc/
Dprebuilt_etc_test.go27 var buildDir string var
31 buildDir, err = ioutil.TempDir("", "soong_etc_test")
38 os.RemoveAll(buildDir)
59 config := android.TestArchConfig(buildDir, nil, bp, fs)
223 expected := buildDir + "/target/product/test_device/system/etc/bar"
265 expected := buildDir + "/target/product/test_device/system/usr/share/bar"
282 expected := filepath.Join(buildDir, "host", config.PrebuiltOS(), "usr", "share", "bar")
297 expected := buildDir + "/target/product/test_device/system/fonts"
304 targetPath := buildDir + "/target/product/test_device"
340 targetPath := filepath.Join(buildDir, "/target/product/test_device")
/build/soong/python/
Dpython_test.go31 var buildDir string var
331 config := android.TestConfig(buildDir, nil, "", d.mockFiles)
347 expectModule(t, ctx, buildDir, e.name,
382 func expectModule(t *testing.T, ctx *android.TestContext, buildDir, name, variant, expectedSrcsZip … argument
404 if base.srcsZip.String() != strings.Replace(expectedSrcsZip, "@prefix@", buildDir, 1) {
413 expectedDepsSrcsZips[i] = strings.Replace(expectedDepsSrcsZips[i], "@prefix@", buildDir, 1)
428 buildDir, err = ioutil.TempDir("", "soong_python_test")
435 os.RemoveAll(buildDir)
/build/soong/sh/
Dsh_binary_test.go12 var buildDir string var
16 buildDir, err = ioutil.TempDir("", "soong_sh_test")
23 os.RemoveAll(buildDir)
44 config := android.TestArchConfig(buildDir, nil, bp, fs)
/build/soong/java/
Dsdk_test.go101 aidl: "-p" + buildDir + "/framework.aidl",
110 aidl: "-p" + buildDir + "/framework.aidl",
138 aidl: "-p" + buildDir + "/framework.aidl",
254 aidl: "-p" + buildDir + "/framework_non_updatable.aidl",
262 aidl: "-p" + buildDir + "/framework.aidl",
333 …system = "--system=" + filepath.Join(buildDir, ".intermediates", dir, testcase.system, "android_co…
336 …filepath.Join(buildDir, ".intermediates", dir, testcase.system, "android_common", "system", "lib",…
337 …filepath.Join(buildDir, ".intermediates", dir, testcase.system, "android_common", "system", "lib",…
338 …filepath.Join(buildDir, ".intermediates", dir, testcase.system, "android_common", "system", "relea…
Dapp_test.go127 filepath.Join(buildDir, ".intermediates/foo/android_common/foo.apk"),
128 filepath.Join(buildDir, ".intermediates/foo/android_common/foo_v4.apk"),
129 filepath.Join(buildDir, ".intermediates/foo/android_common/foo_v7_hdpi.apk"),
718 buildDir + "/.intermediates/foo/android_common/aapt2/package-res.apk",
719 buildDir + "/.intermediates/lib1/android_common/assets.zip",
720 buildDir + "/.intermediates/lib3/android_common/assets.zip",
733 buildDir + "/.intermediates/lib3/android_common/aapt2/package-res.apk",
734 buildDir + "/.intermediates/lib4/android_common/assets.zip",
799 buildDir + "/.intermediates/lib2/android_common/package-res.apk",
800 buildDir + "/.intermediates/lib/android_common/package-res.apk",
[all …]
Dtesting.go30 func TestConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) android.Co…
114 config := android.TestArchConfig(buildDir, env, bp, mockFS)
Ddexpreopt_bootjars_test.go62 expectedInputs[i] = filepath.Join(buildDir, "test_device", expectedInputs[i])
66 expectedOutputs[i] = filepath.Join(buildDir, "test_device", expectedOutputs[i])
/build/soong/rust/
Dproject_json_test.go40 config := android.TestArchConfig(buildDir, env, bp, fs)
51 _, err := ioutil.ReadFile(filepath.Join(buildDir, "rust-project.json"))
Drust_test.go31 buildDir string var
36 buildDir, err = ioutil.TempDir("", "soong_rust_test")
43 os.RemoveAll(buildDir)
71 return android.TestArchConfig(buildDir, nil, bp, fs)
/build/soong/cc/
Dtest_data_test.go112 buildDir, err := ioutil.TempDir("", "soong_test_test")
116 defer os.RemoveAll(buildDir)
120 config := android.TestConfig(buildDir, nil, "", map[string][]byte{
Dcc_test.go30 var buildDir string var
34 buildDir, err = ioutil.TempDir("", "soong_cc_test")
41 os.RemoveAll(buildDir)
70 config := TestConfig(buildDir, android.Android, nil, bp, nil)
79 config := TestConfig(buildDir, android.Android, nil, bp, nil)
107 config := TestConfig(buildDir, android.Android, nil, bp, nil)
115 config := TestConfig(buildDir, android.Android, nil, bp, nil)
144 config := TestConfig(buildDir, android.Fuchsia, nil, bp, nil)
181 config := TestConfig(buildDir, android.Fuchsia, nil, bp, nil)
370 config := TestConfig(buildDir, android.Android, nil, bp, nil)
[all …]
Dtesting.go536 func TestConfig(buildDir string, os android.OsType, env map[string]string,
552 config = android.TestArchConfigFuchsia(buildDir, env, bp, mockFS)
554 config = android.TestArchConfig(buildDir, env, bp, mockFS)
/build/soong/sysprop/
Dsysprop_test.go33 var buildDir string var
37 buildDir, err = ioutil.TempDir("", "soong_sysprop_test")
44 os.RemoveAll(buildDir)
141 config := java.TestConfig(buildDir, env, bp, mockFS)
/build/soong/sdk/
Dtesting.go66 config := android.TestArchConfig(buildDir, nil, bp, mockFS)
422 var buildDir string var
426 buildDir, err = ioutil.TempDir("", "soong_sdk_test")
433 _ = os.RemoveAll(buildDir)

12