siso: Refactor Run function to not used named return values.

That simplifies control over the pointers for deferred functions.

Additionally move monitoring function in the postRun as it's the only place in code that requires stats.

Bug: b/476857778
Change-Id: Id1ed68477884e1dcc186e47f729110316a6a6964
Reviewed-on: https://chromium-review.googlesource.com/c/build/+/7509011
Reviewed-by: Fumitoshi Ukai <[email protected]>
Commit-Queue: Alex Ovsienko <[email protected]>
1 file changed
tree: 54c2ba3aea826248055402d4a15bfad986e95c6f
  1. bench/
  2. gong/
  3. infra/
  4. kajiya/
  5. kzipinfo/
  6. runmc/
  7. siso/
  8. .gitignore
  9. .golangci.yml
  10. .style.yapf
  11. BUILD_OWNERS
  12. BUILD_TEAM_OWNERS
  13. CONTRIBUTING.md
  14. LICENSE
  15. OWNERS
  16. PRESUBMIT.py
  17. README.md
  18. WATCHLISTS
README.md

build.git repository

This repository contains tools developed and owned by the Chrome Build Team.

Quick start

The steps for getting the code are:

  1. Install depot_tools
  2. Run git clone https://chromium.googlesource.com/build

We use the standard Go module workflow to work on our projects.

Links