12a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Copyright (c) 2012 The Chromium Authors. All rights reserved. 22a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Use of this source code is governed by a BSD-style license that can be 32a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# found in the LICENSE file. 42a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)"""A library for Chrome GPU test code.""" 52a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)import os 62a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)import sys 72a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 82a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)def Init(): 92a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) telemetry_path = os.path.join( 102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) os.path.dirname(__file__), 112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) '..', '..', '..', '..', 'tools', 'telemetry') 122a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) absolute_telemetry_path = os.path.abspath(telemetry_path) 132a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) sys.path.append(absolute_telemetry_path) 142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)Init() 16