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

Unified Diff: gclient_utils.py

Issue 1072973003: Fix GetPrimarySolutionPath() to not include buildtools (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 5 years, 8 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: gclient_utils.py
diff --git a/gclient_utils.py b/gclient_utils.py
index f80cd78e4a52e6ebb4abe5ab2fa35203191a9ce3..d2f0af683986ca573c1c67d1cb663f0593dbee3c 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -679,7 +679,7 @@ def GetPrimarySolutionPath():
pass
top_dir = top_dir[0]
if os.path.exists(os.path.join(top_dir, 'buildtools')):
- return os.path.join(top_dir, 'buildtools')
+ return top_dir
return None
# Some projects' top directory is not named 'src'.
« 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