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

Unified Diff: tools/perf/core/path_util.py

Issue 2300653002: [tools/perf] Update code to reference py_utils.cloud_storage (Closed)
Patch Set: update Created 4 years, 4 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/PRESUBMIT.py ('k') | tools/perf/fetch_benchmark_deps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/core/path_util.py
diff --git a/tools/perf/core/path_util.py b/tools/perf/core/path_util.py
index 09956b68a0848d1f4e1690c8cd825ed59ad285b4..27ea09c157806aa7a8e9c97c8a9c8812759c0ee9 100644
--- a/tools/perf/core/path_util.py
+++ b/tools/perf/core/path_util.py
@@ -14,10 +14,6 @@ def GetChromiumSrcDir():
return chromium_config.GetChromiumSrcDir()
-def GetCatapultBaseDir():
- return os.path.join(
- GetChromiumSrcDir(), 'third_party', 'catapult', 'catapult_base')
-
def GetTelemetryDir():
return chromium_config.GetTelemetryDir()
@@ -41,7 +37,8 @@ def AddTelemetryToPath():
sys.path.insert(1, telemetry_path)
-def AddCatapultBaseToPath():
- catapult_base_path = GetCatapultBaseDir()
- if catapult_base_path not in sys.path:
- sys.path.insert(1, catapult_base_path)
+def AddPyUtilsToPath():
+ py_utils_dir = os.path.join(
+ GetChromiumSrcDir(), 'third_party', 'catapult', 'common', 'py_utils')
+ if py_utils_dir not in sys.path:
+ sys.path.insert(1, py_utils_dir)
« no previous file with comments | « tools/perf/PRESUBMIT.py ('k') | tools/perf/fetch_benchmark_deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698