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.
6 "third_party/tvcm/src/tvcm/ui/common.css",
7 "third_party/tvcm/src/tvcm/ui/drag_handle.css",
8 "third_party/tvcm/src/tvcm/ui/info_bar.css",
9 "third_party/tvcm/src/tvcm/ui/line_chart.css",
10 "third_party/tvcm/src/tvcm/ui/list_view.css",
11 "third_party/tvcm/src/tvcm/ui/mouse_mode_selector.css",
12 "third_party/tvcm/src/tvcm/ui/pie_chart.css",
13 "third_party/tvcm/src/tvcm/ui/sortable_table.css",
14 "third_party/tvcm/src/tvcm/ui/sunburst_chart.css",
15 "third_party/tvcm/src/tvcm/ui/tool_button.css",
16 "trace_viewer/about_tracing/common.css",
17 "trace_viewer/cc/layer_picker.css",
18 "trace_viewer/cc/layer_tree_host_impl_view.css",
19 "trace_viewer/cc/layer_view.css",
20 "trace_viewer/cc/picture_ops_chart_summary_view.css",
21 "trace_viewer/cc/picture_ops_chart_view.css",
22 "trace_viewer/cc/picture_ops_list_view.css",
23 "trace_viewer/cc/picture_view.css",
24 "trace_viewer/gpu/state_view.css",
25 "trace_viewer/system_stats/system_stats_instance_track.css",
26 "trace_viewer/system_stats/system_stats_snapshot_view.css",
27 "trace_viewer/tcmalloc/heap_instance_track.css",
28 "trace_viewer/tcmalloc/tcmalloc_instance_view.css",
29 "trace_viewer/tcmalloc/tcmalloc_snapshot_view.css",
30 "trace_viewer/tracing/analysis/analysis_link.css",
31 "trace_viewer/tracing/analysis/analysis_results.css",
32 "trace_viewer/tracing/analysis/default_object_view.css",
33 "trace_viewer/tracing/analysis/generic_object_view.css",
34 "trace_viewer/tracing/side_panel/timeline_view.css",
35 "trace_viewer/tracing/timeline_track_view.css",
36 "trace_viewer/tracing/timeline_view.css",
37 "trace_viewer/tracing/tracks/counter_track.css",
38 "trace_viewer/tracing/tracks/drawing_container.css",
39 "trace_viewer/tracing/tracks/heading_track.css",
40 "trace_viewer/tracing/tracks/object_instance_track.css",
41 "trace_viewer/tracing/tracks/process_track_base.css",
42 "trace_viewer/tracing/tracks/rect_track.css",
43 "trace_viewer/tracing/tracks/ruler_track.css",
44 "trace_viewer/tracing/tracks/spacing_track.css",
45 "trace_viewer/tracing/tracks/thread_track.css",
46 "trace_viewer/tracing/tracks/trace_model_track.css",
47 "trace_viewer/tracing/tracks/track.css",
49 tracing_js_html_files = [
50 "third_party/tvcm/src/tvcm.html",
51 "third_party/tvcm/src/tvcm/base64.html",
52 "third_party/tvcm/src/tvcm/bbox2.html",
53 "third_party/tvcm/src/tvcm/color.html",
54 "third_party/tvcm/src/tvcm/event_target.html",
55 "third_party/tvcm/src/tvcm/events.html",
56 "third_party/tvcm/src/tvcm/gl_matrix.html",
57 "third_party/tvcm/src/tvcm/guid.html",
58 "third_party/tvcm/src/tvcm/interval_tree.html",
59 "third_party/tvcm/src/tvcm/iteration_helpers.html",
60 "third_party/tvcm/src/tvcm/key_event_manager.html",
61 "third_party/tvcm/src/tvcm/measuring_stick.html",
62 "third_party/tvcm/src/tvcm/properties.html",
63 "third_party/tvcm/src/tvcm/quad.html",
64 "third_party/tvcm/src/tvcm/raf.html",
65 "third_party/tvcm/src/tvcm/range.html",
66 "third_party/tvcm/src/tvcm/rect.html",
67 "third_party/tvcm/src/tvcm/settings.html",
68 "third_party/tvcm/src/tvcm/sorted_array_utils.html",
69 "third_party/tvcm/src/tvcm/statistics.html",
70 "third_party/tvcm/src/tvcm/ui.html",
71 "third_party/tvcm/src/tvcm/ui/animation.html",
72 "third_party/tvcm/src/tvcm/ui/animation_controller.html",
73 "third_party/tvcm/src/tvcm/ui/camera.html",
74 "third_party/tvcm/src/tvcm/ui/chart_base.html",
75 "third_party/tvcm/src/tvcm/ui/color_scheme.html",
76 "third_party/tvcm/src/tvcm/ui/container_that_decorates_its_children.html",
77 "third_party/tvcm/src/tvcm/ui/d3.html",
78 "third_party/tvcm/src/tvcm/ui/dom_helpers.html",
79 "third_party/tvcm/src/tvcm/ui/drag_handle.html",
80 "third_party/tvcm/src/tvcm/ui/info_bar.html",
81 "third_party/tvcm/src/tvcm/ui/line_chart.html",
82 "third_party/tvcm/src/tvcm/ui/list_view.html",
83 "third_party/tvcm/src/tvcm/ui/mouse_mode_selector.html",
84 "third_party/tvcm/src/tvcm/ui/mouse_tracker.html",
85 "third_party/tvcm/src/tvcm/ui/overlay.html",
86 "third_party/tvcm/src/tvcm/ui/pie_chart.html",
87 "third_party/tvcm/src/tvcm/ui/quad_stack_view.html",
88 "third_party/tvcm/src/tvcm/ui/sortable_table.html",
89 "third_party/tvcm/src/tvcm/ui/sunburst_chart.html",
90 "third_party/tvcm/src/tvcm/utils.html",
91 "trace_viewer/about_tracing.html",
92 "trace_viewer/about_tracing/features.html",
93 "trace_viewer/about_tracing/inspector_connection.html",
94 "trace_viewer/about_tracing/inspector_tracing_controller_client.html",
95 "trace_viewer/about_tracing/profiling_view.html",
96 "trace_viewer/about_tracing/record_and_capture_controller.html",
97 "trace_viewer/about_tracing/record_selection_dialog.html",
98 "trace_viewer/about_tracing/tracing_controller_client.html",
99 "trace_viewer/about_tracing/xhr_based_tracing_controller_client.html",
100 "trace_viewer/cc.html",
101 "trace_viewer/cc/chrome_browser.html",
102 "trace_viewer/cc/constants.html",
103 "trace_viewer/cc/debug_colors.html",
104 "trace_viewer/cc/layer_impl.html",
105 "trace_viewer/cc/layer_picker.html",
106 "trace_viewer/cc/layer_tree_host_impl.html",
107 "trace_viewer/cc/layer_tree_host_impl_view.html",
108 "trace_viewer/cc/layer_tree_impl.html",
109 "trace_viewer/cc/layer_tree_quad_stack_view.html",
110 "trace_viewer/cc/layer_view.html",
111 "trace_viewer/cc/picture.html",
112 "trace_viewer/cc/picture_as_image_data.html",
113 "trace_viewer/cc/picture_debugger.html",
114 "trace_viewer/cc/picture_ops_chart_summary_view.html",
115 "trace_viewer/cc/picture_ops_chart_view.html",
116 "trace_viewer/cc/picture_ops_list_view.html",
117 "trace_viewer/cc/picture_view.html",
118 "trace_viewer/cc/raster_task.html",
119 "trace_viewer/cc/raster_task_selection.html",
120 "trace_viewer/cc/raster_task_sub_view.html",
121 "trace_viewer/cc/raster_task_sub_view_for_tasks_from_different_lthi.html",
122 "trace_viewer/cc/raster_task_sub_view_for_tasks_from_same_lthi.html",
123 "trace_viewer/cc/region.html",
124 "trace_viewer/cc/render_pass.html",
125 "trace_viewer/cc/selection.html",
126 "trace_viewer/cc/tile.html",
127 "trace_viewer/cc/tile_coverage_rect.html",
128 "trace_viewer/cc/tile_view.html",
129 "trace_viewer/cc/util.html",
130 "trace_viewer/gpu.html",
131 "trace_viewer/gpu/state.html",
132 "trace_viewer/gpu/state_view.html",
133 "trace_viewer/system_stats.html",
134 "trace_viewer/system_stats/system_stats_instance_track.html",
135 "trace_viewer/system_stats/system_stats_snapshot.html",
136 "trace_viewer/system_stats/system_stats_snapshot_view.html",
137 "trace_viewer/tcmalloc.html",
138 "trace_viewer/tcmalloc/heap.html",
139 "trace_viewer/tcmalloc/heap_instance_track.html",
140 "trace_viewer/tcmalloc/tcmalloc_instance_view.html",
141 "trace_viewer/tcmalloc/tcmalloc_snapshot_view.html",
142 "trace_viewer/tracing/analysis/analysis_link.html",
143 "trace_viewer/tracing/analysis/analysis_results.html",
144 "trace_viewer/tracing/analysis/analysis_sub_view.html",
145 "trace_viewer/tracing/analysis/analysis_view.html",
146 "trace_viewer/tracing/analysis/analyze_counters.html",
147 "trace_viewer/tracing/analysis/analyze_objects.html",
148 "trace_viewer/tracing/analysis/analyze_samples.html",
149 "trace_viewer/tracing/analysis/analyze_slices.html",
150 "trace_viewer/tracing/analysis/cpu_slice_view.html",
151 "trace_viewer/tracing/analysis/default_object_view.html",
152 "trace_viewer/tracing/analysis/generic_object_view.html",
153 "trace_viewer/tracing/analysis/object_instance_view.html",
154 "trace_viewer/tracing/analysis/object_snapshot_view.html",
155 "trace_viewer/tracing/analysis/slice_view.html",
156 "trace_viewer/tracing/analysis/tab_view.html",
157 "trace_viewer/tracing/analysis/thread_time_slice_view.html",
158 "trace_viewer/tracing/analysis/util.html",
159 "trace_viewer/tracing/color_scheme.html",
160 "trace_viewer/tracing/constants.html",
161 "trace_viewer/tracing/draw_helpers.html",
162 "trace_viewer/tracing/elided_cache.html",
163 "trace_viewer/tracing/fast_rect_renderer.html",
164 "trace_viewer/tracing/filter.html",
165 "trace_viewer/tracing/find_control.html",
166 "trace_viewer/tracing/find_controller.html",
167 "trace_viewer/tracing/importer.html",
168 "trace_viewer/tracing/importer/etw/eventtrace_parser.html",
169 "trace_viewer/tracing/importer/etw/parser.html",
170 "trace_viewer/tracing/importer/etw/process_parser.html",
171 "trace_viewer/tracing/importer/etw/thread_parser.html",
172 "trace_viewer/tracing/importer/etw_importer.html",
173 "trace_viewer/tracing/importer/gzip_importer.html",
174 "trace_viewer/tracing/importer/importer.html",
175 "trace_viewer/tracing/importer/jszip.html",
176 "trace_viewer/tracing/importer/linux_perf/android_parser.html",
177 "trace_viewer/tracing/importer/linux_perf/bus_parser.html",
178 "trace_viewer/tracing/importer/linux_perf/clock_parser.html",
179 "trace_viewer/tracing/importer/linux_perf/cpufreq_parser.html",
180 "trace_viewer/tracing/importer/linux_perf/disk_parser.html",
181 "trace_viewer/tracing/importer/linux_perf/drm_parser.html",
182 "trace_viewer/tracing/importer/linux_perf/exynos_parser.html",
183 "trace_viewer/tracing/importer/linux_perf/gesture_parser.html",
184 "trace_viewer/tracing/importer/linux_perf/i915_parser.html",
185 "trace_viewer/tracing/importer/linux_perf/kfunc_parser.html",
186 "trace_viewer/tracing/importer/linux_perf/mali_parser.html",
187 "trace_viewer/tracing/importer/linux_perf/parser.html",
188 "trace_viewer/tracing/importer/linux_perf/power_parser.html",
189 "trace_viewer/tracing/importer/linux_perf/sched_parser.html",
190 "trace_viewer/tracing/importer/linux_perf/sync_parser.html",
191 "trace_viewer/tracing/importer/linux_perf/workqueue_parser.html",
192 "trace_viewer/tracing/importer/linux_perf_importer.html",
193 "trace_viewer/tracing/importer/simple_line_reader.html",
194 "trace_viewer/tracing/importer/task.html",
195 "trace_viewer/tracing/importer/trace2html_importer.html",
196 "trace_viewer/tracing/importer/trace_event_importer.html",
197 "trace_viewer/tracing/importer/v8/codemap.html",
198 "trace_viewer/tracing/importer/v8/log_reader.html",
199 "trace_viewer/tracing/importer/v8/splaytree.html",
200 "trace_viewer/tracing/importer/v8_log_importer.html",
201 "trace_viewer/tracing/importer/zip_importer.html",
202 "trace_viewer/tracing/selection.html",
203 "trace_viewer/tracing/side_panel/input_latency.html",
204 "trace_viewer/tracing/side_panel/sampling_summary.html",
205 "trace_viewer/tracing/side_panel/time_summary.html",
206 "trace_viewer/tracing/side_panel/timeline_view.html",
207 "trace_viewer/tracing/timeline_display_transform.html",
208 "trace_viewer/tracing/timeline_display_transform_animations.html",
209 "trace_viewer/tracing/timeline_interest_range.html",
210 "trace_viewer/tracing/timeline_track_view.html",
211 "trace_viewer/tracing/timeline_view.html",
212 "trace_viewer/tracing/timeline_viewport.html",
213 "trace_viewer/tracing/timing_tool.html",
214 "trace_viewer/tracing/trace_model.html",
215 "trace_viewer/tracing/trace_model/async_slice.html",
216 "trace_viewer/tracing/trace_model/async_slice_group.html",
217 "trace_viewer/tracing/trace_model/counter.html",
218 "trace_viewer/tracing/trace_model/counter_sample.html",
219 "trace_viewer/tracing/trace_model/counter_series.html",
220 "trace_viewer/tracing/trace_model/cpu.html",
221 "trace_viewer/tracing/trace_model/event.html",
222 "trace_viewer/tracing/trace_model/flow_event.html",
223 "trace_viewer/tracing/trace_model/instant_event.html",
224 "trace_viewer/tracing/trace_model/kernel.html",
225 "trace_viewer/tracing/trace_model/object_collection.html",
226 "trace_viewer/tracing/trace_model/object_instance.html",
227 "trace_viewer/tracing/trace_model/object_snapshot.html",
228 "trace_viewer/tracing/trace_model/process.html",
229 "trace_viewer/tracing/trace_model/process_base.html",
230 "trace_viewer/tracing/trace_model/sample.html",
231 "trace_viewer/tracing/trace_model/slice.html",
232 "trace_viewer/tracing/trace_model/slice_group.html",
233 "trace_viewer/tracing/trace_model/stack_frame.html",
234 "trace_viewer/tracing/trace_model/thread.html",
235 "trace_viewer/tracing/trace_model/time_to_object_instance_map.html",
236 "trace_viewer/tracing/trace_model/timed_event.html",
237 "trace_viewer/tracing/trace_model_settings.html",
238 "trace_viewer/tracing/tracks/async_slice_group_track.html",
239 "trace_viewer/tracing/tracks/container_track.html",
240 "trace_viewer/tracing/tracks/counter_track.html",
241 "trace_viewer/tracing/tracks/cpu_track.html",
242 "trace_viewer/tracing/tracks/drawing_container.html",
243 "trace_viewer/tracing/tracks/heading_track.html",
244 "trace_viewer/tracing/tracks/kernel_track.html",
245 "trace_viewer/tracing/tracks/multi_row_track.html",
246 "trace_viewer/tracing/tracks/object_instance_group_track.html",
247 "trace_viewer/tracing/tracks/object_instance_track.html",
248 "trace_viewer/tracing/tracks/process_track.html",
249 "trace_viewer/tracing/tracks/process_track_base.html",
250 "trace_viewer/tracing/tracks/rect_track.html",
251 "trace_viewer/tracing/tracks/ruler_track.html",
252 "trace_viewer/tracing/tracks/sample_track.html",
253 "trace_viewer/tracing/tracks/slice_group_track.html",
254 "trace_viewer/tracing/tracks/slice_track.html",
255 "trace_viewer/tracing/tracks/spacing_track.html",
256 "trace_viewer/tracing/tracks/stacked_bars_track.html",
257 "trace_viewer/tracing/tracks/thread_track.html",
258 "trace_viewer/tracing/tracks/trace_model_track.html",
259 "trace_viewer/tracing/tracks/track.html",
261 tracing_img_files = [
262 "third_party/tvcm/src/tvcm/images/chrome-left.png",
263 "third_party/tvcm/src/tvcm/images/chrome-mid.png",
264 "third_party/tvcm/src/tvcm/images/chrome-right.png",
265 "third_party/tvcm/src/tvcm/images/ui-states.png",
266 "trace_viewer/images/checkerboard.png",
267 "trace_viewer/images/collapse.png",
268 "trace_viewer/images/expand.png",
269 "trace_viewer/images/input-event.png",
272 # TODO: ideally this would go into the target_gen_dir, but this requires some
273 # changes to the scripts that process them.
274 output_resource_dir = "$root_gen_dir/content/browser/tracing"
276 action("generate_about_tracing") {
277 script = "trace_viewer/build/generate_about_tracing_contents"
279 source_prereqs = tracing_css_files + tracing_js_html_files +
282 "$output_resource_dir/about_tracing.js",
283 "$output_resource_dir/about_tracing.html",
287 "--outdir", rebase_path(output_resource_dir, root_build_dir),