process_artifacts: Import Bazel's spawn.proto

I chose prost as the protocol buffer implementation because it's the
most popular one (c.f.  https://crates.io/keywords/protobuf) and
maintained by a trusted community (tokio). rules_rust also has prost
support (rust_prost_library) but I use cargo_build_script + build.rs for
now for rust-analyzer compatibility.

BUG=b:331890379
TEST=bazel test //bazel/portage/tools/process_artifacts:all

Change-Id: Ibffd40fc14bf198642a9671156b83ed2b715ca53
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/bazel/+/5528443
Tested-by: Shuhei Takahashi <nya@chromium.org>
Commit-Queue: Shuhei Takahashi <nya@chromium.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
10 files changed