crosswalk-project/crosswalk — pull request #1561 by rakuco (2014-02-06 15:22:11+00:00)
Title: BACKPORT: [Tools] Unbreak fetch_deps.py after Chromium r249077.

depot_tools commit 249077 broke our fetch_deps.py because gclient does not
accept absolute paths in --gclient-file anymore.

Since we already set cwd when calling
gclient_utils.CheckCallAndFilterAndHeader(), we can just strip the rest of the
path in self._new_gclient_file to fix things.

BUG=https://crosswalk-project.org/jira/browse/XWALK-930

(cherry picked from commit db574173408c8dd4dddd9102400a0decb80ebd96)