summaryrefslogtreecommitdiffstats
path: root/tools/perf/record_wpr
blob: b600c13fc3d604104b7950584f491f97591aa1eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python
# Copyright 2012 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


from core import path_util
from chrome_telemetry_build import chromium_config
sys.path.append(chromium_config.GetTelemetryDir())

from telemetry import record_wpr

# This is required to resolve importing davclient in tools/perf/third_party/
# when record_wpr try to dynamically discover benchmark classes.
import third_party  # pylint: disable=unused-import


if __name__ == '__main__':
  sys.exit(record_wpr.Main(path_util.GetPerfDir()))