Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / trace_viewer.gyp
1 # Copyright (c) 2013 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 {
6   'variables': {
7     'tracing_html_files': [
8       'trace_viewer/about_tracing/profiling_view.html',
9       'trace_viewer/tracing/record_selection_dialog.html',
10       'trace_viewer/tracing/time_summary_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/tool_button.css',
76     ],
77     'tracing_js_files': [
78       'trace_viewer/about_tracing/__init__.js',
79       'trace_viewer/about_tracing/features.js',
80       'trace_viewer/about_tracing/mock_request_handler.js',
81       'trace_viewer/about_tracing/profiling_view.js',
82       'trace_viewer/about_tracing/tracing_ui_client.js',
83       'trace_viewer/cc/__init__.js',
84       'trace_viewer/cc/constants.js',
85       'trace_viewer/cc/debug_colors.js',
86       'trace_viewer/cc/layer_impl.js',
87       'trace_viewer/cc/layer_picker.js',
88       'trace_viewer/cc/layer_tree_host_impl.js',
89       'trace_viewer/cc/layer_tree_host_impl_view.js',
90       'trace_viewer/cc/layer_tree_impl.js',
91       'trace_viewer/cc/layer_tree_quad_stack_view.js',
92       'trace_viewer/cc/layer_view.js',
93       'trace_viewer/cc/picture.js',
94       'trace_viewer/cc/picture_as_image_data.js',
95       'trace_viewer/cc/picture_debugger.js',
96       'trace_viewer/cc/picture_ops_chart_summary_view.js',
97       'trace_viewer/cc/picture_ops_chart_view.js',
98       'trace_viewer/cc/picture_ops_list_view.js',
99       'trace_viewer/cc/picture_view.js',
100       'trace_viewer/cc/raster_task_slice_view.js',
101       'trace_viewer/cc/region.js',
102       'trace_viewer/cc/render_pass.js',
103       'trace_viewer/cc/selection.js',
104       'trace_viewer/cc/tile.js',
105       'trace_viewer/cc/tile_coverage_rect.js',
106       'trace_viewer/cc/tile_view.js',
107       'trace_viewer/cc/util.js',
108       'trace_viewer/gpu/__init__.js',
109       'trace_viewer/gpu/state.js',
110       'trace_viewer/gpu/state_view.js',
111       'trace_viewer/system_stats/__init__.js',
112       'trace_viewer/system_stats/system_stats_instance_track.js',
113       'trace_viewer/system_stats/system_stats_snapshot.js',
114       'trace_viewer/system_stats/system_stats_snapshot_view.js',
115       'trace_viewer/tcmalloc/__init__.js',
116       'trace_viewer/tcmalloc/heap.js',
117       'trace_viewer/tcmalloc/heap_instance_track.js',
118       'trace_viewer/tcmalloc/tcmalloc_instance_view.js',
119       'trace_viewer/tcmalloc/tcmalloc_snapshot_view.js',
120       'trace_viewer/tracing/analysis/analysis_link.js',
121       'trace_viewer/tracing/analysis/analysis_results.js',
122       'trace_viewer/tracing/analysis/analysis_view.js',
123       'trace_viewer/tracing/analysis/analyze_counters.js',
124       'trace_viewer/tracing/analysis/analyze_selection.js',
125       'trace_viewer/tracing/analysis/analyze_slices.js',
126       'trace_viewer/tracing/analysis/cpu_slice_view.js',
127       'trace_viewer/tracing/analysis/default_object_view.js',
128       'trace_viewer/tracing/analysis/generic_object_view.js',
129       'trace_viewer/tracing/analysis/object_instance_view.js',
130       'trace_viewer/tracing/analysis/object_snapshot_view.js',
131       'trace_viewer/tracing/analysis/slice_view.js',
132       'trace_viewer/tracing/analysis/stub_analysis_results.js',
133       'trace_viewer/tracing/analysis/stub_analysis_table.js',
134       'trace_viewer/tracing/analysis/thread_time_slice_view.js',
135       'trace_viewer/tracing/analysis/util.js',
136       'trace_viewer/tracing/color_scheme.js',
137       'trace_viewer/tracing/constants.js',
138       'trace_viewer/tracing/draw_helpers.js',
139       'trace_viewer/tracing/elided_cache.js',
140       'trace_viewer/tracing/fast_rect_renderer.js',
141       'trace_viewer/tracing/filter.js',
142       'trace_viewer/tracing/find_control.js',
143       'trace_viewer/tracing/importer/__init__.js',
144       'trace_viewer/tracing/importer/gzip_importer.js',
145       'trace_viewer/tracing/importer/importer.js',
146       'trace_viewer/tracing/importer/linux_perf/android_parser.js',
147       'trace_viewer/tracing/importer/linux_perf/bus_parser.js',
148       'trace_viewer/tracing/importer/linux_perf/clock_parser.js',
149       'trace_viewer/tracing/importer/linux_perf/cpufreq_parser.js',
150       'trace_viewer/tracing/importer/linux_perf/disk_parser.js',
151       'trace_viewer/tracing/importer/linux_perf/drm_parser.js',
152       'trace_viewer/tracing/importer/linux_perf/exynos_parser.js',
153       'trace_viewer/tracing/importer/linux_perf/gesture_parser.js',
154       'trace_viewer/tracing/importer/linux_perf/i915_parser.js',
155       'trace_viewer/tracing/importer/linux_perf/kfunc_parser.js',
156       'trace_viewer/tracing/importer/linux_perf/mali_parser.js',
157       'trace_viewer/tracing/importer/linux_perf/parser.js',
158       'trace_viewer/tracing/importer/linux_perf/power_parser.js',
159       'trace_viewer/tracing/importer/linux_perf/sched_parser.js',
160       'trace_viewer/tracing/importer/linux_perf/sync_parser.js',
161       'trace_viewer/tracing/importer/linux_perf/workqueue_parser.js',
162       'trace_viewer/tracing/importer/linux_perf_importer.js',
163       'trace_viewer/tracing/importer/task.js',
164       'trace_viewer/tracing/importer/timeline_stream_importer.js',
165       'trace_viewer/tracing/importer/trace_event_importer.js',
166       'trace_viewer/tracing/importer/etw/parser.js',
167       'trace_viewer/tracing/importer/etw/eventtrace_parser.js',
168       'trace_viewer/tracing/importer/etw/process_parser.js',
169       'trace_viewer/tracing/importer/etw/thread_parser.js',
170       'trace_viewer/tracing/importer/etw_importer.js',
171       'trace_viewer/tracing/importer/v8/codemap.js',
172       'trace_viewer/tracing/importer/v8/log_reader.js',
173       'trace_viewer/tracing/importer/v8/splaytree.js',
174       'trace_viewer/tracing/importer/v8_log_importer.js',
175       'trace_viewer/tracing/importer/zip_importer.js',
176       'trace_viewer/tracing/record_selection_dialog.js',
177       'trace_viewer/tracing/selection.js',
178       'trace_viewer/tracing/standalone_timeline_view.js',
179       'trace_viewer/tracing/test_utils.js',
180       'trace_viewer/tracing/time_summary_side_panel.js',
181       'trace_viewer/tracing/timeline_display_transform.js',
182       'trace_viewer/tracing/timeline_display_transform_animations.js',
183       'trace_viewer/tracing/timeline_interest_range.js',
184       'trace_viewer/tracing/timeline_track_view.js',
185       'trace_viewer/tracing/timeline_view.js',
186       'trace_viewer/tracing/timeline_view_side_panel.js',
187       'trace_viewer/tracing/timeline_viewport.js',
188       'trace_viewer/tracing/timing_tool.js',
189       'trace_viewer/tracing/trace_model.js',
190       'trace_viewer/tracing/trace_model/async_slice.js',
191       'trace_viewer/tracing/trace_model/async_slice_group.js',
192       'trace_viewer/tracing/trace_model/counter.js',
193       'trace_viewer/tracing/trace_model/counter_sample.js',
194       'trace_viewer/tracing/trace_model/counter_series.js',
195       'trace_viewer/tracing/trace_model/cpu.js',
196       'trace_viewer/tracing/trace_model/event.js',
197       'trace_viewer/tracing/trace_model/flow_event.js',
198       'trace_viewer/tracing/trace_model/instant_event.js',
199       'trace_viewer/tracing/trace_model/kernel.js',
200       'trace_viewer/tracing/trace_model/object_collection.js',
201       'trace_viewer/tracing/trace_model/object_instance.js',
202       'trace_viewer/tracing/trace_model/object_snapshot.js',
203       'trace_viewer/tracing/trace_model/process.js',
204       'trace_viewer/tracing/trace_model/process_base.js',
205       'trace_viewer/tracing/trace_model/sample.js',
206       'trace_viewer/tracing/trace_model/stack_frame.js',
207       'trace_viewer/tracing/trace_model/slice.js',
208       'trace_viewer/tracing/trace_model/slice_group.js',
209       'trace_viewer/tracing/trace_model/thread.js',
210       'trace_viewer/tracing/trace_model/time_to_object_instance_map.js',
211       'trace_viewer/tracing/trace_model/timed_event.js',
212       'trace_viewer/tracing/trace_model_settings.js',
213       'trace_viewer/tracing/tracks/async_slice_group_track.js',
214       'trace_viewer/tracing/tracks/container_track.js',
215       'trace_viewer/tracing/tracks/counter_track.js',
216       'trace_viewer/tracing/tracks/cpu_track.js',
217       'trace_viewer/tracing/tracks/drawing_container.js',
218       'trace_viewer/tracing/tracks/heading_track.js',
219       'trace_viewer/tracing/tracks/kernel_track.js',
220       'trace_viewer/tracing/tracks/object_instance_track.js',
221       'trace_viewer/tracing/tracks/process_track.js',
222       'trace_viewer/tracing/tracks/process_track_base.js',
223       'trace_viewer/tracing/tracks/ruler_track.js',
224       'trace_viewer/tracing/tracks/slice_group_track.js',
225       'trace_viewer/tracing/tracks/slice_track.js',
226       'trace_viewer/tracing/tracks/spacing_track.js',
227       'trace_viewer/tracing/tracks/stacked_bars_track.js',
228       'trace_viewer/tracing/tracks/thread_track.js',
229       'trace_viewer/tracing/tracks/trace_model_track.js',
230       'trace_viewer/tracing/tracks/track.js',
231       'third_party/tvcm/src/tvcm/__init__.js',
232       'third_party/tvcm/src/tvcm/base64.js',
233       'third_party/tvcm/src/tvcm/bbox2.js',
234       'third_party/tvcm/src/tvcm/color.js',
235       'third_party/tvcm/src/tvcm/event_target.js',
236       'third_party/tvcm/src/tvcm/events.js',
237       'third_party/tvcm/src/tvcm/gl_matrix.js',
238       'third_party/tvcm/src/tvcm/guid.js',
239       'third_party/tvcm/src/tvcm/interval_tree.js',
240       'third_party/tvcm/src/tvcm/iteration_helpers.js',
241       'third_party/tvcm/src/tvcm/key_event_manager.js',
242       'third_party/tvcm/src/tvcm/measuring_stick.js',
243       'third_party/tvcm/src/tvcm/polymer.js',
244       'third_party/tvcm/src/tvcm/promise.js',
245       'third_party/tvcm/src/tvcm/properties.js',
246       'third_party/tvcm/src/tvcm/quad.js',
247       'third_party/tvcm/src/tvcm/raf.js',
248       'third_party/tvcm/src/tvcm/range.js',
249       'third_party/tvcm/src/tvcm/rect.js',
250       'third_party/tvcm/src/tvcm/settings.js',
251       'third_party/tvcm/src/tvcm/sorted_array_utils.js',
252       'third_party/tvcm/src/tvcm/statistics.js',
253       'third_party/tvcm/src/tvcm/unittest/__init__.js',
254       'third_party/tvcm/src/tvcm/unittest/assertions.js',
255       'third_party/tvcm/src/tvcm/unittest/constants.js',
256       'third_party/tvcm/src/tvcm/unittest/html_test_results.js',
257       'third_party/tvcm/src/tvcm/unittest/interactive_test_runner.js',
258       'third_party/tvcm/src/tvcm/unittest/suite_loader.js',
259       'third_party/tvcm/src/tvcm/unittest/test_case.js',
260       'third_party/tvcm/src/tvcm/unittest/test_error.js',
261       'third_party/tvcm/src/tvcm/unittest/test_runner.js',
262       'third_party/tvcm/src/tvcm/unittest/test_suite.js',
263       'third_party/tvcm/src/tvcm/unittest/text_test_results.js',
264       'third_party/tvcm/src/tvcm/utils.js',
265       'third_party/tvcm/src/tvcm/ui/__init__.js',
266       'third_party/tvcm/src/tvcm/ui/animation.js',
267       'third_party/tvcm/src/tvcm/ui/animation_controller.js',
268       'third_party/tvcm/src/tvcm/ui/bar_chart.js',
269       'third_party/tvcm/src/tvcm/ui/camera.js',
270       'third_party/tvcm/src/tvcm/ui/chart_base.js',
271       'third_party/tvcm/src/tvcm/ui/color_scheme.js',
272       'third_party/tvcm/src/tvcm/ui/container_that_decorates_its_children.js',
273       'third_party/tvcm/src/tvcm/ui/d3.js',
274       'third_party/tvcm/src/tvcm/ui/dom_helpers.js',
275       'third_party/tvcm/src/tvcm/ui/drag_handle.js',
276       'third_party/tvcm/src/tvcm/ui/info_bar.js',
277       'third_party/tvcm/src/tvcm/ui/line_chart.js',
278       'third_party/tvcm/src/tvcm/ui/list_and_associated_view.js',
279       'third_party/tvcm/src/tvcm/ui/list_view.js',
280       'third_party/tvcm/src/tvcm/ui/mouse_mode_selector.js',
281       'third_party/tvcm/src/tvcm/ui/mouse_tracker.js',
282       'third_party/tvcm/src/tvcm/ui/overlay.js',
283       'third_party/tvcm/src/tvcm/ui/pie_chart.js',
284       'third_party/tvcm/src/tvcm/ui/quad_stack_view.js',
285       'third_party/tvcm/src/tvcm/ui/sortable_table.js',
286     ],
287     'tracing_img_files': [
288       'trace_viewer/images/checkerboard.png',
289       'trace_viewer/images/collapse.png',
290       'trace_viewer/images/expand.png',
291       'third_party/tvcm/src/tvcm/images/chrome-left.png',
292       'third_party/tvcm/src/tvcm/images/chrome-right.png',
293       'third_party/tvcm/src/tvcm/images/chrome-mid.png',
294       'third_party/tvcm/src/tvcm/images/ui-states.png',
295     ],
296     'tracing_files': [
297       '<@(tracing_html_files)',
298       '<@(tracing_css_files)',
299       '<@(tracing_js_files)',
300       '<@(tracing_img_files)',
301     ],
302   },
303   'targets': [
304     {
305       'target_name': 'generate_about_tracing',
306       'type': 'none',
307       'actions': [
308         {
309           'action_name': 'generate_about_tracing',
310           'script_name': 'trace_viewer/build/generate_about_tracing_contents',
311           'inputs': [
312             '<@(tracing_files)',
313           ],
314           'outputs': [
315             '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/about_tracing.js',
316             '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/about_tracing.html'
317           ],
318           'action': ['python', '<@(_script_name)',
319                      '--outdir', '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing']
320         }
321       ]
322     }
323   ]
324 }