goma_client recipe: Use a target_cpu property instead of platform.arch

platform.arch describes the host system. We want to cross-build gomaclient
at least for now, since there's no arm go binary at the moment.

Bug: b/183118231
Change-Id: Icd2465da4fbbb835a92289b676f301e94cba3c6f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2782780
Auto-Submit: Nico Weber <thakis@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
4 files changed
tree: a20c2e028a6f4f55ddac23e140d257551bb6235b
  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 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.