Index: build/landmines.py |
diff --git a/build/landmines.py b/build/landmines.py |
index c31bac7901c362a320d735596dba887aa2d34ba3..b62e75851cb4e74581440943a36dd9631fc772f1 100755 |
--- a/build/landmines.py |
+++ b/build/landmines.py |
@@ -43,7 +43,7 @@ def get_build_dir(build_tool, is_iphone=False): |
if build_tool == 'xcode': |
ret = os.path.join(SRC_DIR, 'xcodebuild') |
elif build_tool in ['make', 'ninja', 'ninja-ios']: # TODO: Remove ninja-ios. |
- ret = os.path.join(SRC_DIR, 'out') |
+ ret = os.path.join(SRC_DIR, os.environ.get('CHROMIUM_OUT_DIR', 'out')) |
elif build_tool in ['msvs', 'vs', 'ib']: |
ret = os.path.join(SRC_DIR, 'build') |
else: |