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

Side by Side Diff: tools/perf/core/path_util.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: Address Kari's comment Created 4 years, 11 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
« no previous file with comments | « no previous file | tools/perf/fetch_benchmark_deps.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 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 6
7 7
8 def GetChromiumSrcDir(): 8 def GetChromiumSrcDir():
9 return os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname( 9 return os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(
10 os.path.abspath(__file__))))) 10 os.path.abspath(__file__)))))
11 11
12
12 def GetTelemetryDir(): 13 def GetTelemetryDir():
13 return os.path.join(GetChromiumSrcDir(), 'tools', 'telemetry') 14 return os.path.join(GetChromiumSrcDir(), 'tools', 'telemetry')
14 15
16
15 def GetPerfDir(): 17 def GetPerfDir():
16 return os.path.join(GetChromiumSrcDir(), 'tools', 'perf') 18 return os.path.join(GetChromiumSrcDir(), 'tools', 'perf')
17 19
20
18 def GetPerfStorySetsDir(): 21 def GetPerfStorySetsDir():
19 return os.path.join(GetPerfDir(), 'page_sets') 22 return os.path.join(GetPerfDir(), 'page_sets')
20 23
24
21 def GetPerfBenchmarksDir(): 25 def GetPerfBenchmarksDir():
22 return os.path.join(GetPerfDir(), 'benchmarks') 26 return os.path.join(GetPerfDir(), 'benchmarks')
23 27
28
29 def GetPerfClientConfigPath():
30 return os.path.join(GetPerfDir(), 'core', 'binary_dependencies.json')
OLDNEW
« no previous file with comments | « no previous file | tools/perf/fetch_benchmark_deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698