Add support for i18n-title.
[chromium-blink-merge.git] / tools / perf / record_wpr
blobe12055f216829b8d96bbcfabdd39ca327140adda
1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 import os
6 import sys
8 # Add telemetry to sys.path so that it can be imported below
9 # Relative path from this file is ../telemetry
10 _perf_dir = os.path.dirname(__file__)
11 _telemetry_path = os.path.join(_perf_dir, os.pardir, 'telemetry')
12 sys.path.append(_telemetry_path)
14 from telemetry.page import record_wpr
16 if __name__ == '__main__':
17 sys.exit(record_wpr.Main(_perf_dir))