Lines Matching refs:config
24 from resources.config import Config
34 config = Config()
36 _ext_scan_path = os.path.join(config.root_path,
53 config.root_path, info.get('product_path'))
89 if config.vendor_path != '':
90 for company in os.listdir(config.vendor_path):
91 company_path = os.path.join(config.vendor_path, company)
113 bip_path = config.built_in_product_path
133 bipl_path = config.built_in_product_path_for_llvm
158 config = Config()
166 os.path.join(config.root_path, _board_path)):
167 board_path = os.path.join(config.root_path, _board_path)
169 board_path = os.path.join(config.root_path, 'device',
174 board_path = os.path.join(config.root_path, 'device',
178 board_config_path = os.path.join(config.root_path,
201 config = Config()
203 files = [os.path.join(config.root_path, file) for file in IoUtil.read_json_file(
229 config = Config()
231 files = [os.path.join(config.root_path, file) for file in IoUtil.read_json_file(
321 config = os.path.join(config_path, 'config.gni')
322 if not os.path.isfile(config):
325 with open(config, 'rt', encoding='utf-8') as config_file:
334 def get_vendor_parts_list(config: dict):
335 return _transform(config).get('parts')
342 def _transform(config: dict):
343 subsystems = config.get('subsystems')
345 config.pop('subsystems')
347 config['parts'] = parts
348 return config