Lines Matching refs:module
80 def generate_dot_file(modules, converted, module): argument
89 make_node = lambda module, color: \ argument
91 "fillcolor={color}]").format(name=module.name, kind=module.kind, color=color)
92 make_edge = lambda module, dep: \ argument
93 '"%s" -> "%s"' % (module.name, dep)
100 for module, deps in modules.items():
101 if module.name in converted:
104 elif module.name not in converted:
106 dot_entries.append(make_node(module, "yellow"))
108 dot_entries.append(make_node(module, "tomato"))
114 dot_entries.append(make_edge(module, dep))
132 for module, deps in sorted(modules.items()):
135 all_unconverted_modules[dep].add(module)
138 if module.name not in converted:
140 name=module.name,
141 kind=module.kind,
142 dirname=module.dirname,
145 dirs_with_unconverted_modules.add(module.dirname)
146 kind_of_unconverted_modules.add(module.kind)
212 for module in module_graph:
213 name = module["Name"]
214 if dependency_analysis.is_windows_variation(module):
216 if ignore_kind(module["Type"]) or name in ignore_by_name:
217 ignored.add(module["Name"])
221 kind=module["Type"],
222 dirname=os.path.dirname(module["Blueprint"]))
223 module_graph_map[module["Name"]] = module
224 if module["Name"] == top_level_module:
225 q.put(module["Name"])
233 module = module_graph_map[module_name]
237 if dependency_analysis.is_windows_variation(module):
243 for dep in module["Deps"]:
279 for module in module_graph:
281 if module.tag != "rule":
283 kind = module.attrib["class"]
284 name_with_variant = module.attrib["name"]
287 for attr in module:
317 module_graph_map[name_with_variant] = module
324 module = module_graph_map[name_with_variant]
325 if module.tag != "rule":
334 for attr in module:
401 if len(args.module) > 1 and args.mode != "report":
409 for top_level_module in args.module: