build_stages: pass the list of packages to build to build_packages

build_packages automatically determines a list of packages to build if
none is given. This applies to most of the configs in cbuidlbot.

This CL moves the logic into cbuildbot so that we explicitly pass a
list of packages to build_packages. This way, we also know what
packages to extract the dependencies for later.

TEST=`cbuildbot --remote link-paladin`

Change-Id: I025c771f66cfc57a2fc0cf390e93dc373952d4d8
Tested-by: Yu-Ju Hong <>
Reviewed-by: David James <>
Commit-Queue: Yu-Ju Hong <>
1 file changed