fix -I flag paths when building out-of-tree

The current build logic assumes the build dir is directly under the
source dir.  This fails if the build and source trees are completely
different paths.  So use a full path to the source dir rather than a
relative one so that it works in all states.

TEST=`cros_run_unit_tests --board x86-alex -p crash-reporter` still works

Change-Id: I0e6b4c257cbef5879cb67e8692e3082bbb5fb2d5
Reviewed-by: Ben Chan <>
Commit-Ready: Mike Frysinger <>
Tested-by: Mike Frysinger <>
1 file changed
tree: f2e2d833d9a828450eb3f8489b207c05c3251b1d
  1. crash_reporter/