/build/soong/bpf/ |
D | bpf_test.go | 26 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/ |
D | android_test.go | 23 var buildDir string var 27 buildDir, err = ioutil.TempDir("", "soong_android_test") 34 os.RemoveAll(buildDir)
|
D | config.go | 62 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 …]
|
D | paths_test.go | 250 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 …]
|
D | mutator_test.go | 70 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)
|
D | defaults_test.go | 81 config := TestConfig(buildDir, nil, bp, nil) 125 config := TestConfig(buildDir, nil, bp, nil)
|
D | rule_builder_test.go | 476 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")
|
D | androidmk_test.go | 80 config := TestConfig(buildDir, nil, bp, nil) 252 config := TestConfig(buildDir, nil, testCase.bp, nil)
|
D | csuite_config_test.go | 22 config := TestArchConfig(buildDir, nil, bpFileContents, nil)
|
/build/soong/xml/ |
D | xml_test.go | 26 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/ |
D | genrule_test.go | 29 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/ |
D | prebuilt_etc_test.go | 27 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/ |
D | python_test.go | 31 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/ |
D | sh_binary_test.go | 12 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/ |
D | sdk_test.go | 101 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…
|
D | app_test.go | 127 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 …]
|
D | testing.go | 30 func TestConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) android.Co… 114 config := android.TestArchConfig(buildDir, env, bp, mockFS)
|
D | dexpreopt_bootjars_test.go | 62 expectedInputs[i] = filepath.Join(buildDir, "test_device", expectedInputs[i]) 66 expectedOutputs[i] = filepath.Join(buildDir, "test_device", expectedOutputs[i])
|
/build/soong/rust/ |
D | project_json_test.go | 40 config := android.TestArchConfig(buildDir, env, bp, fs) 51 _, err := ioutil.ReadFile(filepath.Join(buildDir, "rust-project.json"))
|
D | rust_test.go | 31 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/ |
D | test_data_test.go | 112 buildDir, err := ioutil.TempDir("", "soong_test_test") 116 defer os.RemoveAll(buildDir) 120 config := android.TestConfig(buildDir, nil, "", map[string][]byte{
|
D | cc_test.go | 30 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 …]
|
D | testing.go | 536 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/ |
D | sysprop_test.go | 33 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/ |
D | testing.go | 66 config := android.TestArchConfig(buildDir, nil, bp, mockFS) 422 var buildDir string var 426 buildDir, err = ioutil.TempDir("", "soong_sdk_test") 433 _ = os.RemoveAll(buildDir)
|