OLD | NEW |
| (Empty) |
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
2 # for details. All rights reserved. Use of this source code is governed by a | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | |
8 }, | |
9 'targets': [ | |
10 { | |
11 'target_name': 'fetch_observatory_deps', | |
12 'type': 'none', | |
13 'dependencies': [ | |
14 'dart_bootstrap#host', | |
15 ], | |
16 'toolsets': ['host'], | |
17 'actions': [ | |
18 { | |
19 'action_name': 'get_obsevatory_dependencies', | |
20 'inputs': [ | |
21 '../../tools/observatory_tool.py', | |
22 'pubspec.yaml', | |
23 ], | |
24 'outputs': [ | |
25 'pubspec.lock' | |
26 ], | |
27 'action': [ | |
28 'python', | |
29 '../tools/observatory_tool.py', | |
30 '--package-root', '<(PRODUCT_DIR)/packages', | |
31 '--dart-executable', | |
32 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | |
33 '--directory', 'observatory', | |
34 '--command', 'get', | |
35 ], | |
36 } | |
37 ], | |
38 }, | |
39 { | |
40 'target_name': 'build_observatory', | |
41 'type': 'none', | |
42 'dependencies': [ | |
43 'dart_bootstrap#host', | |
44 'fetch_observatory_deps#host', | |
45 ], | |
46 'toolsets': ['host'], | |
47 'sources': [ | |
48 'lib/app.dart', | |
49 'lib/dominator_tree.dart', | |
50 'lib/elements.dart', | |
51 'lib/object_graph.dart', | |
52 'lib/service_common.dart', | |
53 'lib/service_io.dart', | |
54 'lib/service_html.dart', | |
55 'lib/src/app/application.dart', | |
56 'lib/src/app/chart.dart', | |
57 'lib/src/app/location_manager.dart', | |
58 'lib/src/app/page.dart', | |
59 'lib/src/app/settings.dart', | |
60 'lib/src/app/target_manager.dart', | |
61 'lib/src/app/utils.dart', | |
62 'lib/src/app/view_model.dart', | |
63 'lib/src/elements/action_link.dart', | |
64 'lib/src/elements/action_link.html', | |
65 'lib/src/elements/breakpoint_list.dart', | |
66 'lib/src/elements/breakpoint_list.html', | |
67 'lib/src/elements/class_ref.dart', | |
68 'lib/src/elements/class_ref.html', | |
69 'lib/src/elements/class_tree.dart', | |
70 'lib/src/elements/class_tree.html', | |
71 'lib/src/elements/class_view.dart', | |
72 'lib/src/elements/class_view.html', | |
73 'lib/src/elements/code_ref.dart', | |
74 'lib/src/elements/code_ref.html', | |
75 'lib/src/elements/code_view.dart', | |
76 'lib/src/elements/code_view.html', | |
77 'lib/src/elements/context_ref.dart', | |
78 'lib/src/elements/context_ref.html', | |
79 'lib/src/elements/context_view.dart', | |
80 'lib/src/elements/context_view.html', | |
81 'lib/src/elements/curly_block.dart', | |
82 'lib/src/elements/curly_block.html', | |
83 'lib/src/elements/debugger.dart', | |
84 'lib/src/elements/debugger.html', | |
85 'lib/src/elements/error_ref.dart', | |
86 'lib/src/elements/error_ref.html', | |
87 'lib/src/elements/error_view.dart', | |
88 'lib/src/elements/error_view.html', | |
89 'lib/src/elements/eval_box.dart', | |
90 'lib/src/elements/eval_box.html', | |
91 'lib/src/elements/eval_link.dart', | |
92 'lib/src/elements/eval_link.html', | |
93 'lib/src/elements/field_ref.dart', | |
94 'lib/src/elements/field_ref.html', | |
95 'lib/src/elements/field_view.dart', | |
96 'lib/src/elements/field_view.html', | |
97 'lib/src/elements/flag_list.dart', | |
98 'lib/src/elements/flag_list.html', | |
99 'lib/src/elements/function_ref.dart', | |
100 'lib/src/elements/function_ref.html', | |
101 'lib/src/elements/function_view.dart', | |
102 'lib/src/elements/function_view.html', | |
103 'lib/src/elements/heap_map.dart', | |
104 'lib/src/elements/heap_map.html', | |
105 'lib/src/elements/heap_profile.dart', | |
106 'lib/src/elements/heap_profile.html', | |
107 'lib/src/elements/inbound_reference.dart', | |
108 'lib/src/elements/inbound_reference.html', | |
109 'lib/src/elements/instance_ref.dart', | |
110 'lib/src/elements/instance_ref.html', | |
111 'lib/src/elements/instance_view.dart', | |
112 'lib/src/elements/instance_view.html', | |
113 'lib/src/elements/io_view.dart', | |
114 'lib/src/elements/io_view.html', | |
115 'lib/src/elements/isolate_profile.dart', | |
116 'lib/src/elements/isolate_profile.html', | |
117 'lib/src/elements/isolate_ref.dart', | |
118 'lib/src/elements/isolate_ref.html', | |
119 'lib/src/elements/isolate_summary.dart', | |
120 'lib/src/elements/isolate_summary.html', | |
121 'lib/src/elements/isolate_view.dart', | |
122 'lib/src/elements/isolate_view.html', | |
123 'lib/src/elements/json_view.dart', | |
124 'lib/src/elements/json_view.html', | |
125 'lib/src/elements/library_ref.dart', | |
126 'lib/src/elements/library_ref.html', | |
127 'lib/src/elements/library_view.dart', | |
128 'lib/src/elements/library_view.html', | |
129 'lib/src/elements/metrics.dart', | |
130 'lib/src/elements/metrics.html', | |
131 'lib/src/elements/nav_bar.dart', | |
132 'lib/src/elements/nav_bar.html', | |
133 'lib/src/elements/object_common.dart', | |
134 'lib/src/elements/object_common.html', | |
135 'lib/src/elements/object_view.dart', | |
136 'lib/src/elements/object_view.html', | |
137 'lib/src/elements/observatory_application.dart', | |
138 'lib/src/elements/observatory_application.html', | |
139 'lib/src/elements/observatory_element.dart', | |
140 'lib/src/elements/observatory_element.html', | |
141 'lib/src/elements/script_inset.dart', | |
142 'lib/src/elements/script_inset.html', | |
143 'lib/src/elements/script_ref.dart', | |
144 'lib/src/elements/script_ref.html', | |
145 'lib/src/elements/script_view.dart', | |
146 'lib/src/elements/script_view.html', | |
147 'lib/src/elements/service_error_view.dart', | |
148 'lib/src/elements/service_error_view.html', | |
149 'lib/src/elements/service_exception_view.dart', | |
150 'lib/src/elements/service_exception_view.html', | |
151 'lib/src/elements/service_ref.dart', | |
152 'lib/src/elements/service_ref.html', | |
153 'lib/src/elements/service_view.dart', | |
154 'lib/src/elements/service_view.html', | |
155 'lib/src/elements/sliding_checkbox.dart', | |
156 'lib/src/elements/sliding_checkbox.html', | |
157 'lib/src/elements/vm_connect.dart', | |
158 'lib/src/elements/vm_connect.html', | |
159 'lib/src/elements/vm_ref.dart', | |
160 'lib/src/elements/vm_ref.html', | |
161 'lib/src/elements/vm_view.dart', | |
162 'lib/src/elements/vm_view.html', | |
163 'lib/src/elements/css/shared.css', | |
164 'lib/src/elements/img/chromium_icon.png', | |
165 'lib/src/elements/img/dart_icon.png', | |
166 'lib/src/elements/img/isolate_icon.png', | |
167 'lib/src/service/object.dart', | |
168 'lib/tracer.dart', | |
169 'web/index.html', | |
170 'web/index_devtools.html', | |
171 'web/main.dart', | |
172 ], | |
173 'actions': [ | |
174 { | |
175 'action_name': 'pub_build_observatory', | |
176 'inputs': [ | |
177 '../../tools/observatory_tool.py', | |
178 '<@(_sources)', | |
179 ], | |
180 'outputs': [ | |
181 '<(PRODUCT_DIR)/observatory/build/web/index.html', | |
182 '<(PRODUCT_DIR)/observatory/build/web/index.html_bootstrap.dart.js', | |
183 '<(PRODUCT_DIR)/observatory/build/web/index_devtools.html', | |
184 '<(PRODUCT_DIR)/observatory/build/web/index_devtools.html_bootstrap.
dart.js', | |
185 ], | |
186 'action': [ | |
187 'python', | |
188 '../tools/observatory_tool.py', | |
189 '--package-root', '<(PRODUCT_DIR)/packages', | |
190 '--dart-executable', | |
191 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | |
192 '--directory', 'observatory', | |
193 '--command', 'build', | |
194 '<(PRODUCT_DIR)/observatory/build' | |
195 ], | |
196 }, | |
197 { | |
198 'action_name': 'deploy_observatory', | |
199 'inputs': [ | |
200 '../../tools/observatory_tool.py', | |
201 '<(PRODUCT_DIR)/observatory/build/web/index.html', | |
202 '<(PRODUCT_DIR)/observatory/build/web/index.html_bootstrap.dart.js', | |
203 '<(PRODUCT_DIR)/observatory/build/web/index_devtools.html', | |
204 '<(PRODUCT_DIR)/observatory/build/web/index_devtools.html_bootstrap.
dart.js', | |
205 ], | |
206 'outputs': [ | |
207 '<(PRODUCT_DIR)/observatory/deployed/web/index.html', | |
208 '<(PRODUCT_DIR)/observatory/deployed/web/index.html_bootstrap.dart.j
s', | |
209 '<(PRODUCT_DIR)/observatory/deployed/web/index_devtools.html', | |
210 '<(PRODUCT_DIR)/observatory/deployed/web/index_devtools.html_bootstr
ap.dart.js', | |
211 ], | |
212 'action': [ | |
213 'python', | |
214 '../tools/observatory_tool.py', | |
215 '--package-root', '<(PRODUCT_DIR)/packages', | |
216 '--dart-executable', | |
217 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | |
218 '--directory', '<(PRODUCT_DIR)/observatory/', | |
219 '--command', 'deploy', | |
220 ], | |
221 } | |
222 ], | |
223 }, | |
224 ], | |
225 } | |
OLD | NEW |