Cleanup more bazel code

Bug: 315353489
Test: m nothing --no-skip-soong-tests
Change-Id: I6c6b4fcd559f4a45b1a96c70cbb5d6d1a615ccff
This commit is contained in:
Cole Faust
2024-06-25 10:42:33 -07:00
parent 79b0eef5a1
commit 487b144fe0
16 changed files with 0 additions and 3215 deletions

View File

@@ -15,7 +15,6 @@ bootstrap_go_package {
"paths_test.go",
],
deps: [
"soong-bazel",
"golang-protobuf-proto",
],
}

View File

@@ -18,8 +18,6 @@ package shared
import (
"path/filepath"
"android/soong/bazel"
)
// A SharedPaths represents a list of paths that are shared between
@@ -49,11 +47,3 @@ func JoinPath(base string, rest ...string) string {
func TempDirForOutDir(outDir string) (tempPath string) {
return filepath.Join(outDir, ".temp")
}
// BazelMetricsFilename returns the bazel profile filename based
// on the action name. This is to help to store a set of bazel
// profiles since bazel may execute multiple times during a single
// build.
func BazelMetricsFilename(s SharedPaths, actionName bazel.RunName) string {
return filepath.Join(s.BazelMetricsDir(), actionName.String()+"_bazel_profile.gz")
}