blob: a92405d9146dc43cd6d70e7116382a2fbc2b31d3 [file] [log] [blame]
Adam Lesinski6f6ceb72014-11-14 14:48:12 -08001digraph aapt {
2 out_package [label="out/default/package.apk"];
3 out_fr_package [label="out/fr/package.apk"];
4 out_table_aligned [label="out/default/resources-aligned.arsc"];
5 out_table_fr_aligned [label="out/fr/resources-aligned.arsc"];
6 out_res_layout_main_xml [label="out/res/layout/main.xml"];
7 out_res_layout_v21_main_xml [color=red,label="out/res/layout-v21/main.xml"];
8 out_res_layout_fr_main_xml [label="out/res/layout-fr/main.xml"];
9 out_res_layout_fr_v21_main_xml [color=red,label="out/res/layout-fr-v21/main.xml"];
10 out_table [label="out/default/resources.arsc"];
11 out_fr_table [label="out/fr/resources.arsc"];
12 out_values_table [label="out/values/resources.arsc"];
13 out_layout_table [label="out/layout/resources.arsc"];
14 out_values_fr_table [label="out/values-fr/resources.arsc"];
15 out_layout_fr_table [label="out/layout-fr/resources.arsc"];
16 res_values_strings_xml [label="res/values/strings.xml"];
17 res_values_attrs_xml [label="res/values/attrs.xml"];
18 res_layout_main_xml [label="res/layout/main.xml"];
19 res_layout_fr_main_xml [label="res/layout-fr/main.xml"];
20 res_values_fr_strings_xml [label="res/values-fr/strings.xml"];
21
22 out_package -> package_default;
23 out_fr_package -> package_fr;
24
25 package_default [shape=box,label="Assemble",color=blue];
26 package_default -> out_table_aligned;
27 package_default -> out_res_layout_main_xml;
28 package_default -> out_res_layout_v21_main_xml [color=red];
29
30 package_fr [shape=box,label="Assemble",color=blue];
31 package_fr -> out_table_fr_aligned;
32 package_fr -> out_res_layout_fr_main_xml;
33 package_fr -> out_res_layout_fr_v21_main_xml [color=red];
34
35 out_table_aligned -> align_tables;
36 out_table_fr_aligned -> align_tables;
37
38 align_tables [shape=box,label="Align",color=blue];
39 align_tables -> out_table;
40 align_tables -> out_fr_table;
41
42 out_table -> link_tables;
43
44 link_tables [shape=box,label="Link",color=blue];
45 link_tables -> out_values_table;
46 link_tables -> out_layout_table;
47
48 out_values_table -> compile_values;
49
50 compile_values [shape=box,label="Collect",color=blue];
51 compile_values -> res_values_strings_xml;
52 compile_values -> res_values_attrs_xml;
53
54 out_layout_table -> collect_xml;
55
56 collect_xml [shape=box,label="Collect",color=blue];
57 collect_xml -> res_layout_main_xml;
58
59 out_fr_table -> link_fr_tables;
60
61 link_fr_tables [shape=box,label="Link",color=blue];
62 link_fr_tables -> out_values_fr_table;
63 link_fr_tables -> out_layout_fr_table;
64
65 out_values_fr_table -> compile_values_fr;
66
67 compile_values_fr [shape=box,label="Compile",color=blue];
68 compile_values_fr -> res_values_fr_strings_xml;
69
70 out_layout_fr_table -> collect_xml_fr;
71
72 collect_xml_fr [shape=box,label="Collect",color=blue];
73 collect_xml_fr -> res_layout_fr_main_xml;
74
75 compile_res_layout_main_xml [shape=box,label="Compile",color=blue];
76
77 out_res_layout_main_xml -> compile_res_layout_main_xml;
78
79 out_res_layout_v21_main_xml -> compile_res_layout_main_xml [color=red];
80
81 compile_res_layout_main_xml -> res_layout_main_xml;
82 compile_res_layout_main_xml -> out_table_aligned;
83
84 compile_res_layout_fr_main_xml [shape=box,label="Compile",color=blue];
85
86 out_res_layout_fr_main_xml -> compile_res_layout_fr_main_xml;
87
88 out_res_layout_fr_v21_main_xml -> compile_res_layout_fr_main_xml [color=red];
89
90 compile_res_layout_fr_main_xml -> res_layout_fr_main_xml;
91 compile_res_layout_fr_main_xml -> out_table_fr_aligned;
92}