Add ToolchainsRequest and ToolchainsResponse BAPI protos

Rubik builds need a way to get toolchain info, wrapping
existing GetToolchainTupleForBoard method in a BAPI endpoint.

BUG=b:237098403
TEST=./generate

Change-Id: If5e0a5a32b255c696fdd09f3ade3c220a324cb2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/3727118
Commit-Queue: Jack Neus <jackneus@google.com>
Reviewed-by: George Engelbrecht <engeg@google.com>
Reviewed-by: Madeleine Hardt <hardtmad@google.com>
(cherry picked from commit 793af242e5e991de6ff6d890c38be903dca2ca69)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/3752956
Auto-Submit: Jack Neus <jackneus@google.com>
Reviewed-by: Benjamin Shai <bshai@google.com>
Commit-Queue: Benjamin Shai <bshai@google.com>
3 files changed
tree: ffe244d5eedbac3c6b88625c72d677c635be5875
  1. extern/
  2. gen/
  3. go/
  4. infra/
  5. recipes/
  6. src/
  7. .gitattributes
  8. .gitignore
  9. buf.yaml
  10. generate.sh
  11. LICENSE
  12. OWNERS
  13. PRESUBMIT.cfg
  14. PRESUBMIT.py
  15. README.md
  16. setup_cipd.sh
  17. unblocked_terms.txt
README.md

infra/proto

infra/proto vs chromite/infra/proto

This repository exists in two locations in the tree: infra/proto, and chromite/infra/proto. The infra/proto repository is always at ToT, while the chromite/infra/proto checkout is branched to allow the proto there to (more) accurately reflect the version of the proto the Build API is using.

When making changes to the proto that you need to test in the Build API, you will need ensure the changes are applied to the chromite/infra/proto checkout. Chromite generates its proto bindings from the chromite/infra/proto repo.