Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: components/proximity_auth/e2e_test/cros.py

Issue 1582793006: [Telemetry] Update all clients to use chromium_config.GetTelemetryDir() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cronet/android/test/javaperftests/run.py ('k') | content/test/gpu/gpu_tests/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « components/cronet/android/test/javaperftests/run.py ('k') | content/test/gpu/gpu_tests/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698