Index: components/proximity_auth/e2e_test/cros.py |
diff --git a/components/proximity_auth/e2e_test/cros.py b/components/proximity_auth/e2e_test/cros.py |
index 1f3c0911448077b283ef42eb31d1912a22755e7b..bd7081b5ecc2b5e685f2a7fd133ca09b6a6aa872 100644 |
--- a/components/proximity_auth/e2e_test/cros.py |
+++ b/components/proximity_auth/e2e_test/cros.py |
@@ -10,8 +10,12 @@ import time |
# Add the telemetry directory to Python's search paths. |
current_directory = os.path.dirname(os.path.realpath(__file__)) |
-telemetry_dir = os.path.realpath( |
- os.path.join(current_directory, '..', '..', '..', 'tools', 'telemetry')) |
+perf_dir = os.path.realpath( |
+ os.path.join(current_directory, '..', '..', '..', 'tools', 'perf')) |
+if perf_dir not in sys.path: |
+ sys.path.append(perf_dir) |
+from chrome_telemetry_build import chromium_config |
+telemetry_dir = chromium_config.GetTelemetryDir() |
if telemetry_dir not in sys.path: |
sys.path.append(telemetry_dir) |