parameters: ()
return_statement: return True
docstring: Loads the client configuration for the given context.
  
    This will load configuration if present from CR_CLIENT_PATH and then
    CR_BUILD_DIR.
  
    Returns:
      True if configuration was fully loaded.
docstring_summary: Loads the client configuration for the given context.
docstring_tokens: Loads the client configuration for the given context .
function: def LoadConfig():
    """Loads the client configuration for the given context.
  
    This will load configuration if present from CR_CLIENT_PATH and then
    CR_BUILD_DIR.
  
    Returns:
      True if configuration was fully loaded.
  
    """
    # Load the root config, will help set default build dir
    client_config_dir = _MigrateAndGetConfigDir(use_build_dir=False)
    cr.auto.client.__path__.append(client_config_dir)
    cr.loader.Scan()
    # Now load build dir config
    build_config_dir = _MigrateAndGetConfigDir(use_build_dir=True)
    cr.auto.build.__path__.append(build_config_dir)
    cr.loader.Scan()
  
    if not hasattr(cr.auto.build, 'config'):
      return False
  
    cr.context.derived.Set(CR_BUILD_CONFIG_PATH=_GetConfigFile(build_config_dir))
    return True
function_tokens: def LoadConfig ( ) : # Load the root config, will help set default build dir client_config_dir = _MigrateAndGetConfigDir ( use_build_dir = False ) cr . auto . client . __path__ . append ( client_config_dir ) cr . loader . Scan ( ) # Now load build dir config build_config_dir = _MigrateAndGetConfigDir ( use_build_dir = True ) cr . auto . build . __path__ . append ( build_config_dir ) cr . loader . Scan ( ) if not hasattr ( cr . auto . build , 'config' ) : return False cr . context . derived . Set ( CR_BUILD_CONFIG_PATH = _GetConfigFile ( build_config_dir ) ) return True