Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / tools / perf / perf_tools / __init__.py
blobe511c1d97e781d22626a890f358d1f710f0de460
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 """A library for Chrome GPU test code."""
5 import os
6 import sys
8 def Init():
9 telemetry_path = os.path.join(os.path.dirname(__file__),
10 '..', '..', 'telemetry')
11 absolute_telemetry_path = os.path.abspath(telemetry_path)
12 sys.path.append(absolute_telemetry_path)
13 telemetry_tools_path = os.path.join(os.path.dirname(__file__),
14 '..', '..', 'telemetry_tools')
15 absolute_telemetry_tools_path = os.path.abspath(telemetry_tools_path)
16 sys.path.append(absolute_telemetry_tools_path)
19 Init()