Home
last modified time | relevance | path

Searched refs:tmpDir (Results 1 – 10 of 10) sorted by relevance

/build/soong/ui/build/
Dutil_test.go33 tmpDir, err := ioutil.TempDir("", "")
38 err := os.RemoveAll(tmpDir)
44 ensureEmptyDirectoriesExist(ctx, filepath.Join(tmpDir, "a/b"))
46 err = os.Chmod(filepath.Join(tmpDir, "a"), 0555)
51 ensureEmptyDirectoriesExist(ctx, filepath.Join(tmpDir, "a"))
55 tmpDir, err := ioutil.TempDir("", "test_copy_file")
59 defer os.Remove(tmpDir)
62 src := filepath.Join(tmpDir, "src.txt")
67 dst := filepath.Join(tmpDir, "dst.txt")
89 tmpDir, err := ioutil.TempDir("", "test_copy_file_errors")
[all …]
Drbe_test.go49 tmpDir := t.TempDir()
51 rbeBootstrapCmd := filepath.Join(tmpDir, bootstrapCmd)
57 env.Set("OUT_DIR", tmpDir)
58 env.Set("RBE_DIR", tmpDir)
64 rbeMetricsFilename := filepath.Join(tmpDir, rbeMetricsPBFilename)
104 tmpDir := t.TempDir()
106 rbeBootstrapCmd := filepath.Join(tmpDir, bootstrapCmd)
113 env.Set("OUT_DIR", tmpDir)
114 env.Set("RBE_DIR", tmpDir)
120 rbeMetricsFilename := filepath.Join(tmpDir, rbeMetricsPBFilename)
Dupload_test.go111 orgTmpDir := tmpDir
112 tmpDir = func(string, string) (string, error) {
119 defer func() { tmpDir = orgTmpDir }()
154 tmpDir string
163 tmpDir: "/fake_dir",
182 orgTmpDir := tmpDir
183 tmpDir = func(string, string) (string, error) {
184 return tt.tmpDir, tt.tmpDirErr
186 defer func() { tmpDir = orgTmpDir }()
Dupload.go40 tmpDir = ioutil.TempDir var
97 tmpDir, err := tmpDir("", "upload_metrics")
103 dst := filepath.Join(tmpDir, filepath.Base(src))
118 DirectoriesToDelete: []string{tmpDir},
124 pbFile := filepath.Join(tmpDir, uploadPbFilename)
Ddumpvars.go58 tmpDir, err := ioutil.TempDir("", "dumpvars")
62 defer os.RemoveAll(tmpDir)
64 SetupLitePath(ctx, config, tmpDir)
66 ret, err = dumpMakeVars(ctx, config, goals, makeVars, false, tmpDir)
83 func dumpMakeVars(ctx Context, config Config, goals, vars []string, write_soong_vars bool, tmpDir s…
99 if tmpDir != "" {
100 cmd.Environment.Set("TMPDIR", tmpDir)
Dpath.go64 func SetupLitePath(ctx Context, config Config, tmpDir string) {
76 if tmpDir == "" {
77 tmpDir, _ = config.Environment().Get("TMPDIR")
79 myPath := filepath.Join(tmpDir, "path")
Dconfig.go220 tmpDir := absPath(ctx, ret.TempDir())
221 ret.environ.Set("TMPDIR", tmpDir)
/build/soong/java/
Dhiddenapi.go228 …Command: `rm -rf $tmpDir && mkdir -p $tmpDir && mkdir $tmpDir/dex-input && mkdir $tmpDir/dex-outpu…
229 unzip -qoDD $in 'classes*.dex' -d $tmpDir/dex-input &&
230 for INPUT_DEX in $$(find $tmpDir/dex-input -maxdepth 1 -name 'classes*.dex' | sort); do
234 …${config.SoongZipCmd} $soongZipFlags -o $tmpDir/dex.jar -C $tmpDir/dex-output -f "$tmpDir/dex-outp…
235 …ig.MergeZipsCmd} -j -D -zipToNotStrip $tmpDir/dex.jar -stripFile "classes*.dex" -stripFile "**/*.u…
256 tmpDir := outputDir.Join(ctx, dexInput.Base()+"-tmp")
285 "tmpDir": tmpDir.String(),
Djacoco.go33 Command: `rm -rf $tmpDir && mkdir -p $tmpDir && ` +
36 ` instrument --quiet --dest $tmpDir $strippedJar && ` +
/build/soong/cmd/path_interposer/
Dmain_test.go27 var tmpDir string var
33 tmpDir, err = ioutil.TempDir("", "interposer_test")
37 defer os.RemoveAll(tmpDir)
50 f, err := ioutil.TempFile(tmpDir, "interposer")