Cleanup more bazel code
Bug: 315353489 Test: m nothing --no-skip-soong-tests Change-Id: I6c6b4fcd559f4a45b1a96c70cbb5d6d1a615ccff
This commit is contained in:
@@ -15,7 +15,6 @@ bootstrap_go_package {
|
||||
"paths_test.go",
|
||||
],
|
||||
deps: [
|
||||
"soong-bazel",
|
||||
"golang-protobuf-proto",
|
||||
],
|
||||
}
|
||||
|
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user