commit | 48aed8cee05cac991adf6fa304e5d7969a507b0c | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Fri Jun 13 18:25:54 2014 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Wed Jun 18 12:57:56 2014 -0700 |
tree | c6e3d947ecc8a6f50dd2eea967348a50ef7f3ae1 | |
parent | 71bd58a96699ff441fb4282a10394e8747b8d828 [diff] |
Add more Build/Rule/Pool params validation. This change adds two new kinds of checks to params validation. First, all BuildParams must have one or more outputs. Second, any Pool or Rule referenced must be visible within the Blueprint scope of the caller (e.g. if it's defined in another Go package then an Import call must have been made). If either of these conditions are violated it will result in a panic. Change-Id: Ibacb42513882d914c94eade23ef17269db5e8730