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.

TEST=run 'hwid_tool legacy_export'

Change-Id: I13a4993ca7cc82b0c65c4f39df8bd052691225bb
Commit-Ready: Tammo Spalink <>
Reviewed-by: Tammo Spalink <>
Tested-by: Tammo Spalink <>
1 file changed