1 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 import os 6 7 import jinja2 8 9 10 _TEMPLATES_DIR = os.path.join( 11 os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'templates') 12 13 14 ENVIRONMENT = jinja2.Environment(loader=jinja2.FileSystemLoader(_TEMPLATES_DIR)) 15