blob: 4741952d23327f56f44c13910c735ccbdb69aa7e [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
Adam Lesinski769de982015-04-10 19:43:55 -070022 lib_apk_resources_arsc [label="lib.apk:resources.arsc",color=green];
23 lib_apk_res_layout_main_xml [label="lib.apk:res/layout/main.xml",color=green];
24 lib_apk_res_drawable_icon_png [label="lib.apk:res/drawable/icon.png",color=green];
25 lib_apk_fr_res_layout_main_xml [label="lib.apk:res/layout-fr/main.xml",color=green];
26 lib_apk_fr_res_drawable_icon_png [label="lib.apk:res/drawable-fr/icon.png",color=green];
27 out_res_layout_lib_main_xml [label="out/res/layout/lib-main.xml"];
28
Adam Lesinski6f6ceb72014-11-14 14:48:12 -080029 out_package -> package_default;
30 out_fr_package -> package_fr;
31
32 package_default [shape=box,label="Assemble",color=blue];
33 package_default -> out_table_aligned;
34 package_default -> out_res_layout_main_xml;
35 package_default -> out_res_layout_v21_main_xml [color=red];
Adam Lesinski769de982015-04-10 19:43:55 -070036 package_default -> out_res_layout_lib_main_xml;
Adam Lesinski6f6ceb72014-11-14 14:48:12 -080037
38 package_fr [shape=box,label="Assemble",color=blue];
39 package_fr -> out_table_fr_aligned;
40 package_fr -> out_res_layout_fr_main_xml;
41 package_fr -> out_res_layout_fr_v21_main_xml [color=red];
42
43 out_table_aligned -> align_tables;
44 out_table_fr_aligned -> align_tables;
45
46 align_tables [shape=box,label="Align",color=blue];
47 align_tables -> out_table;
48 align_tables -> out_fr_table;
49
50 out_table -> link_tables;
51
52 link_tables [shape=box,label="Link",color=blue];
53 link_tables -> out_values_table;
54 link_tables -> out_layout_table;
Adam Lesinski769de982015-04-10 19:43:55 -070055 link_tables -> lib_apk_resources_arsc;
Adam Lesinski6f6ceb72014-11-14 14:48:12 -080056
57 out_values_table -> compile_values;
58
59 compile_values [shape=box,label="Collect",color=blue];
60 compile_values -> res_values_strings_xml;
61 compile_values -> res_values_attrs_xml;
62
63 out_layout_table -> collect_xml;
64
65 collect_xml [shape=box,label="Collect",color=blue];
66 collect_xml -> res_layout_main_xml;
67
68 out_fr_table -> link_fr_tables;
69
70 link_fr_tables [shape=box,label="Link",color=blue];
71 link_fr_tables -> out_values_fr_table;
72 link_fr_tables -> out_layout_fr_table;
Adam Lesinski769de982015-04-10 19:43:55 -070073 link_fr_tables -> lib_apk_resources_arsc;
Adam Lesinski6f6ceb72014-11-14 14:48:12 -080074
75 out_values_fr_table -> compile_values_fr;
76
Adam Lesinski769de982015-04-10 19:43:55 -070077 compile_values_fr [shape=box,label="Collect",color=blue];
Adam Lesinski6f6ceb72014-11-14 14:48:12 -080078 compile_values_fr -> res_values_fr_strings_xml;
79
80 out_layout_fr_table -> collect_xml_fr;
81
82 collect_xml_fr [shape=box,label="Collect",color=blue];
83 collect_xml_fr -> res_layout_fr_main_xml;
84
85 compile_res_layout_main_xml [shape=box,label="Compile",color=blue];
86
87 out_res_layout_main_xml -> compile_res_layout_main_xml;
88
89 out_res_layout_v21_main_xml -> compile_res_layout_main_xml [color=red];
90
91 compile_res_layout_main_xml -> res_layout_main_xml;
92 compile_res_layout_main_xml -> out_table_aligned;
93
94 compile_res_layout_fr_main_xml [shape=box,label="Compile",color=blue];
95
96 out_res_layout_fr_main_xml -> compile_res_layout_fr_main_xml;
97
98 out_res_layout_fr_v21_main_xml -> compile_res_layout_fr_main_xml [color=red];
99
100 compile_res_layout_fr_main_xml -> res_layout_fr_main_xml;
101 compile_res_layout_fr_main_xml -> out_table_fr_aligned;
Adam Lesinski769de982015-04-10 19:43:55 -0700102
103 out_res_layout_lib_main_xml -> compile_res_layout_lib_main_xml;
104
105 compile_res_layout_lib_main_xml [shape=box,label="Compile",color=blue];
106 compile_res_layout_lib_main_xml -> out_table_aligned;
107 compile_res_layout_lib_main_xml -> lib_apk_res_layout_main_xml;
Adam Lesinski6f6ceb72014-11-14 14:48:12 -0800108}