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 import sys | 6 import sys |
7 | 7 |
8 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'perf')) | 8 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'perf')) |
9 | 9 |
10 from chrome_telemetry_build import chromium_config | 10 from chrome_telemetry_build import chromium_config |
11 | 11 |
| 12 TELEMETRY_DIR = chromium_config.GetTelemetryDir() |
| 13 |
12 _top_level_dir = os.path.dirname(os.path.realpath(__file__)) | 14 _top_level_dir = os.path.dirname(os.path.realpath(__file__)) |
13 | 15 |
14 def Config(benchmark_subdirs): | 16 def Config(benchmark_subdirs): |
15 return chromium_config.ChromiumConfig( | 17 return chromium_config.ChromiumConfig( |
16 top_level_dir=_top_level_dir, | 18 top_level_dir=_top_level_dir, |
17 benchmark_dirs=[os.path.join(_top_level_dir, subdir) | 19 benchmark_dirs=[os.path.join(_top_level_dir, subdir) |
18 for subdir in benchmark_subdirs]) | 20 for subdir in benchmark_subdirs]) |
OLD | NEW |