Home
last modified time | relevance | path

Searched refs:tmpDir (Results 1 – 11 of 11) 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)
115 tmpDir := t.TempDir()
117 rbeBootstrapCmd := filepath.Join(tmpDir, bootstrapCmd)
124 env.Set("OUT_DIR", tmpDir)
125 env.Set("RBE_DIR", tmpDir)
135 rbeMetricsFilename := filepath.Join(tmpDir, rbeMetricsPBFilename)
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)
Dupload.go73 tmpDir, err := getTmpDir("", "upload_metrics")
79 dst := filepath.Join(tmpDir, filepath.Base(src))
94 DirectoriesToDelete: []string{tmpDir},
100 pbFile := filepath.Join(tmpDir, uploadPbFilename)
Dpath.go60 func SetupLitePath(ctx Context, config Config, tmpDir string) {
70 if tmpDir == "" {
71 tmpDir, _ = config.Environment().Get("TMPDIR")
73 myPath := filepath.Join(tmpDir, "path")
Dupload_test.go109 tmpDir string
118 tmpDir: "/fake_dir",
139 return tt.tmpDir, tt.tmpDirErr
Drbe.go55 func getRBEVars(ctx Context, tmpDir string) map[string]string {
57 …return map[string]string{"RBE_server_address": fmt.Sprintf("unix://%v/reproxy_%v.sock", tmpDir, ra…
Dconfig.go187 tmpDir := absPath(ctx, ret.TempDir())
188 ret.environ.Set("TMPDIR", tmpDir)
263 for k, v := range getRBEVars(ctx, tmpDir) {
/build/soong/java/
Dhiddenapi.go148 …Command: `rm -rf $tmpDir && mkdir -p $tmpDir && mkdir $tmpDir/dex-input && mkdir $tmpDir/dex-outpu…
149 unzip -qoDD $in 'classes*.dex' -d $tmpDir/dex-input &&
150 for INPUT_DEX in $$(find $tmpDir/dex-input -maxdepth 1 -name 'classes*.dex' | sort); do
154 …${config.SoongZipCmd} $soongZipFlags -o $tmpDir/dex.jar -C $tmpDir/dex-output -f "$tmpDir/dex-outp…
155 …onfig.MergeZipsCmd} -D -zipToNotStrip $tmpDir/dex.jar -stripFile "classes*.dex" -stripFile "**/*.u…
173 tmpDir := android.PathForModuleOut(ctx, "hiddenapi", "dex")
177 tmpDir = android.PathForModuleOut(ctx, "hiddenapi", "unaligned")
207 "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")