From 26385174eecea18029fcdf32eb1725924e75a5a8 Mon Sep 17 00:00:00 2001 From: "alancutter@chromium.org" Date: Thu, 9 May 2013 23:11:35 +0000 Subject: 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 --- PRESUBMIT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PRESUBMIT.py') 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 = [] -- cgit v1.1