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

Unified Diff: tools/perf/fetch_benchmark_deps.py

Issue 1383773002: [Telemetry] Update tools/perf/fetch_benchmark_deps.py to use client_config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/fetch_benchmark_deps.py
diff --git a/tools/perf/fetch_benchmark_deps.py b/tools/perf/fetch_benchmark_deps.py
index d579214bf284c04298f7dec1bb15223748d63b7f..8a1b3b9d92f9f8e14fe261bd22ec3afb1d33c3ec 100755
--- a/tools/perf/fetch_benchmark_deps.py
+++ b/tools/perf/fetch_benchmark_deps.py
@@ -67,9 +67,12 @@ def _show_usage():
def main(output=sys.stdout):
+ top_level_dir = _GetPerfDir()
config = benchmark_runner.ProjectConfig(
- top_level_dir=_GetPerfDir(),
- benchmark_dirs=[_GetPerfDir('benchmarks')])
+ top_level_dir=top_level_dir,
+ benchmark_dirs=[_GetPerfDir('benchmarks')],
+ client_config=os.path.abspath(os.path.join(
+ top_level_dir, 'core', 'binary_dependencies.json')))
name = sys.argv[1]
benchmark = benchmark_runner.GetBenchmarkByName(name, config)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698