OLD | NEW |
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') |
OLD | NEW |