Home | History | Annotate | Download | only in metrics
      1 # Copyright 2016 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 import os
      6 import sys
      7 
      8 
      9 _CATAPULT_DIR = os.path.abspath(os.path.join(
     10     os.path.dirname(os.path.abspath(__file__)), '..', '..', '..'))
     11 
     12 _PI_PATH = os.path.join(_CATAPULT_DIR, 'perf_insights')
     13 
     14 if _PI_PATH not in sys.path:
     15   sys.path.insert(1, _PI_PATH)
     16