Fix bug in load time stats.
[chromium-blink-merge.git] / ppapi / ppapi_sources.gypi
blob07aae96d146239407eed4d07dfcdda931e34207c
1 # Copyright (c) 2012 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   'variables': {
7     'c_source_files': [
8       'c/pp_array_output.h',
9       'c/pp_bool.h',
10       'c/pp_completion_callback.h',
11       'c/pp_errors.h',
12       'c/pp_file_info.h',
13       'c/pp_graphics_3d.h',
14       'c/pp_input_event.h',
15       'c/pp_instance.h',
16       'c/pp_macros.h',
17       'c/pp_module.h',
18       'c/pp_point.h',
19       'c/pp_rect.h',
20       'c/pp_resource.h',
21       'c/pp_size.h',
22       'c/pp_stdint.h',
23       'c/pp_time.h',
24       'c/pp_var.h',
25       'c/ppb.h',
26       'c/ppb_audio.h',
27       'c/ppb_audio_config.h',
28       'c/ppb_core.h',
29       'c/ppb_file_io.h',
30       'c/ppb_file_ref.h',
31       'c/ppb_file_system.h',
32       'c/ppb_fullscreen.h',
33       'c/ppb_gamepad.h',
34       'c/ppb_graphics_2d.h',
35       'c/ppb_graphics_3d.h',
36       'c/ppb_image_data.h',
37       'c/ppb_input_event.h',
38       'c/ppb_instance.h',
39       'c/ppb_messaging.h',
40       'c/ppb_mouse_cursor.h',
41       'c/ppb_mouse_lock.h',
42       'c/ppb_opengles2.h',
43       'c/pp_touch_point.h',
44       'c/ppb_url_loader.h',
45       'c/ppb_url_request_info.h',
46       'c/ppb_url_response_info.h',
47       'c/ppb_var.h',
48       'c/ppb_var_array_buffer.h',
49       'c/ppb_view.h',
50       'c/ppb_websocket.h',
51       'c/ppp.h',
52       'c/ppp_graphics_3d.h',
53       'c/ppp_input_event.h',
54       'c/ppp_instance.h',
55       'c/ppp_messaging.h',
56       'c/ppp_mouse_lock.h',
58       # Dev interfaces.
59       'c/dev/pp_cursor_type_dev.h',
60       'c/dev/pp_video_dev.h',
61       'c/dev/ppb_buffer_dev.h',
62       'c/dev/ppb_char_set_dev.h',
63       'c/dev/ppb_console_dev.h',
64       'c/dev/ppb_cursor_control_dev.h',
65       'c/dev/ppb_device_ref_dev.h',
66       'c/dev/ppb_directory_reader_dev.h',
67       'c/dev/ppb_file_chooser_dev.h',
68       'c/dev/ppb_find_dev.h',
69       'c/dev/ppb_font_dev.h',
70       'c/dev/ppb_ime_input_event_dev.h',
71       'c/dev/ppb_memory_dev.h',
72       'c/dev/ppb_message_loop_dev.h',
73       'c/dev/ppb_printing_dev.h',
74       'c/dev/ppb_resource_array_dev.h',
75       'c/dev/ppb_scrollbar_dev.h',
76       'c/dev/ppb_testing_dev.h',
77       'c/dev/ppb_text_input_dev.h',
78       'c/dev/ppb_url_util_dev.h',
79       'c/dev/ppb_video_decoder_dev.h',
80       'c/dev/ppb_widget_dev.h',
81       'c/dev/ppb_zoom_dev.h',
82       'c/dev/ppp_cursor_control_dev.h',
83       'c/dev/ppp_find_dev.h',
84       'c/dev/ppp_network_state_dev.h',
85       'c/dev/ppp_scrollbar_dev.h',
86       'c/dev/ppp_selection_dev.h',
87       'c/dev/ppp_text_input_dev.h',
88       'c/dev/ppp_video_decoder_dev.h',
89       'c/dev/ppp_widget_dev.h',
90       'c/dev/ppp_zoom_dev.h',
92       # Private interfaces.
93       'c/private/pp_file_handle.h',
94       'c/private/ppb_content_decryptor_private.h',
95       'c/private/ppb_flash.h',
96       'c/private/ppb_flash_clipboard.h',
97       'c/private/ppb_flash_file.h',
98       'c/private/ppb_flash_fullscreen.h',
99       'c/private/ppb_flash_menu.h',
100       'c/private/ppb_flash_message_loop.h',
101       'c/private/ppb_flash_tcp_socket.h',
102       'c/private/ppb_flash_udp_socket.h',
103       'c/private/ppb_gpu_blacklist_private.h',
104       'c/private/ppb_host_resolver_private.h',
105       'c/private/ppb_instance_private.h',
106       'c/private/ppb_nacl_private.h',
107       'c/private/ppb_net_address_private.h',
108       'c/private/ppb_pdf.h',
109       'c/private/ppb_proxy_private.h',
110       'c/private/ppp_instance_private.h',
111       'c/private/ppb_network_list_private.h',
112       'c/private/ppb_network_monitor_private.h',
113       'c/private/ppb_tcp_server_socket_private.h',
114       'c/private/ppb_tcp_socket_private.h',
115       'c/private/ppb_udp_socket_private.h',
116       'c/private/ppb_x509_certificate_private.h',
117       'c/private/ppp_content_decryptor_private.h',
119       # Deprecated interfaces.
120       'c/dev/deprecated_bool.h',
121       'c/dev/ppb_var_deprecated.h',
122       'c/dev/ppp_class_deprecated.h',
124       # Trusted interfaces.
125       'c/trusted/ppb_audio_trusted.h',
126       'c/trusted/ppb_broker_trusted.h',
127       'c/trusted/ppb_browser_font_trusted.h',
128       'c/trusted/ppb_buffer_trusted.h',
129       'c/trusted/ppb_file_chooser_trusted.h',
130       'c/trusted/ppb_file_io_trusted.h',
131       'c/trusted/ppb_graphics_3d_trusted.h',
132       'c/trusted/ppb_image_data_trusted.h',
133       'c/trusted/ppb_url_loader_trusted.h',
134       'c/trusted/ppp_broker.h',
135     ],
136     'cpp_source_files': [
137       'cpp/array_output.cc',
138       'cpp/array_output.h',
139       'cpp/audio.cc',
140       'cpp/audio.h',
141       'cpp/audio_config.cc',
142       'cpp/audio_config.h',
143       'cpp/completion_callback.h',
144       'cpp/core.cc',
145       'cpp/core.h',
146       'cpp/file_io.cc',
147       'cpp/file_io.h',
148       'cpp/file_ref.cc',
149       'cpp/file_ref.h',
150       'cpp/file_system.cc',
151       'cpp/file_system.h',
152       'cpp/fullscreen.cc',
153       'cpp/fullscreen.h',
154       'cpp/graphics_2d.cc',
155       'cpp/graphics_2d.h',
156       'cpp/graphics_3d.cc',
157       'cpp/graphics_3d.h',
158       'cpp/graphics_3d_client.cc',
159       'cpp/graphics_3d_client.h',
160       'cpp/image_data.cc',
161       'cpp/image_data.h',
162       'cpp/input_event.cc',
163       'cpp/input_event.h',
164       'cpp/instance.cc',
165       'cpp/instance.h',
166       'cpp/instance_handle.cc',
167       'cpp/instance_handle.h',
168       'cpp/logging.h',
169       'cpp/module.cc',
170       'cpp/module.h',
171       'cpp/module_impl.h',
172       'cpp/mouse_cursor.cc',
173       'cpp/mouse_cursor.h',
174       'cpp/mouse_lock.cc',
175       'cpp/mouse_lock.h',
176       'cpp/output_traits.h',
177       'cpp/point.h',
178       'cpp/rect.cc',
179       'cpp/rect.h',
180       'cpp/resource.cc',
181       'cpp/resource.h',
182       'cpp/size.h',
183       'cpp/touch_point.h',
184       'cpp/url_loader.cc',
185       'cpp/url_loader.h',
186       'cpp/url_request_info.cc',
187       'cpp/url_request_info.h',
188       'cpp/url_response_info.cc',
189       'cpp/url_response_info.h',
190       'cpp/var.cc',
191       'cpp/var.h',
192       'cpp/var_array_buffer.cc',
193       'cpp/var_array_buffer.h',
194       'cpp/view.cc',
195       'cpp/view.h',
196       'cpp/websocket.cc',
197       'cpp/websocket.h',
199       # Dev interfaces.
200       'cpp/dev/audio_input_dev.cc',
201       'cpp/dev/audio_input_dev.h',
202       'cpp/dev/buffer_dev.cc',
203       'cpp/dev/buffer_dev.h',
204       'cpp/dev/device_ref_dev.cc',
205       'cpp/dev/device_ref_dev.h',
206       'cpp/dev/directory_entry_dev.cc',
207       'cpp/dev/directory_entry_dev.h',
208       'cpp/dev/directory_reader_dev.cc',
209       'cpp/dev/directory_reader_dev.h',
210       'cpp/dev/file_chooser_dev.cc',
211       'cpp/dev/file_chooser_dev.h',
212       'cpp/dev/find_dev.cc',
213       'cpp/dev/find_dev.h',
214       'cpp/dev/font_dev.cc',
215       'cpp/dev/font_dev.h',
216       'cpp/dev/graphics_2d_dev.cc',
217       'cpp/dev/graphics_2d_dev.h',
218       'cpp/dev/ime_input_event_dev.cc',
219       'cpp/dev/ime_input_event_dev.h',
220       'cpp/dev/memory_dev.cc',
221       'cpp/dev/memory_dev.h',
222       'cpp/dev/message_loop_dev.cc',
223       'cpp/dev/message_loop_dev.h',
224       'cpp/dev/printing_dev.cc',
225       'cpp/dev/printing_dev.h',
226       'cpp/dev/resource_array_dev.cc',
227       'cpp/dev/resource_array_dev.h',
228       'cpp/dev/scrollbar_dev.cc',
229       'cpp/dev/scrollbar_dev.h',
230       'cpp/dev/selection_dev.cc',
231       'cpp/dev/selection_dev.h',
232       'cpp/dev/text_input_dev.cc',
233       'cpp/dev/text_input_dev.h',
234       'cpp/dev/url_util_dev.cc',
235       'cpp/dev/url_util_dev.h',
236       'cpp/dev/video_capture_client_dev.cc',
237       'cpp/dev/video_capture_client_dev.h',
238       'cpp/dev/video_capture_dev.cc',
239       'cpp/dev/video_capture_dev.h',
240       'cpp/dev/video_decoder_client_dev.cc',
241       'cpp/dev/video_decoder_client_dev.h',
242       'cpp/dev/video_decoder_dev.cc',
243       'cpp/dev/video_decoder_dev.h',
244       'cpp/dev/view_dev.cc',
245       'cpp/dev/view_dev.h',
246       'cpp/dev/widget_client_dev.cc',
247       'cpp/dev/widget_client_dev.h',
248       'cpp/dev/widget_dev.cc',
249       'cpp/dev/widget_dev.h',
250       'cpp/dev/zoom_dev.cc',
251       'cpp/dev/zoom_dev.h',
253       # Deprecated interfaces.
254       'cpp/dev/scriptable_object_deprecated.h',
255       'cpp/dev/scriptable_object_deprecated.cc',
257       # Private interfaces.
258       'cpp/private/content_decryptor_private.cc',
259       'cpp/private/content_decryptor_private.h',
260       'cpp/private/flash.cc',
261       'cpp/private/flash.h',
262       'cpp/private/flash_clipboard.cc',
263       'cpp/private/flash_clipboard.h',
264       'cpp/private/flash_device_id.cc',
265       'cpp/private/flash_device_id.h',
266       'cpp/private/flash_file.cc',
267       'cpp/private/flash_file.h',
268       'cpp/private/flash_fullscreen.cc',
269       'cpp/private/flash_fullscreen.h',
270       'cpp/private/flash_menu.cc',
271       'cpp/private/flash_menu.h',
272       'cpp/private/flash_message_loop.cc',
273       'cpp/private/flash_message_loop.h',
274       'cpp/private/host_resolver_private.cc',
275       'cpp/private/host_resolver_private.h',
276       'cpp/private/instance_private.cc',
277       'cpp/private/instance_private.h',
278       'cpp/private/net_address_private.cc',
279       'cpp/private/net_address_private.h',
280       'cpp/private/network_list_private.cc',
281       'cpp/private/network_list_private.h',
282       'cpp/private/network_monitor_private.cc',
283       'cpp/private/network_monitor_private.h',
284       'cpp/private/tcp_server_socket_private.cc',
285       'cpp/private/tcp_server_socket_private.h',
286       'cpp/private/tcp_socket_private.cc',
287       'cpp/private/tcp_socket_private.h',
288       'cpp/private/udp_socket_private.cc',
289       'cpp/private/udp_socket_private.h',
290       'cpp/private/var_private.cc',
291       'cpp/private/var_private.h',
292       'cpp/private/x509_certificate_private.cc',
293       'cpp/private/x509_certificate_private.h',
295       # Trusted interfaces.
296       'cpp/trusted/browser_font_trusted.cc',
297       'cpp/trusted/browser_font_trusted.h',
298       'cpp/trusted/file_chooser_trusted.cc',
299       'cpp/trusted/file_chooser_trusted.h',
300       'cpp/trusted/file_io_trusted.cc',
301       'cpp/trusted/file_io_trusted.h',
303       # Utility sources.
304       'utility/completion_callback_factory.h',
305       'utility/completion_callback_factory_thread_traits.h',
306       'utility/graphics/paint_aggregator.cc',
307       'utility/graphics/paint_aggregator.h',
308       'utility/graphics/paint_manager.cc',
309       'utility/graphics/paint_manager.h',
310       'utility/private/network_list_observer_private.cc',
311       'utility/private/network_list_observer_private.h',
312       'utility/threading/lock.cc',
313       'utility/threading/lock.h',
314       'utility/threading/simple_thread.cc',
315       'utility/threading/simple_thread.h',
316       'utility/websocket/websocket_api.cc',
317       'utility/websocket/websocket_api.h',
318     ],
319     #
320     # Common Testing source for trusted and untrusted (NaCl) pugins.
321     #
322     'test_common_source_files': [
323       # Common test files
324       'lib/gl/gles2/gles2.c',
325       'lib/gl/gles2/gl2ext_ppapi.c',
326       'lib/gl/gles2/gl2ext_ppapi.h',
327       'tests/all_c_includes.h',
328       'tests/all_cpp_includes.h',
329       'tests/arch_dependent_sizes_32.h',
330       'tests/arch_dependent_sizes_64.h',
331       'tests/pp_thread.h',
332       'tests/test_audio.cc',
333       'tests/test_audio.h',
334       'tests/test_audio_config.cc',
335       'tests/test_audio_config.h',
336       'tests/test_case.cc',
337       'tests/test_case.h',
338       'tests/test_core.cc',
339       'tests/test_core.h',
340       'tests/test_cursor_control.cc',
341       'tests/test_cursor_control.h',
342       'tests/test_directory_reader.cc',
343       'tests/test_directory_reader.h',
344       'tests/test_empty.cc',
345       'tests/test_empty.h',
346       'tests/test_file_io.cc',
347       'tests/test_file_io.h',
348       'tests/test_file_ref.cc',
349       'tests/test_file_ref.h',
350       'tests/test_file_system.cc',
351       'tests/test_file_system.h',
352       'tests/test_fullscreen.cc',
353       'tests/test_fullscreen.h',
354       'tests/test_graphics_2d.cc',
355       'tests/test_graphics_2d.h',
356       'tests/test_graphics_3d.cc',
357       'tests/test_graphics_3d.h',
358       'tests/test_host_resolver_private.cc',
359       'tests/test_host_resolver_private.h',
360       'tests/test_image_data.cc',
361       'tests/test_image_data.h',
362       'tests/test_ime_input_event.cc',
363       'tests/test_ime_input_event.h',
364       'tests/test_input_event.cc',
365       'tests/test_input_event.h',
366       'tests/test_memory.cc',
367       'tests/test_memory.h',
368       'tests/test_mouse_cursor.cc',
369       'tests/test_mouse_cursor.h',
370       'tests/test_mouse_lock.cc',
371       'tests/test_mouse_lock.h',
372       'tests/test_net_address_private_untrusted.cc',
373       'tests/test_net_address_private_untrusted.h',
374       'tests/test_network_monitor_private.cc',
375       'tests/test_network_monitor_private.h',
376       'tests/test_paint_aggregator.cc',
377       'tests/test_paint_aggregator.h',
378       'tests/test_post_message.cc',
379       'tests/test_post_message.h',
380       'tests/test_scrollbar.cc',
381       'tests/test_scrollbar.h',
382       'tests/test_tcp_server_socket_private.cc',
383       'tests/test_tcp_server_socket_private.h',
384       'tests/test_tcp_socket_private.cc',
385       'tests/test_tcp_socket_private.h',
386       'tests/test_udp_socket_private.cc',
387       'tests/test_udp_socket_private.h',
388       'tests/test_url_loader.cc',
389       'tests/test_url_loader.h',
390       'tests/test_url_request.cc',
391       'tests/test_url_request.h',
392       'tests/test_utils.cc',
393       'tests/test_var.cc',
394       'tests/test_var.h',
395       'tests/test_view.cc',
396       'tests/test_view.h',
397       'tests/test_websocket.cc',
398       'tests/test_websocket.h',
399       'tests/testing_instance.cc',
400       'tests/testing_instance.h',
402       # Compile-time tests
403       'tests/test_c_includes.c',
404       'tests/test_cpp_includes.cc',
405       'tests/test_struct_sizes.c',
406      ],
407     #
408     # Sources used in NaCl tests.
409     #
410     'test_nacl_source_files': [
411       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
412       'tests/test_tcp_server_socket_private_disallowed.cc',
413       'tests/test_tcp_socket_private_disallowed.cc',
414       'tests/test_udp_socket_private_disallowed.cc',
415     ],
416     #
417     # Sources used in trusted tests.
418     #
419     'test_trusted_source_files': [
420       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
421       'tests/test_broker.cc',
422       'tests/test_broker.h',
423       'tests/test_browser_font.cc',
424       'tests/test_browser_font.h',
425       'tests/test_buffer.cc',
426       'tests/test_buffer.h',
427       'tests/test_c_includes.c',
428       'tests/test_char_set.cc',
429       'tests/test_char_set.h',
430       'tests/test_cpp_includes.cc',
431       'tests/test_crypto.cc',
432       'tests/test_crypto.h',
433       'tests/test_flash.cc',
434       'tests/test_flash.h',
435       'tests/test_flash_clipboard.cc',
436       'tests/test_flash_clipboard.h',
437       'tests/test_flash_file.cc',
438       'tests/test_flash_file.h',
439       'tests/test_flash_fullscreen.cc',
440       'tests/test_flash_fullscreen.h',
441       'tests/test_flash_message_loop.cc',
442       'tests/test_flash_message_loop.h',
443       'tests/test_net_address_private.cc',
444       'tests/test_net_address_private.h',
445       'tests/test_resource_array.cc',
446       'tests/test_resource_array.h',
447       'tests/test_struct_sizes.c',
448       'tests/test_tcp_socket_private_trusted.cc',
449       'tests/test_tcp_socket_private_trusted.h',
450       'tests/test_uma.cc',
451       'tests/test_uma.h',
452       'tests/test_url_util.cc',
453       'tests/test_url_util.h',
454       'tests/test_utils.cc',
455       'tests/test_utils.h',
456       'tests/test_video_decoder.cc',
457       'tests/test_video_decoder.h',
458       'tests/test_x509_certificate_private.cc',
459       'tests/test_x509_certificate_private.h',
461       # Deprecated test cases.
462       'tests/test_instance_deprecated.cc',
463       'tests/test_instance_deprecated.h',
464       'tests/test_var_deprecated.cc',
465       'tests/test_var_deprecated.h',
466     ],
467   },