Module Expr Str Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Dict Assign NameStore SubscriptLoad NameLoad Slice While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Continue Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Print Str Print Str Print Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Print BinOpMod Str NameLoad Print BinOpMod Str NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad Print Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad Print Str decorator_list FunctionDef arguments args defaults body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Print AttributeLoad NameLoad attr NameLoad Print AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Return Num Assign NameStore Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call NameLoad NameLoad Return Num decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A Using the JSON dumped by the dump-dependency-json generator,
generate input suitable for graphviz to render a dependency graph of
targets. N/A collections N/A json N/A sys ParseTarget N/A N/A target N/A N/A N/A N/A target _ suffix N/A N/A target partition # N/A N/A filename _ target N/A N/A target partition : N/A N/A filename target suffix N/A LoadEdges N/A N/A filename targets N/A N/A N/A Load the edges map from the dump file, and filter it to only
  show targets in |targets| and their depedendents. N/A file N/A open dump.json N/A edges N/A N/A json load file N/A N/A N/A file close N/A target_edges N/A N/A to_visit N/A targets N/A N/A to_visit N/A N/A src N/A N/A to_visit pop N/A N/A src target_edges N/A N/A N/A N/A target_edges N/A src N/A edges N/A src N/A N/A N/A to_visit extend N/A edges N/A src N/A target_edges N/A WriteGraph N/A N/A edges N/A N/A N/A Print a graphviz graph to stdout.
  |edges| is a map of target to a list of other targets it depends on. N/A files N/A N/A collections defaultdict list N/A N/A src dst N/A N/A edges items N/A N/A N/A build_file target_name toolset N/A ParseTarget src N/A N/A N/A N/A files N/A build_file append src N/A digraph D { N/A   fontsize=8 N/A   node [fontsize=8] N/A N/A filename targets N/A N/A files items N/A N/A N/A N/A len targets 1 N/A N/A target N/A targets N/A 0 N/A N/A build_file target_name toolset N/A ParseTarget target N/A N/A   "%s" [shape=box, label="%s\n%s"] N/A target filename target_name N/A N/A N/A   subgraph "cluster_%s" { filename N/A N/A     label = "%s" filename N/A target targets N/A N/A N/A build_file target_name toolset N/A ParseTarget target N/A N/A     "%s" [label="%s"] N/A target target_name N/A   } N/A N/A src dsts N/A N/A edges items N/A N/A dst dsts N/A N/A N/A   "%s" -> "%s" N/A src dst N/A } N/A main N/A N/A N/A N/A N/A N/A N/A len N/A sys argv 2 N/A N/A N/A sys stderr __doc__ N/A N/A sys stderr N/A N/A sys stderr N/A usage: %s target1 target2... N/A N/A sys argv N/A 0 N/A 1 N/A edges N/A LoadEdges dump.json N/A N/A sys argv N/A 1 N/A N/A WriteGraph edges N/A 0 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main