- add sources.
[platform/framework/web/crosswalk.git] / src / tools / perf / perf_tools / __init__.py
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
5 """A library for Chrome GPU test code."""
6
7 import os
8 import sys
9
10
11 def _Init():
12   telemetry_path = os.path.join(os.path.dirname(__file__),
13                                 os.pardir, os.pardir, 'telemetry')
14   absolute_telemetry_path = os.path.abspath(telemetry_path)
15   sys.path.append(absolute_telemetry_path)
16   telemetry_tools_path = os.path.join(os.path.dirname(__file__),
17                                       os.pardir, os.pardir, 'telemetry_tools')
18   absolute_telemetry_tools_path = os.path.abspath(telemetry_tools_path)
19   sys.path.append(absolute_telemetry_tools_path)
20
21
22 _Init()
23
24 from telemetry import RemoveAllStalePycFiles
25 RemoveAllStalePycFiles(os.path.dirname(__file__))