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.

TEST=run hwid_tool filter_database

Change-Id: Ie5292fbedebe2e150ee6e2f86de1741c1935f84f
Commit-Ready: Tammo Spalink <>
Reviewed-by: Tammo Spalink <>
Tested-by: Tammo Spalink <>
3 files changed