Add hwid_tool command to generate legacy hwid data files.

This is useful to allow maintaining data in the new format with
the tool, but allowing that data to be consumed by code from
older factory branches.

BUG=chrome-os-partner:7974
TEST=run 'hwid_tool legacy_export'

Change-Id: I13a4993ca7cc82b0c65c4f39df8bd052691225bb
Reviewed-on: https://gerrit.chromium.org/gerrit/18527
Commit-Ready: Tammo Spalink <tammo@chromium.org>
Reviewed-by: Tammo Spalink <tammo@chromium.org>
Tested-by: Tammo Spalink <tammo@chromium.org>
1 file changed