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

Unified Diff: tools/perf/record_android_profile.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 | « tools/perf/generate_profile ('k') | tools/run-bisect-manual-test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/record_android_profile.py
diff --git a/tools/perf/record_android_profile.py b/tools/perf/record_android_profile.py
index 2f5bbd2ba5d73a01ef515b88d24ae9b10a565e6f..8247615e07aba26ab7d10f31d456730ee1dcb884 100755
--- a/tools/perf/record_android_profile.py
+++ b/tools/perf/record_android_profile.py
@@ -7,7 +7,8 @@ import os
import sys
import tempfile
-sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'telemetry'))
+from chrome_telemetry_build import chromium_config
+sys.path.insert(1, chromium_config.GetTelemetryDir())
from telemetry.internal.browser import browser_finder
from telemetry.internal.browser import browser_options
« no previous file with comments | « tools/perf/generate_profile ('k') | tools/run-bisect-manual-test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698