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.
BUG=chromium-os:33327
TEST=`cros_run_unit_tests --board x86-alex -p crash-reporter` still works
Change-Id: I0e6b4c257cbef5879cb67e8692e3082bbb5fb2d5
Reviewed-on: https://gerrit.chromium.org/gerrit/29577
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
1 file changed