contrib: Add get_binhost.py

This script sets PORTAGE_BINHOST for a given board to the postsubmit
build matching the currently checked out manifest snapshot. This
should solve the issue of packages (including chrome) needing to be
locally built even on the stable manifest branch.

BUG=b:187792529, b:187791181
TEST=Manually tested

Change-Id: I1dd8ffffaca28ea2243c80bfa3433174191b1716
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2952784
Reviewed-by: David Munro <davidmunro@google.com>
Commit-Queue: Fergus Dall <sidereal@google.com>
Tested-by: Fergus Dall <sidereal@google.com>
1 file changed