Index: native_client_sdk/src/build_tools/test_projects.py |
diff --git a/native_client_sdk/src/build_tools/test_projects.py b/native_client_sdk/src/build_tools/test_projects.py |
index 6d29cf8e28164bb8c26658f77e8f98c75fdfe644..a46ea0f6c147258c2087dfd7b87eaa51927bc3c5 100755 |
--- a/native_client_sdk/src/build_tools/test_projects.py |
+++ b/native_client_sdk/src/build_tools/test_projects.py |
@@ -25,6 +25,10 @@ sys.path.append(os.path.join(SRC_DIR, 'chrome', 'test', 'nacl_test_injection')) |
import find_chrome |
browser_path = find_chrome.FindChrome(SRC_DIR, ['Debug', 'Release']) |
+# Fall back to using CHROME_PATH (same as in common.mk) |
+if not browser_path: |
+ browser_path = os.environ['CHROME_PATH'] |
+ |
pepper_ver = str(int(build_version.ChromeMajorVersion())) |
pepperdir = os.path.join(OUT_DIR, 'pepper_' + pepper_ver) |