Index: build/android/pylib/constants.py |
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py |
index 3d0dfbc941bd2637e9f57e0e9a04d86ea2ac5084..8b800ab5dcf6603a644872fbaa90e72723a60cc1 100644 |
--- a/build/android/pylib/constants.py |
+++ b/build/android/pylib/constants.py |
@@ -11,8 +11,9 @@ import os |
import subprocess |
-DIR_SOURCE_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), |
- os.pardir, os.pardir, os.pardir)) |
+DIR_SOURCE_ROOT = os.environ.get('CHECKOUT_SOURCE_ROOT', |
+ os.path.abspath(os.path.join(os.path.dirname(__file__), |
+ os.pardir, os.pardir, os.pardir))) |
ISOLATE_DEPS_DIR = os.path.join(DIR_SOURCE_ROOT, 'isolate_deps_dir') |
CHROME_SHELL_HOST_DRIVEN_DIR = os.path.join( |