Index: build/android/pylib/utils/flakiness_dashboard_results_uploader.py |
diff --git a/build/android/pylib/utils/flakiness_dashboard_results_uploader.py b/build/android/pylib/utils/flakiness_dashboard_results_uploader.py |
index d0ec91053867e54dd484f126b9e5b1d33c5a487a..e74145f79535354af7c0cdb67677cfdda8e4d789 100644 |
--- a/build/android/pylib/utils/flakiness_dashboard_results_uploader.py |
+++ b/build/android/pylib/utils/flakiness_dashboard_results_uploader.py |
@@ -88,11 +88,11 @@ class JSONResultsGenerator(json_results_generator.JSONResultsGeneratorBase): |
if os.path.exists(os.path.join(in_directory, '.git')): |
return True |
parent = os.path.dirname(in_directory) |
- if parent == constants.CHROME_DIR or parent == in_directory: |
+ if parent == constants.DIR_SOURCE_ROOT or parent == in_directory: |
return False |
return _is_git_directory(parent) |
- in_directory = os.path.join(constants.CHROME_DIR, in_directory) |
+ in_directory = os.path.join(constants.DIR_SOURCE_ROOT, in_directory) |
if not os.path.exists(os.path.join(in_directory, '.svn')): |
if _is_git_directory(in_directory): |
@@ -126,7 +126,7 @@ class ResultsUploader(object): |
# This requires passing the actual master name (e.g. 'ChromiumFYI' not |
# 'chromium.fyi'). |
from slave import slave_utils |
- self._build_name = slave_utils.SlaveBuildName(constants.CHROME_DIR) |
+ self._build_name = slave_utils.SlaveBuildName(constants.DIR_SOURCE_ROOT) |
self._master_name = slave_utils.GetActiveMaster() |
else: |
self._build_name = 'chromium-android' |