brillo flash: Add support for --blueprint.
This CL adds basic support for --blueprint to brillo flash:
* `brillo flash --blueprint ...` will flash the latest image built for
that blueprint.
BUG=brillo:945
TEST=brillo flash --device .. --blueprint .. works.
TEST=`cros flash gizmoip gizmo` works
TEST=unittests.
Change-Id: Ida3094b6bf699201fb397dabeb1854bcc55afdac
Reviewed-on: https://chromium-review.googlesource.com/269227
Reviewed-by: David Pursell <dpursell@chromium.org>
Trybot-Ready: Bertrand Simonnet <bsimonnet@chromium.org>
Tested-by: Bertrand Simonnet <bsimonnet@chromium.org>
Commit-Queue: Bertrand Simonnet <bsimonnet@chromium.org>
5 files changed