1package bazel 2 3type RunName string 4 5// Below is a list bazel execution run names used through out the 6// Platform Build systems. Each run name represents an unique key 7// to query the bazel metrics. 8const ( 9 // Perform a bazel build of the phony root to generate symlink forests 10 // for dependencies of the bazel build. 11 BazelBuildPhonyRootRunName = RunName("bazel-build-phony-root") 12 13 // Perform aquery of the bazel build root to retrieve action information. 14 AqueryBuildRootRunName = RunName("aquery-buildroot") 15 16 // Perform cquery of the Bazel build root and its dependencies. 17 CqueryBuildRootRunName = RunName("cquery-buildroot") 18 19 // Run bazel as a ninja executer 20 BazelNinjaExecRunName = RunName("bazel-ninja-exec") 21) 22 23// String returns the name of the run. 24func (c RunName) String() string { 25 return string(c) 26} 27