OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 """A library for Chrome GPU test code.""" | 5 """A library for Chrome GPU test code.""" |
| 6 |
5 import os | 7 import os |
6 import sys | 8 import sys |
7 | 9 |
8 def Init(): | 10 def Init(): |
9 telemetry_path = os.path.join( | 11 telemetry_path = os.path.join( |
10 os.path.dirname(__file__), | 12 os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, os.pardir, |
11 '..', '..', '..', '..', 'tools', 'telemetry') | 13 'tools', 'telemetry') |
12 absolute_telemetry_path = os.path.abspath(telemetry_path) | 14 absolute_telemetry_path = os.path.abspath(telemetry_path) |
13 sys.path.append(absolute_telemetry_path) | 15 sys.path.append(absolute_telemetry_path) |
14 | 16 |
15 Init() | 17 Init() |
OLD | NEW |