Add filter hwid_tool command, to filter data for just one board.

This is for use in producing bundles/releases.  The filter
command will produce data files containing only the necessary
data for a given kind of build (filtering by component and bom
supportedness status), and will remove all of the unrelated
component probe names and data from the component_db.

BUG=chrome-os-partner:6003
TEST=run hwid_tool filter_database

Change-Id: Ie5292fbedebe2e150ee6e2f86de1741c1935f84f
Reviewed-on: https://gerrit.chromium.org/gerrit/17579
Commit-Ready: Tammo Spalink <tammo@chromium.org>
Reviewed-by: Tammo Spalink <tammo@chromium.org>
Tested-by: Tammo Spalink <tammo@chromium.org>
3 files changed