crash-reporter: Use chromeos::KeyValueStore.

Make the crash reporter use libchromeos's KeyValueStore
class to read its log-collection config file and
/etc/lsb-release instead of its own parsing code.

Also update the log-collection config file to split long
commands across multiple lines and to use '=' instead of ':'
to separate executable names from commands.

TEST=updated tests; also triggered powerd and chrome crashes
     and checked that logs were attached

Change-Id: I4e2447712869608f32a4ae38f5d5cb9c6046af14
Reviewed-by: Dan Erat <>
Commit-Queue: Dan Erat <>
Tested-by: Dan Erat <>
7 files changed
tree: 8c6396e6415004710ffd3f033332d2435cd53f2d
  1. crash_reporter/