You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
819 B
27 lines
819 B
4 months ago
|
package bazel
|
||
|
|
||
|
type RunName string
|
||
|
|
||
|
// Below is a list bazel execution run names used through out the
|
||
|
// Platform Build systems. Each run name represents an unique key
|
||
|
// to query the bazel metrics.
|
||
|
const (
|
||
|
// Perform a bazel build of the phony root to generate symlink forests
|
||
|
// for dependencies of the bazel build.
|
||
|
BazelBuildPhonyRootRunName = RunName("bazel-build-phony-root")
|
||
|
|
||
|
// Perform aquery of the bazel build root to retrieve action information.
|
||
|
AqueryBuildRootRunName = RunName("aquery-buildroot")
|
||
|
|
||
|
// Perform cquery of the Bazel build root and its dependencies.
|
||
|
CqueryBuildRootRunName = RunName("cquery-buildroot")
|
||
|
|
||
|
// Run bazel as a ninja executer
|
||
|
BazelNinjaExecRunName = RunName("bazel-ninja-exec")
|
||
|
)
|
||
|
|
||
|
// String returns the name of the run.
|
||
|
func (c RunName) String() string {
|
||
|
return string(c)
|
||
|
}
|