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

Side by Side Diff: tools/perf/core/project_config.py

Issue 1361523003: Add crash_service to Telemetry's isolates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fck
Patch Set: Add BUILD.gn changes. Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os 5 import os
6 import sys 6 import sys
7 7
8 sys.path.append(os.path.join( 8 sys.path.append(os.path.join(
9 os.path.dirname(__file__), os.pardir, os.pardir, 'telemetry')) 9 os.path.dirname(__file__), os.pardir, os.pardir, 'telemetry'))
10 from telemetry import benchmark_runner 10 from telemetry import benchmark_runner
11 11
12 top_level_dir = os.path.dirname(os.path.realpath( 12 top_level_dir = os.path.dirname(os.path.realpath(
13 os.path.join(__file__, os.pardir))) 13 os.path.join(__file__, os.pardir)))
14 14
15 binary_dependencies_file = os.path.abspath(os.path.join(
16 os.path.dirname(__file__), 'binary_dependencies.json'))
17
15 config = benchmark_runner.ProjectConfig( 18 config = benchmark_runner.ProjectConfig(
16 top_level_dir=top_level_dir, 19 top_level_dir=top_level_dir,
17 benchmark_dirs=[os.path.join(top_level_dir, 'benchmarks')]) 20 benchmark_dirs=[os.path.join(top_level_dir, 'benchmarks')],
21 client_config=binary_dependencies_file)
18 22
19 config.telemetry_dir = os.path.realpath(os.path.join( 23 config.telemetry_dir = os.path.realpath(os.path.join(
20 top_level_dir, os.pardir, 'telemetry')) 24 top_level_dir, os.pardir, 'telemetry'))
21 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698