def configure(self, component, all_dependencies):
r = {}<EOL>builddir = self.buildroot<EOL>available_dependencies = OrderedDict((k, v) for k, v in all_dependencies.items() if v)<EOL>self.set_toplevel_definitions = '<STR_LIT>'<EOL>if self.build_info_include_file is None:<EOL><INDENT>self.build_info_include_file, build_info_definitions = self.getBuildInfo(component.path, builddir)<EOL>self.set_toplevel_definitions += build_info_definitions<EOL><DEDENT>if self.config_include_file is None:<EOL><INDENT>self.config_include_file, config_definitions, self.config_json_file = self._getConfigData(available_dependencies, component, builddir, self.build_info_include_file)<EOL>self.set_toplevel_definitions += config_definitions<EOL><DEDENT>self.configured = True<EOL>return {<EOL>'<STR_LIT>': self.config_include_file,<EOL>'<STR_LIT>': self.config_json_file,<EOL>'<STR_LIT>': self.build_info_include_file<EOL>}<EOL>
Ensure all config-time files have been generated. Return a
            dictionary of generated items.