• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
2# for details. All rights reserved. Use of this source code is governed by a
3# BSD-style license that can be found in the LICENSE file.
4
5import imp
6import os
7
8TOOLS_DIR = os.path.abspath(
9    os.path.normpath(os.path.join(__file__, '..', '..')))
10
11def GetUtils():
12  '''Dynamically load the tools/utils.py python module.'''
13  return imp.load_source('utils', os.path.join(TOOLS_DIR, 'utils.py'))
14