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

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

Issue 1280903003: Add dependency_manager initialization to binary_manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix and refactor the unittest. Created 5 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 | « no previous file | tools/perf/run_benchmark » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/core/project_config.py
diff --git a/tools/perf/core/project_config.py b/tools/perf/core/project_config.py
new file mode 100644
index 0000000000000000000000000000000000000000..cdfc90f8b0e543d193896fe20f95eb9b54f56342
--- /dev/null
+++ b/tools/perf/core/project_config.py
@@ -0,0 +1,20 @@
+# Copyright (c) 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import os
+import sys
+
+sys.path.append(os.path.join(
+ os.path.dirname(__file__), os.pardir, os.pardir, 'telemetry'))
+from telemetry import benchmark_runner
+
+top_level_dir = os.path.dirname(os.path.realpath(
+ os.path.join(__file__, os.pardir)))
+
+config = benchmark_runner.ProjectConfig(
+ top_level_dir=top_level_dir,
+ benchmark_dirs=[os.path.join(top_level_dir, 'benchmarks')])
+
+config.telemetry_dir = os.path.realpath(os.path.join(
+ top_level_dir, os.pardir, 'telemetry'))
« no previous file with comments | « no previous file | tools/perf/run_benchmark » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698