constants.go 942 B

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