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 4dd846cb6362470301ae7572997b54e269fe8a71..f9dc6880247e8f3f19ccb252ea3b7af1835498ff 100644 |
--- a/build/android/pylib/utils/flakiness_dashboard_results_uploader.py |
+++ b/build/android/pylib/utils/flakiness_dashboard_results_uploader.py |
@@ -11,10 +11,19 @@ import subprocess |
import sys |
import tempfile |
+# Include path when ran from a Chromium checkout. |
sys.path.append( |
- os.path.abspath(os.path.join(os.path.dirname(__file__ ), |
+ os.path.abspath(os.path.join(os.path.dirname(__file__), |
os.pardir, os.pardir, os.pardir, os.pardir, |
'third_party', 'WebKit', 'Tools', 'Scripts'))) |
+ |
+# Include path when ran from a WebKit checkout. |
+sys.path.append( |
+ os.path.abspath(os.path.join(os.path.dirname(__file__), |
+ os.pardir, os.pardir, os.pardir, os.pardir, |
+ os.pardir, os.pardir, os.pardir, |
+ 'Tools', 'Scripts'))) |
+ |
from webkitpy.common.system import executive, filesystem |
from webkitpy.layout_tests.layout_package import json_results_generator |