diff options
author | alancutter@chromium.org <alancutter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-09 23:11:35 +0000 |
---|---|---|
committer | alancutter@chromium.org <alancutter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-09 23:11:35 +0000 |
commit | 26385174eecea18029fcdf32eb1725924e75a5a8 (patch) | |
tree | 16aafc502709e9f045be464a0be214a7db559d68 /PRESUBMIT.py | |
parent | ea22b0b9b481a65076dace864090873cb29f34e6 (diff) | |
download | chromium_src-26385174eecea18029fcdf32eb1725924e75a5a8.zip chromium_src-26385174eecea18029fcdf32eb1725924e75a5a8.tar.gz chromium_src-26385174eecea18029fcdf32eb1725924e75a5a8.tar.bz2 |
Using explicit checkout local path in presubmit checkdeps
Ensure checkdeps searches the current repository instead of
only Chromium's. This is part of enabling checkdeps in Blink.
BUG=238992
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/14779012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 7931b83..7f4c5a9 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -415,7 +415,7 @@ def _CheckUnwantedDependencies(input_api, output_api): changed_lines = [line for line_num, line in f.ChangedContents()] added_includes.append([f.LocalPath(), changed_lines]) - deps_checker = checkdeps.DepsChecker() + deps_checker = checkdeps.DepsChecker(input_api.PresubmitLocalPath()) error_descriptions = [] warning_descriptions = [] |