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

Unified Diff: tools/vim/ninja_output.py

Issue 2303813002: Fix the YCM tests on Mac. (Closed)
Patch Set: The proper^2 fix is actually to remove all uses of realpath Created 4 years, 3 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 | « tools/vim/chromium.ycm_extra_conf.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vim/ninja_output.py
diff --git a/tools/vim/ninja_output.py b/tools/vim/ninja_output.py
index e6add1302c8c0b6938d09deef9aee73e224f4832..af30520d0b07256963531941744fea7c0a3e00bf 100644
--- a/tools/vim/ninja_output.py
+++ b/tools/vim/ninja_output.py
@@ -37,9 +37,8 @@ def GetNinjaOutputDirectory(chrome_root):
if not output_dirs:
for f in os.listdir(chrome_root):
if re.match(r'out(\b|_)', f):
- out = os.path.realpath(os.path.join(chrome_root, f))
- if os.path.isdir(out):
- output_dirs.append(os.path.relpath(out, start = chrome_root))
+ if os.path.isdir(os.path.join(chrome_root, f)):
+ output_dirs.append(f)
def generate_paths():
for out_dir in output_dirs:
« no previous file with comments | « tools/vim/chromium.ycm_extra_conf.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698