Home | History | Annotate | Download | only in cros

Lines Matching refs:cros

5 # Sets up the cros.factory module path.  This is necessary since there
6 # is already a cros directory, and we need to rejigger things so that
7 # cros.factory points to the correct path.
17 # Try to import cros, or just create a dummy module if it doesn't
20 import cros
22 cros = imp.load_module('cros', None, '', ('', '', imp.PKG_DIRECTORY))
24 # Load cros.factory, inserting it into the cros module.
25 cros.factory = imp.load_module(
26 'cros.factory',
27 *imp.find_module('cros/factory', sys.path + extra_path))