/build/soong/xml/ |
D | xml_test.go | 25 config, buildDir := setup(t) 26 defer teardown(buildDir) 47 func setup(t *testing.T) (config android.Config, buildDir string) { 48 buildDir, err := ioutil.TempDir("", "soong_xml_test") 53 config = android.TestArchConfig(buildDir, nil) 58 func teardown(buildDir string) { 59 os.RemoveAll(buildDir)
|
/build/soong/python/ |
D | python_test.go | 327 config, buildDir := setupBuildEnv(t) 328 defer tearDownBuildEnv(buildDir) 352 expectModule(t, ctx, buildDir, e.name, 387 func expectModule(t *testing.T, ctx *android.TestContext, buildDir, name, variant, expectedSrcsZip … argument 409 if base.srcsZip.String() != strings.Replace(expectedSrcsZip, "@prefix@", buildDir, 1) { 418 expectedDepsSrcsZips[i] = strings.Replace(expectedDepsSrcsZips[i], "@prefix@", buildDir, 1) 431 func setupBuildEnv(t *testing.T) (config android.Config, buildDir string) { 432 buildDir, err := ioutil.TempDir("", buildNamePrefix) 437 config = android.TestConfig(buildDir, nil) 442 func tearDownBuildEnv(buildDir string) { [all …]
|
/build/soong/android/ |
D | prebuilt_etc_test.go | 28 config, buildDir := setUp(t) 29 defer tearDown(buildDir) 54 func setUp(t *testing.T) (config Config, buildDir string) { 55 buildDir, err := ioutil.TempDir("", "soong_prebuilt_etc_test") 60 config = TestArchConfig(buildDir, nil) 64 func tearDown(buildDir string) { 65 os.RemoveAll(buildDir)
|
D | vts_config_test.go | 24 buildDir, err := ioutil.TempDir("", "soong_vts_config_test") 29 config := TestArchConfig(buildDir, nil) 30 defer func() { os.RemoveAll(buildDir) }()
|
D | path_properties_test.go | 86 buildDir, err := ioutil.TempDir("", "soong_path_properties_test") 90 defer os.RemoveAll(buildDir) 94 config := TestArchConfig(buildDir, nil)
|
D | paths_test.go | 652 buildDir string 658 buildDir: "out", 663 buildDir: "out", 669 buildDir: "out", 687 testConfig := TestConfig(test.buildDir, nil) 772 func testPathForModuleSrc(t *testing.T, buildDir string, tests []pathForModuleSrcTestCase) { 775 config := TestConfig(buildDir, nil) 885 buildDir, err := ioutil.TempDir("", "soong_paths_for_module_src_test") 889 defer os.RemoveAll(buildDir) 891 testPathForModuleSrc(t, buildDir, tests) [all …]
|
D | config.go | 57 return c.buildDir 99 buildDir string // the path of the build output directory member 200 func TestConfig(buildDir string, env map[string]string) Config { 214 buildDir: buildDir, 230 func TestArchConfigFuchsia(buildDir string, env map[string]string) Config { 231 testConfig := TestConfig(buildDir, env) 247 func TestArchConfig(buildDir string, env map[string]string) Config { 248 testConfig := TestConfig(buildDir, env) 270 func NewConfig(srcDir, buildDir string) (Config, error) { 273 ConfigFileName: filepath.Join(buildDir, configFileName), [all …]
|
D | neverallow_test.go | 161 buildDir, err := ioutil.TempDir("", "soong_neverallow_test") 165 defer os.RemoveAll(buildDir) 167 config := TestConfig(buildDir, nil)
|
D | prebuilt_test.go | 129 buildDir, err := ioutil.TempDir("", "soong_prebuilt_test") 133 defer os.RemoveAll(buildDir) 135 config := TestConfig(buildDir, nil)
|
D | rule_builder_test.go | 365 buildDir, err := ioutil.TempDir("", "soong_test_rule_builder") 369 defer os.RemoveAll(buildDir) 378 config := TestConfig(buildDir, nil) 414 filepath.Join(buildDir, ".intermediates", "foo", "foo")) 418 filepath.Join(buildDir, "baz"))
|
D | namespace_test.go | 616 buildDir, err := ioutil.TempDir("", "soong_namespace_test") 620 defer os.RemoveAll(buildDir) 622 config := TestConfig(buildDir, nil)
|
/build/soong/java/ |
D | app_test.go | 124 filepath.Join(buildDir, ".intermediates/foo/android_common/foo.apk"), 125 filepath.Join(buildDir, ".intermediates/foo/android_common/foo_v4.apk"), 126 filepath.Join(buildDir, ".intermediates/foo/android_common/foo_v7_hdpi.apk"), 216 buildDir + "/.intermediates/lib2/android_common/package-res.apk", 217 buildDir + "/.intermediates/lib/android_common/package-res.apk", 218 buildDir + "/.intermediates/lib3/android_common/package-res.apk", 229 buildDir + "/.intermediates/lib2/android_common/package-res.apk", 251 buildDir + "/.intermediates/lib2/android_common/package-res.apk", 252 buildDir + "/.intermediates/lib/android_common/package-res.apk", 253 buildDir + "/.intermediates/lib3/android_common/package-res.apk", [all …]
|
D | testing.go | 23 func TestConfig(buildDir string, env map[string]string) android.Config { 30 config := android.TestArchConfig(buildDir, env)
|
D | dexpreopt_bootjars_test.go | 71 expectedInputs[i] = filepath.Join(buildDir, "test_device", expectedInputs[i]) 103 expectedOutputs[i] = filepath.Join(buildDir, "test_device", expectedOutputs[i])
|
D | java_test.go | 31 var buildDir string var 35 buildDir, err = ioutil.TempDir("", "soong_java_test") 42 os.RemoveAll(buildDir) 57 return TestConfig(buildDir, env) 231 …return filepath.Join(buildDir, ".intermediates", name, "android_common", "turbine-combined", name+… 263 …barTurbine := filepath.Join(buildDir, ".intermediates", "bar", "android_common", "turbine-combined… 264 …bazTurbine := filepath.Join(buildDir, ".intermediates", "baz", "android_common", "turbine-combined… 417 …barTurbine := filepath.Join(buildDir, ".intermediates", "bar", "android_common", "turbine-combined… 615 …fooHeaderJar := filepath.Join(buildDir, ".intermediates", "foo", "android_common", "turbine-combin… 640 …barHeaderJar := filepath.Join(buildDir, ".intermediates", "bar", "android_common", "turbine-combin… [all …]
|
D | sdk_test.go | 72 aidl: "-p" + buildDir + "/framework.aidl", 80 aidl: "-p" + buildDir + "/framework.aidl", 97 aidl: "-p" + buildDir + "/framework.aidl", 248 …system = "--system=" + filepath.Join(buildDir, ".intermediates", testcase.system, "android_common"…
|
/build/soong/bpf/ |
D | bpf_test.go | 26 var buildDir string var 30 buildDir, err = ioutil.TempDir("", "genrule_test") 37 os.RemoveAll(buildDir) 166 config := android.TestArchConfig(buildDir, nil)
|
/build/soong/cc/ |
D | test_data_test.go | 112 buildDir, err := ioutil.TempDir("", "soong_test_test") 116 defer os.RemoveAll(buildDir) 118 config := android.TestConfig(buildDir, nil)
|
D | genrule_test.go | 48 config := android.TestArchConfig(buildDir, nil)
|
D | prebuilt_test.go | 71 config := android.TestArchConfig(buildDir, nil)
|
D | cc_test.go | 29 var buildDir string var 33 buildDir, err = ioutil.TempDir("", "soong_cc_test") 40 os.RemoveAll(buildDir) 123 config := android.TestArchConfig(buildDir, nil) 132 config := android.TestArchConfig(buildDir, nil) 140 config := android.TestArchConfig(buildDir, nil) 182 config := android.TestArchConfigFuchsia(buildDir, nil) 219 config := android.TestArchConfigFuchsia(buildDir, nil)
|
/build/soong/genrule/ |
D | genrule_test.go | 29 var buildDir string var 33 buildDir, err = ioutil.TempDir("", "genrule_test") 40 os.RemoveAll(buildDir) 460 config := android.TestArchConfig(buildDir, nil) 503 config := android.TestArchConfig(buildDir, nil)
|
/build/soong/sysprop/ |
D | sysprop_test.go | 30 var buildDir string var 34 buildDir, err = ioutil.TempDir("", "soong_sysprop_test") 41 os.RemoveAll(buildDir) 182 config := java.TestConfig(buildDir, env)
|
/build/soong/apex/ |
D | apex_test.go | 30 var buildDir string var 34 config, buildDir = setup(t) 35 defer teardown(buildDir) 194 func setup(t *testing.T) (config android.Config, buildDir string) { 195 buildDir, err := ioutil.TempDir("", "soong_apex_test") 200 config = android.TestArchConfig(buildDir, nil) 209 func teardown(buildDir string) { 210 os.RemoveAll(buildDir) 317 …ensureContains(t, optFlags, "--assets_dir "+buildDir+"/.intermediates/myapex/android_common_myapex…
|
/build/blueprint/bootstrap/ |
D | config.go | 38 buildDir = bootstrapVariable("buildDir", func() string { var
|