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

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

Issue 2821663002: [tools/perf] Remove default values of benchmark_dirs and top_level_dir in chromium_config module (Closed)
Patch Set: Created 3 years, 8 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
Index: tools/perf/core/path_util.py
diff --git a/tools/perf/core/path_util.py b/tools/perf/core/path_util.py
index 27ea09c157806aa7a8e9c97c8a9c8812759c0ee9..dcfcd082b256222ccf3b92e936827c44e6d6fcda 100644
--- a/tools/perf/core/path_util.py
+++ b/tools/perf/core/path_util.py
@@ -5,18 +5,15 @@
import os
import sys
-sys.path.insert(1, os.path.join(os.path.abspath(__file__), '..', '..'))
-
-from chrome_telemetry_build import chromium_config
-
def GetChromiumSrcDir():
- return chromium_config.GetChromiumSrcDir()
-
+ return os.path.abspath(os.path.join(
+ os.path.dirname(__file__), '..', '..', '..'))
def GetTelemetryDir():
- return chromium_config.GetTelemetryDir()
+ return os.path.join(
+ GetChromiumSrcDir(), 'third_party', 'catapult', 'telemetry')
def GetPerfDir():

Powered by Google App Engine
This is Rietveld 408576698