Make .ycm_extra_conf.py work for files in
commit7dcc77a0b53096d58b149a63c803c08f5ac53f51
authordgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 17 May 2013 14:01:52 +0000 (17 14:01 +0000)
committerdgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 17 May 2013 14:01:52 +0000 (17 14:01 +0000)
tree0d6166231cf4a890dc69e8ebf5a3811dc2e54fce
parent4a93d92ce04a56741819b84045b6f89154ac1116
Make .ycm_extra_conf.py work for files in
third_party/leveldatabase

The subroutine for finding chromium's root was looking for a
directory that contained "src" and either "src/.git" or
".gclient". This unfortunately matches
third_party/leveldatabase.

This patch adds a check for src/DEPS as well.

BUG=
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/15225002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200815 0039d316-1c4b-4281-b951-d872f2087c98
tools/vim/chromium.ycm_extra_conf.py