Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: checkdeps/checkdeps.py

Issue 1954943003: Fix checkdeps when includes contain "../" in them. (Closed) Base URL: https://chromium.googlesource.com/chromium/buildtools.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: checkdeps/checkdeps.py
diff --git a/checkdeps/checkdeps.py b/checkdeps/checkdeps.py
index 85e0ae998f94b66b2c43198147b5be4322678bd3..d61643d708b87fed60f2cb9357722b60da0ef4e6 100755
--- a/checkdeps/checkdeps.py
+++ b/checkdeps/checkdeps.py
@@ -107,7 +107,7 @@ class DepsChecker(DepsBuilder):
where rule_type is one of Rule.DISALLOW or Rule.TEMP_ALLOW and
rule_description is human-readable. Empty if no problems.
"""
- cpp = cpp_checker.CppChecker(self.verbose)
+ cpp = cpp_checker.CppChecker(self.verbose, self._resolve_dotdot)
problems = []
for file_path, include_lines in added_includes:
if not cpp.IsCppFile(file_path):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698