diff options
author | 2024-06-25 10:42:33 -0700 | |
---|---|---|
committer | 2024-06-25 11:02:38 -0700 | |
commit | 487b144fe0188c862284adb159b05e3dafcb1baf (patch) | |
tree | f2a9058afbb116db9270f025776849025513f489 /shared | |
parent | 79b0eef5a17dd4a0a60fd49d54f8a73e221dca13 (diff) |
Cleanup more bazel code
Bug: 315353489
Test: m nothing --no-skip-soong-tests
Change-Id: I6c6b4fcd559f4a45b1a96c70cbb5d6d1a615ccff
Diffstat (limited to 'shared')
-rw-r--r-- | shared/Android.bp | 1 | ||||
-rw-r--r-- | shared/paths.go | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/shared/Android.bp b/shared/Android.bp index 3c84f5532..d5e86146f 100644 --- a/shared/Android.bp +++ b/shared/Android.bp @@ -15,7 +15,6 @@ bootstrap_go_package { "paths_test.go", ], deps: [ - "soong-bazel", "golang-protobuf-proto", ], } diff --git a/shared/paths.go b/shared/paths.go index fca8b4c15..1ee66d581 100644 --- a/shared/paths.go +++ b/shared/paths.go @@ -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") -} |