blob: b10f256f0f2c4ef8770d1acdfd2ea397a86fb403 [file] [log] [blame]
Patrice Arruda05ab2d02020-12-12 06:24:26 +00001package 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")
Liz Kammer09f947d2021-05-12 14:51:49 -040021
22 SoongInjectionDirName = "soong_injection"
23
Sam Delmerico7f889562022-03-25 14:55:40 +000024 GeneratedBazelFileWarning = "# GENERATED FOR BAZEL FROM SOONG. DO NOT EDIT."
Patrice Arruda05ab2d02020-12-12 06:24:26 +000025)
26
27// String returns the name of the run.
28func (c RunName) String() string {
29 return string(c)
30}