summaryrefslogtreecommitdiff
path: root/chromium/third_party/catapult/tracing/tracing/metrics/__init__.py
blob: cffcee63c4257a95272f9516f461608fe1671197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import os
import sys


_CATAPULT_DIR = os.path.abspath(os.path.join(
    os.path.dirname(os.path.abspath(__file__)), '..', '..', '..'))

_PI_PATH = os.path.join(_CATAPULT_DIR, 'perf_insights')

if _PI_PATH not in sys.path:
  sys.path.insert(1, _PI_PATH)