Lines Matching refs:build_config
347 def _GetReadWriteFunction(self, build_config, source_dir): argument
363 rw_allowlist = {os.path.join(source_dir, p) for p in build_config.allow_readwrite}
366 return build_config.allow_readwrite_all or path in rw_allowlist
370 def _GetContainsReadWriteFunction(self, build_config, source_dir): argument
386 for path in build_config.allow_readwrite:
394 return build_config.allow_readwrite_all or path in contains_rw
398 def _GetAllowedProjects(self, build_config): argument
410 if not build_config.allowed_projects_file:
412 allowed_projects = ET.parse(build_config.allowed_projects_file)
418 def _IsReplacementAllowedFunction(self, build_config): argument
430 for overlay in build_config.overlays:
470 build_config = cfg.get_build_config(build_target)
472 allowed_read_write = self._GetReadWriteFunction(build_config, source_dir)
473 contains_read_write = self._GetContainsReadWriteFunction(build_config, source_dir)
474 allowed_projects = self._GetAllowedProjects(build_config)
475 is_replacement_allowed = self._IsReplacementAllowedFunction(build_config)
478 for overlay in build_config.overlays:
488 for path_relative_from, path_relative_to in build_config.views: