xref: /OK3568_Linux_fs/yocto/poky/scripts/lib/build_perf/html.py (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# Copyright (c) 2017, Intel Corporation.
3*4882a593Smuzhiyun#
4*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
5*4882a593Smuzhiyun#
6*4882a593Smuzhiyun"""Helper module for HTML reporting"""
7*4882a593Smuzhiyunfrom jinja2 import Environment, PackageLoader
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunenv = Environment(loader=PackageLoader('build_perf', 'html'))
11*4882a593Smuzhiyun
12*4882a593Smuzhiyuntemplate = env.get_template('report.html')
13