1 #!/usr/bin/env python 2 # Copyright (c) 2015 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 6 import os 7 import sys 8 9 if __name__ == '__main__': 10 perf_insights_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 11 '..')) 12 sys.path.append(perf_insights_path) 13 14 pi_report_file = os.path.join(perf_insights_path, 15 'perf_insights/ui/reports/weather_report.html') 16 17 from perf_insights_build import pi_report_to_html 18 sys.exit(pi_report_to_html.Main(sys.argv, 19 pi_report_file=pi_report_file)) 20