Wenbin Zhang | fa757b10 | 2022-04-28 15:52:39 | [diff] [blame] | 1 | #!/usr/bin/env vpython3 |
Avi Drissman | dfd88085 | 2022-09-15 20:11:09 | [diff] [blame] | 2 | # Copyright 2012 The Chromium Authors |
[email protected] | 42dd66bb | 2012-11-21 10:54:26 | [diff] [blame] | 3 | # Use of this source code is governed by a BSD-style license that can be |
4 | # found in the LICENSE file. | ||||
[email protected] | 42dd66bb | 2012-11-21 10:54:26 | [diff] [blame] | 5 | import sys |
6 | |||||
nednguyen | a9191918 | 2016-01-13 18:31:53 | [diff] [blame] | 7 | from chrome_telemetry_build import chromium_config |
nednguyen | f171cc5 | 2017-04-18 22:22:46 | [diff] [blame] | 8 | from core import path_util |
9 | path_util.AddTelemetryToPath() | ||||
[email protected] | 4d5f13bb | 2013-08-02 00:45:44 | [diff] [blame] | 10 | |
nednguyen | 9afb144 | 2015-05-15 17:37:52 | [diff] [blame] | 11 | from telemetry import record_wpr |
[email protected] | 42dd66bb | 2012-11-21 10:54:26 | [diff] [blame] | 12 | |
nednguyen | a9191918 | 2016-01-13 18:31:53 | [diff] [blame] | 13 | |
[email protected] | 42dd66bb | 2012-11-21 10:54:26 | [diff] [blame] | 14 | if __name__ == '__main__': |
Andrey Malets | 154e208f | 2021-08-05 21:09:54 | [diff] [blame] | 15 | config = chromium_config.GetDefaultChromiumConfig() |
nednguyen | f171cc5 | 2017-04-18 22:22:46 | [diff] [blame] | 16 | sys.exit(record_wpr.Main(environment=config)) |