Index: gclient_utils.py |
diff --git a/gclient_utils.py b/gclient_utils.py |
index 655e5aa1b704e9c49dd0d626fe72c191201aa80f..46bea3d3a51a6c923204ab00ab0221742aa489ae 100644 |
--- a/gclient_utils.py |
+++ b/gclient_utils.py |
@@ -655,6 +655,8 @@ def GetBuildtoolsPath(): |
This is based on the root of the checkout containing the current directory.""" |
gclient_root = FindGclientRoot(os.getcwd()) |
if not gclient_root: |
+ if os.path.exists('buildtools'): |
+ return os.path.join(os.getcwd(), 'buildtools') |
return None |
return os.path.join(gclient_root, 'src', 'buildtools') |