From 487b144fe0188c862284adb159b05e3dafcb1baf Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Tue, 25 Jun 2024 10:42:33 -0700 Subject: Cleanup more bazel code Bug: 315353489 Test: m nothing --no-skip-soong-tests Change-Id: I6c6b4fcd559f4a45b1a96c70cbb5d6d1a615ccff --- shared/Android.bp | 1 - shared/paths.go | 10 ---------- 2 files changed, 11 deletions(-) (limited to 'shared') 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") -} -- cgit v1.2.3-59-g8ed1b