factory bundle info: allow using a local boards.yaml

Currently the script uses a Google internal boards.yaml file to get
factory branch info for a board. This CL supports to use a local
boards.yaml file so external partners can also use this script.

TEST=./py/tools/factory_bundle_info.py --boards_yaml=boards.yaml

Change-Id: Ia459e1383b0a9a57efd0df004c227198e49c7559
Reviewed-on: https://chromium-review.googlesource.com/246894
Tested-by: Bowgo Tsai <bowgotsai@chromium.org>
Reviewed-by: Bowgo Tsai <bowgotsai@chromium.org>
Commit-Queue: Bowgo Tsai <bowgotsai@chromium.org>
1 file changed