OLD | NEW |
| (Empty) |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 tracing_html_files = [ | |
6 "trace_viewer/about_tracing/profiling_view.html", | |
7 "trace_viewer/tracing/record_selection_dialog.html", | |
8 "trace_viewer/tracing/sampling_summary_side_panel.html", | |
9 "trace_viewer/tracing/time_summary_side_panel.html", | |
10 "trace_viewer/tracing/input_latency_side_panel.html", | |
11 "trace_viewer/tracing/timeline_view.html", | |
12 "trace_viewer/tracing/analysis/cpu_slice_view.html", | |
13 "trace_viewer/tracing/analysis/thread_time_slice_view.html", | |
14 "trace_viewer/tracing/find_control.html", | |
15 "third_party/tvcm/src/tvcm/unittest/html_test_results.html", | |
16 "third_party/tvcm/src/tvcm/unittest/interactive_test_runner.html", | |
17 "third_party/tvcm/src/tvcm/unittest/module_test_case_runner.html", | |
18 "third_party/tvcm/src/tvcm/ui/chart_base.html", | |
19 "third_party/tvcm/src/tvcm/ui/mouse_mode_selector.html", | |
20 "third_party/tvcm/src/tvcm/ui/overlay.html", | |
21 "third_party/tvcm/src/tvcm/ui/quad_stack_view.html", | |
22 "trace_viewer/cc/picture_debugger.html", | |
23 ] | |
24 tracing_css_files = [ | |
25 "trace_viewer/about_tracing/common.css", | |
26 "trace_viewer/cc/layer_picker.css", | |
27 "trace_viewer/cc/layer_tree_host_impl_view.css", | |
28 "trace_viewer/cc/layer_tree_quad_stack_view.css", | |
29 "trace_viewer/cc/layer_view.css", | |
30 "trace_viewer/cc/picture_debugger.css", | |
31 "trace_viewer/cc/picture_ops_chart_summary_view.css", | |
32 "trace_viewer/cc/picture_ops_chart_view.css", | |
33 "trace_viewer/cc/picture_ops_list_view.css", | |
34 "trace_viewer/cc/picture_view.css", | |
35 "trace_viewer/cc/raster_task_slice_view.css", | |
36 "trace_viewer/gpu/state_view.css", | |
37 "trace_viewer/system_stats/system_stats_instance_track.css", | |
38 "trace_viewer/system_stats/system_stats_snapshot_view.css", | |
39 "trace_viewer/tcmalloc/heap_instance_track.css", | |
40 "trace_viewer/tcmalloc/tcmalloc_instance_view.css", | |
41 "trace_viewer/tcmalloc/tcmalloc_snapshot_view.css", | |
42 "trace_viewer/tracing/analysis/analysis_link.css", | |
43 "trace_viewer/tracing/analysis/analysis_results.css", | |
44 "trace_viewer/tracing/analysis/analysis_view.css", | |
45 "trace_viewer/tracing/analysis/analyze_slices.css", | |
46 "trace_viewer/tracing/analysis/default_object_view.css", | |
47 "trace_viewer/tracing/analysis/generic_object_view.css", | |
48 "trace_viewer/tracing/timeline_track_view.css", | |
49 "trace_viewer/tracing/timeline_view.css", | |
50 "trace_viewer/tracing/timeline_view_side_panel.css", | |
51 "trace_viewer/tracing/tracks/counter_track.css", | |
52 "trace_viewer/tracing/tracks/drawing_container.css", | |
53 "trace_viewer/tracing/tracks/heading_track.css", | |
54 "trace_viewer/tracing/tracks/object_instance_track.css", | |
55 "trace_viewer/tracing/tracks/process_track_base.css", | |
56 "trace_viewer/tracing/tracks/ruler_track.css", | |
57 "trace_viewer/tracing/tracks/slice_track.css", | |
58 "trace_viewer/tracing/tracks/spacing_track.css", | |
59 "trace_viewer/tracing/tracks/stacked_bars_track.css", | |
60 "trace_viewer/tracing/tracks/thread_track.css", | |
61 "trace_viewer/tracing/tracks/trace_model_track.css", | |
62 "trace_viewer/tracing/tracks/track.css", | |
63 "third_party/tvcm/src/tvcm/unittest/common.css", | |
64 "third_party/tvcm/src/tvcm/ui/common.css", | |
65 "third_party/tvcm/src/tvcm/ui/bar_chart.css", | |
66 "third_party/tvcm/src/tvcm/ui/drag_handle.css", | |
67 "third_party/tvcm/src/tvcm/ui/info_bar.css", | |
68 "third_party/tvcm/src/tvcm/ui/line_chart.css", | |
69 "third_party/tvcm/src/tvcm/ui/list_and_associated_view.css", | |
70 "third_party/tvcm/src/tvcm/ui/list_view.css", | |
71 "third_party/tvcm/src/tvcm/ui/mouse_mode_selector.css", | |
72 "third_party/tvcm/src/tvcm/ui/pie_chart.css", | |
73 "third_party/tvcm/src/tvcm/ui/quad_stack_view.css", | |
74 "third_party/tvcm/src/tvcm/ui/sortable_table.css", | |
75 "third_party/tvcm/src/tvcm/ui/sunburst_chart.css", | |
76 "third_party/tvcm/src/tvcm/ui/tool_button.css", | |
77 ] | |
78 tracing_js_files = [ | |
79 "trace_viewer/about_tracing/__init__.js", | |
80 "trace_viewer/about_tracing/features.js", | |
81 "trace_viewer/about_tracing/mock_request_handler.js", | |
82 "trace_viewer/about_tracing/profiling_view.js", | |
83 "trace_viewer/about_tracing/tracing_ui_client.js", | |
84 "trace_viewer/cc/__init__.js", | |
85 "trace_viewer/cc/constants.js", | |
86 "trace_viewer/cc/debug_colors.js", | |
87 "trace_viewer/cc/layer_impl.js", | |
88 "trace_viewer/cc/layer_picker.js", | |
89 "trace_viewer/cc/layer_tree_host_impl.js", | |
90 "trace_viewer/cc/layer_tree_host_impl_view.js", | |
91 "trace_viewer/cc/layer_tree_impl.js", | |
92 "trace_viewer/cc/layer_tree_quad_stack_view.js", | |
93 "trace_viewer/cc/layer_view.js", | |
94 "trace_viewer/cc/picture.js", | |
95 "trace_viewer/cc/picture_as_image_data.js", | |
96 "trace_viewer/cc/picture_debugger.js", | |
97 "trace_viewer/cc/picture_ops_chart_summary_view.js", | |
98 "trace_viewer/cc/picture_ops_chart_view.js", | |
99 "trace_viewer/cc/picture_ops_list_view.js", | |
100 "trace_viewer/cc/picture_view.js", | |
101 "trace_viewer/cc/raster_task_slice_view.js", | |
102 "trace_viewer/cc/region.js", | |
103 "trace_viewer/cc/render_pass.js", | |
104 "trace_viewer/cc/selection.js", | |
105 "trace_viewer/cc/tile.js", | |
106 "trace_viewer/cc/tile_coverage_rect.js", | |
107 "trace_viewer/cc/tile_view.js", | |
108 "trace_viewer/cc/util.js", | |
109 "trace_viewer/gpu/__init__.js", | |
110 "trace_viewer/gpu/state.js", | |
111 "trace_viewer/gpu/state_view.js", | |
112 "trace_viewer/system_stats/__init__.js", | |
113 "trace_viewer/system_stats/system_stats_instance_track.js", | |
114 "trace_viewer/system_stats/system_stats_snapshot.js", | |
115 "trace_viewer/system_stats/system_stats_snapshot_view.js", | |
116 "trace_viewer/tcmalloc/__init__.js", | |
117 "trace_viewer/tcmalloc/heap.js", | |
118 "trace_viewer/tcmalloc/heap_instance_track.js", | |
119 "trace_viewer/tcmalloc/tcmalloc_instance_view.js", | |
120 "trace_viewer/tcmalloc/tcmalloc_snapshot_view.js", | |
121 "trace_viewer/tracing/analysis/analysis_link.js", | |
122 "trace_viewer/tracing/analysis/analysis_results.js", | |
123 "trace_viewer/tracing/analysis/analysis_view.js", | |
124 "trace_viewer/tracing/analysis/analyze_counters.js", | |
125 "trace_viewer/tracing/analysis/analyze_selection.js", | |
126 "trace_viewer/tracing/analysis/analyze_slices.js", | |
127 "trace_viewer/tracing/analysis/cpu_slice_view.js", | |
128 "trace_viewer/tracing/analysis/default_object_view.js", | |
129 "trace_viewer/tracing/analysis/generic_object_view.js", | |
130 "trace_viewer/tracing/analysis/object_instance_view.js", | |
131 "trace_viewer/tracing/analysis/object_snapshot_view.js", | |
132 "trace_viewer/tracing/analysis/slice_view.js", | |
133 "trace_viewer/tracing/analysis/stub_analysis_results.js", | |
134 "trace_viewer/tracing/analysis/stub_analysis_table.js", | |
135 "trace_viewer/tracing/analysis/thread_time_slice_view.js", | |
136 "trace_viewer/tracing/analysis/util.js", | |
137 "trace_viewer/tracing/color_scheme.js", | |
138 "trace_viewer/tracing/constants.js", | |
139 "trace_viewer/tracing/draw_helpers.js", | |
140 "trace_viewer/tracing/elided_cache.js", | |
141 "trace_viewer/tracing/fast_rect_renderer.js", | |
142 "trace_viewer/tracing/filter.js", | |
143 "trace_viewer/tracing/find_control.js", | |
144 "trace_viewer/tracing/importer/__init__.js", | |
145 "trace_viewer/tracing/importer/gzip_importer.js", | |
146 "trace_viewer/tracing/importer/importer.js", | |
147 "trace_viewer/tracing/importer/simple_line_reader.js", | |
148 "trace_viewer/tracing/importer/linux_perf/android_parser.js", | |
149 "trace_viewer/tracing/importer/linux_perf/bus_parser.js", | |
150 "trace_viewer/tracing/importer/linux_perf/clock_parser.js", | |
151 "trace_viewer/tracing/importer/linux_perf/cpufreq_parser.js", | |
152 "trace_viewer/tracing/importer/linux_perf/disk_parser.js", | |
153 "trace_viewer/tracing/importer/linux_perf/drm_parser.js", | |
154 "trace_viewer/tracing/importer/linux_perf/exynos_parser.js", | |
155 "trace_viewer/tracing/importer/linux_perf/gesture_parser.js", | |
156 "trace_viewer/tracing/importer/linux_perf/i915_parser.js", | |
157 "trace_viewer/tracing/importer/linux_perf/kfunc_parser.js", | |
158 "trace_viewer/tracing/importer/linux_perf/mali_parser.js", | |
159 "trace_viewer/tracing/importer/linux_perf/parser.js", | |
160 "trace_viewer/tracing/importer/linux_perf/power_parser.js", | |
161 "trace_viewer/tracing/importer/linux_perf/sched_parser.js", | |
162 "trace_viewer/tracing/importer/linux_perf/sync_parser.js", | |
163 "trace_viewer/tracing/importer/linux_perf/workqueue_parser.js", | |
164 "trace_viewer/tracing/importer/linux_perf_importer.js", | |
165 "trace_viewer/tracing/importer/task.js", | |
166 "trace_viewer/tracing/importer/timeline_stream_importer.js", | |
167 "trace_viewer/tracing/importer/trace2html_importer.js", | |
168 "trace_viewer/tracing/importer/trace_event_importer.js", | |
169 "trace_viewer/tracing/importer/etw/parser.js", | |
170 "trace_viewer/tracing/importer/etw/eventtrace_parser.js", | |
171 "trace_viewer/tracing/importer/etw/process_parser.js", | |
172 "trace_viewer/tracing/importer/etw/thread_parser.js", | |
173 "trace_viewer/tracing/importer/etw_importer.js", | |
174 "trace_viewer/tracing/importer/v8/codemap.js", | |
175 "trace_viewer/tracing/importer/v8/log_reader.js", | |
176 "trace_viewer/tracing/importer/v8/splaytree.js", | |
177 "trace_viewer/tracing/importer/v8_log_importer.js", | |
178 "trace_viewer/tracing/importer/zip_importer.js", | |
179 "trace_viewer/tracing/record_selection_dialog.js", | |
180 "trace_viewer/tracing/sampling_summary_side_panel.js", | |
181 "trace_viewer/tracing/selection.js", | |
182 "trace_viewer/tracing/standalone_timeline_view.js", | |
183 "trace_viewer/tracing/test_utils.js", | |
184 "trace_viewer/tracing/time_summary_side_panel.js", | |
185 "trace_viewer/tracing/input_latency_side_panel.js", | |
186 "trace_viewer/tracing/timeline_display_transform.js", | |
187 "trace_viewer/tracing/timeline_display_transform_animations.js", | |
188 "trace_viewer/tracing/timeline_interest_range.js", | |
189 "trace_viewer/tracing/timeline_track_view.js", | |
190 "trace_viewer/tracing/timeline_view.js", | |
191 "trace_viewer/tracing/timeline_view_side_panel.js", | |
192 "trace_viewer/tracing/timeline_viewport.js", | |
193 "trace_viewer/tracing/timing_tool.js", | |
194 "trace_viewer/tracing/trace_model.js", | |
195 "trace_viewer/tracing/trace_model/async_slice.js", | |
196 "trace_viewer/tracing/trace_model/async_slice_group.js", | |
197 "trace_viewer/tracing/trace_model/counter.js", | |
198 "trace_viewer/tracing/trace_model/counter_sample.js", | |
199 "trace_viewer/tracing/trace_model/counter_series.js", | |
200 "trace_viewer/tracing/trace_model/cpu.js", | |
201 "trace_viewer/tracing/trace_model/event.js", | |
202 "trace_viewer/tracing/trace_model/flow_event.js", | |
203 "trace_viewer/tracing/trace_model/instant_event.js", | |
204 "trace_viewer/tracing/trace_model/kernel.js", | |
205 "trace_viewer/tracing/trace_model/object_collection.js", | |
206 "trace_viewer/tracing/trace_model/object_instance.js", | |
207 "trace_viewer/tracing/trace_model/object_snapshot.js", | |
208 "trace_viewer/tracing/trace_model/process.js", | |
209 "trace_viewer/tracing/trace_model/process_base.js", | |
210 "trace_viewer/tracing/trace_model/sample.js", | |
211 "trace_viewer/tracing/trace_model/stack_frame.js", | |
212 "trace_viewer/tracing/trace_model/slice.js", | |
213 "trace_viewer/tracing/trace_model/slice_group.js", | |
214 "trace_viewer/tracing/trace_model/thread.js", | |
215 "trace_viewer/tracing/trace_model/time_to_object_instance_map.js", | |
216 "trace_viewer/tracing/trace_model/timed_event.js", | |
217 "trace_viewer/tracing/trace_model_settings.js", | |
218 "trace_viewer/tracing/tracks/async_slice_group_track.js", | |
219 "trace_viewer/tracing/tracks/container_track.js", | |
220 "trace_viewer/tracing/tracks/counter_track.js", | |
221 "trace_viewer/tracing/tracks/cpu_track.js", | |
222 "trace_viewer/tracing/tracks/drawing_container.js", | |
223 "trace_viewer/tracing/tracks/heading_track.js", | |
224 "trace_viewer/tracing/tracks/kernel_track.js", | |
225 "trace_viewer/tracing/tracks/object_instance_track.js", | |
226 "trace_viewer/tracing/tracks/process_track.js", | |
227 "trace_viewer/tracing/tracks/process_track_base.js", | |
228 "trace_viewer/tracing/tracks/ruler_track.js", | |
229 "trace_viewer/tracing/tracks/slice_group_track.js", | |
230 "trace_viewer/tracing/tracks/slice_track.js", | |
231 "trace_viewer/tracing/tracks/spacing_track.js", | |
232 "trace_viewer/tracing/tracks/stacked_bars_track.js", | |
233 "trace_viewer/tracing/tracks/thread_track.js", | |
234 "trace_viewer/tracing/tracks/trace_model_track.js", | |
235 "trace_viewer/tracing/tracks/track.js", | |
236 "third_party/tvcm/src/tvcm/__init__.js", | |
237 "third_party/tvcm/src/tvcm/base64.js", | |
238 "third_party/tvcm/src/tvcm/bbox2.js", | |
239 "third_party/tvcm/src/tvcm/color.js", | |
240 "third_party/tvcm/src/tvcm/event_target.js", | |
241 "third_party/tvcm/src/tvcm/events.js", | |
242 "third_party/tvcm/src/tvcm/gl_matrix.js", | |
243 "third_party/tvcm/src/tvcm/guid.js", | |
244 "third_party/tvcm/src/tvcm/interval_tree.js", | |
245 "third_party/tvcm/src/tvcm/iteration_helpers.js", | |
246 "third_party/tvcm/src/tvcm/key_event_manager.js", | |
247 "third_party/tvcm/src/tvcm/measuring_stick.js", | |
248 "third_party/tvcm/src/tvcm/polymer.js", | |
249 "third_party/tvcm/src/tvcm/promise.js", | |
250 "third_party/tvcm/src/tvcm/properties.js", | |
251 "third_party/tvcm/src/tvcm/quad.js", | |
252 "third_party/tvcm/src/tvcm/raf.js", | |
253 "third_party/tvcm/src/tvcm/range.js", | |
254 "third_party/tvcm/src/tvcm/rect.js", | |
255 "third_party/tvcm/src/tvcm/settings.js", | |
256 "third_party/tvcm/src/tvcm/sorted_array_utils.js", | |
257 "third_party/tvcm/src/tvcm/statistics.js", | |
258 "third_party/tvcm/src/tvcm/unittest/__init__.js", | |
259 "third_party/tvcm/src/tvcm/unittest/assertions.js", | |
260 "third_party/tvcm/src/tvcm/unittest/constants.js", | |
261 "third_party/tvcm/src/tvcm/unittest/html_test_results.js", | |
262 "third_party/tvcm/src/tvcm/unittest/interactive_test_runner.js", | |
263 "third_party/tvcm/src/tvcm/unittest/suite_loader.js", | |
264 "third_party/tvcm/src/tvcm/unittest/test_case.js", | |
265 "third_party/tvcm/src/tvcm/unittest/test_error.js", | |
266 "third_party/tvcm/src/tvcm/unittest/test_runner.js", | |
267 "third_party/tvcm/src/tvcm/unittest/test_suite.js", | |
268 "third_party/tvcm/src/tvcm/unittest/text_test_results.js", | |
269 "third_party/tvcm/src/tvcm/utils.js", | |
270 "third_party/tvcm/src/tvcm/ui/__init__.js", | |
271 "third_party/tvcm/src/tvcm/ui/animation.js", | |
272 "third_party/tvcm/src/tvcm/ui/animation_controller.js", | |
273 "third_party/tvcm/src/tvcm/ui/bar_chart.js", | |
274 "third_party/tvcm/src/tvcm/ui/camera.js", | |
275 "third_party/tvcm/src/tvcm/ui/chart_base.js", | |
276 "third_party/tvcm/src/tvcm/ui/color_scheme.js", | |
277 "third_party/tvcm/src/tvcm/ui/container_that_decorates_its_children.js", | |
278 "third_party/tvcm/src/tvcm/ui/d3.js", | |
279 "third_party/tvcm/src/tvcm/ui/dom_helpers.js", | |
280 "third_party/tvcm/src/tvcm/ui/drag_handle.js", | |
281 "third_party/tvcm/src/tvcm/ui/info_bar.js", | |
282 "third_party/tvcm/src/tvcm/ui/line_chart.js", | |
283 "third_party/tvcm/src/tvcm/ui/list_and_associated_view.js", | |
284 "third_party/tvcm/src/tvcm/ui/list_view.js", | |
285 "third_party/tvcm/src/tvcm/ui/mouse_mode_selector.js", | |
286 "third_party/tvcm/src/tvcm/ui/mouse_tracker.js", | |
287 "third_party/tvcm/src/tvcm/ui/overlay.js", | |
288 "third_party/tvcm/src/tvcm/ui/pie_chart.js", | |
289 "third_party/tvcm/src/tvcm/ui/quad_stack_view.js", | |
290 "third_party/tvcm/src/tvcm/ui/sortable_table.js", | |
291 "third_party/tvcm/src/tvcm/ui/sunburst_chart.js", | |
292 ] | |
293 tracing_img_files = [ | |
294 "trace_viewer/images/checkerboard.png", | |
295 "trace_viewer/images/collapse.png", | |
296 "trace_viewer/images/expand.png", | |
297 "third_party/tvcm/src/tvcm/images/chrome-left.png", | |
298 "third_party/tvcm/src/tvcm/images/chrome-right.png", | |
299 "third_party/tvcm/src/tvcm/images/chrome-mid.png", | |
300 "third_party/tvcm/src/tvcm/images/ui-states.png", | |
301 ] | |
302 | |
303 # TODO: ideally this would go into the target_gen_dir, but this requires some | |
304 # changes to the scripts that process them. | |
305 output_resource_dir = "$root_gen_dir/content/browser/tracing" | |
306 | |
307 action("generate_about_tracing") { | |
308 script = "trace_viewer/build/generate_about_tracing_contents" | |
309 | |
310 inputs = tracing_html_files + tracing_css_files + tracing_js_files + | |
311 tracing_img_files | |
312 outputs = [ | |
313 "$output_resource_dir/about_tracing.js", | |
314 "$output_resource_dir/about_tracing.html", | |
315 ] | |
316 | |
317 args = [ | |
318 "--outdir", rebase_path(output_resource_dir, root_build_dir), | |
319 ] | |
320 } | |
OLD | NEW |