crash: Remove glib from crash_reporter

As part of the minimization effort, refactor crash_reporter code to
not depend directly on glib.

BUG=brillo:87, brillo:88, chromium:435314
TEST=`FEATURES=test emerge-panther libchromeos debugd crash-reporter`
TEST=Enabled crash reports; Browsed to chrome://crash; crash files \
     generated; `FORCE_OFFICIAL=1 SECONDS_SEND_SPREAD=1 crash_sender` \
     /var/log/messages shows crash id, report shows all expected files
TEST=`cbuildbot --remote -p chromiumos/platform2 amd64-generic-full`

Change-Id: I48b366198a7f89ca55259603cf8470e4d59321bf
Reviewed-by: Dan Erat <>
Tested-by: Steve Fung <>
Commit-Queue: Steve Fung <>
15 files changed
tree: 7abb7a322367fdb3f03d6e33d595d54303cf8d0e
  1. crash_reporter/