[reclient] Add cache directory support to the reclient api.

This is being added to be able to make use of the upcoming dependency
caching capabilities being implemented in reclient.

Recipe-Nontrivial-Roll: build_limited_scripts_slave
Bug: b/185144586
Change-Id: I1d519ee7c320cb3a68bc091156fb642a1799a9d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2821852
Commit-Queue: Michael Savigny <msavigny@google.com>
Auto-Submit: Michael Savigny <msavigny@google.com>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@google.com>
5 files changed
tree: bd0deec485443d77df8dfea081e39422707ee753
  1. infra/
  2. recipes/
  3. scripts/
  4. site_config/
  5. .gitattributes
  6. .gitignore
  7. .style.yapf
  8. .vpython
  9. .yapfignore
  10. codereview.settings
  11. CROS_OWNERS
  12. DEPS
  13. environment.cfg.py
  14. LICENSE
  15. OWNERS
  16. PRESUBMIT.py
  17. README.md
  18. WATCHLISTS
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; 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.