[pgo] enable skipping uploads for generated profiles

This CL enables PGO runs without the upload component. This will
allow setup of PGO trybots that run the Chromium recipe, compile,
instrument and generate a profile without uploading it.

Change-Id: I746e34aad7c58c75c204ac9c03d593ed71b2da98
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2522703
Commit-Queue: Jeff Yoon <jeffyoon@google.com>
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
6 files changed
tree: dc5318a2bab65fc73eab0a07c33e9374788916ae
  1. infra/
  2. recipes/
  3. scripts/
  4. site_config/
  5. third_party/
  6. .gitattributes
  7. .gitignore
  8. .style.yapf
  9. .vpython
  10. .yapfignore
  11. codereview.settings
  12. CROS_OWNERS
  13. DEPS
  14. environment.cfg.py
  15. LICENSE
  16. OWNERS
  17. PRESUBMIT.py
  18. README.md
  19. WATCHLISTS
README.md

Recipes

If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*), please take a look at the README for more information pertaining to recipes.

Style

The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores, with the exception of the special functions RunSteps and RunTests in recipes. Use yapf (git cl format --no-clang-format) to autoformat new code.