diff options
Diffstat (limited to 'shared/paths.go')
-rw-r--r-- | shared/paths.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/paths.go b/shared/paths.go index f5dc5dd2e..1b9ff6098 100644 --- a/shared/paths.go +++ b/shared/paths.go @@ -18,6 +18,8 @@ package shared import ( "path/filepath" + + "android/soong/bazel" ) // A SharedPaths represents a list of paths that are shared between @@ -37,6 +39,6 @@ func TempDirForOutDir(outDir string) (tempPath string) { // 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 string) string { - return filepath.Join(s.BazelMetricsDir(), actionName+"_bazel_profile.gz") +func BazelMetricsFilename(s SharedPaths, actionName bazel.RunName) string { + return filepath.Join(s.BazelMetricsDir(), actionName.String()+"_bazel_profile.gz") } |