[v8] Move PGO profile generation into a builder class

This prepares the recipe to be used for try / ci builds, where most of
the logic is shared, but profiles are not uploaded after the generation.

Note, this CL does not alter expectations.

Bug: 353419839
Change-Id: I9886a5de6acddf31ba25f505504a5b7747c74e03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/5872536
Commit-Queue: Alexander Schulze <alexschulze@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
2 files changed
tree: 2f28c486e96c7187ada663c1bb919c1f565c778c
  1. hook-scripts/
  2. infra/
  3. recipes/
  4. scripts/
  5. .gitattributes
  6. .gitignore
  7. .style.yapf
  8. .vpython3
  9. .yapfignore
  10. codereview.settings
  11. DEPS
  12. LICENSE
  13. OWNERS
  14. PRESUBMIT.py
  15. PRESUBMIT_test.py
  16. README.md
README.md

Recipes

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

Style

The preferred style is PEP8 with two-space indent. 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.