Patrice Arruda | 05ab2d0 | 2020-12-12 06:24:26 +0000 | [diff] [blame] | 1 | package bazel |
| 2 | |
| 3 | type 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. |
| 8 | const ( |
| 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 Kammer | 09f947d | 2021-05-12 14:51:49 -0400 | [diff] [blame] | 21 | |
| 22 | SoongInjectionDirName = "soong_injection" |
| 23 | |
Sam Delmerico | 7f88956 | 2022-03-25 14:55:40 +0000 | [diff] [blame] | 24 | GeneratedBazelFileWarning = "# GENERATED FOR BAZEL FROM SOONG. DO NOT EDIT." |
Patrice Arruda | 05ab2d0 | 2020-12-12 06:24:26 +0000 | [diff] [blame] | 25 | ) |
| 26 | |
| 27 | // String returns the name of the run. |
| 28 | func (c RunName) String() string { |
| 29 | return string(c) |
| 30 | } |