cros_check_firmware_tarball: Add command to check firmware tarballs

This command reads srcuris and checks if all firmware tarballs exist on
BCS. If all firmware tarballs exist on BCS, return success (0).
Otherwise, generate the missing firmware tarballs and return error (1).

BUG=b:151703178
TEST=Run cros_check_firmware_tarball for kukui board after modifying its
srcuris

Change-Id: Ia6c844741bc197c45cf0fb5eb7cc9f08e8837e5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2091154
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Tested-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Commit-Queue: Chen-Tsung Hsieh <chentsung@chromium.org>
1 file changed