[SyncFS] Initialize SyncWorker when sync is enabled.
[chromium-blink-merge.git] / ppapi / ppapi_sources.gypi
blob10f2d1613e40c06bb5c242f05de2f18eaa401977
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_codecs.h',
11       'c/pp_completion_callback.h',
12       'c/pp_errors.h',
13       'c/pp_file_info.h',
14       'c/pp_graphics_3d.h',
15       'c/pp_input_event.h',
16       'c/pp_instance.h',
17       'c/pp_macros.h',
18       'c/pp_module.h',
19       'c/pp_point.h',
20       'c/pp_rect.h',
21       'c/pp_resource.h',
22       'c/pp_size.h',
23       'c/pp_stdint.h',
24       'c/pp_time.h',
25       'c/pp_touch_point.h',
26       'c/pp_var.h',
27       'c/ppb.h',
28       'c/ppb_audio.h',
29       'c/ppb_audio_buffer.h',
30       'c/ppb_audio_config.h',
31       'c/ppb_compositor.h',
32       'c/ppb_console.h',
33       'c/ppb_core.h',
34       'c/ppb_file_io.h',
35       'c/ppb_file_mapping.h',
36       'c/ppb_file_ref.h',
37       'c/ppb_file_system.h',
38       'c/ppb_fullscreen.h',
39       'c/ppb_gamepad.h',
40       'c/ppb_graphics_2d.h',
41       'c/ppb_graphics_3d.h',
42       'c/ppb_host_resolver.h',
43       'c/ppb_image_data.h',
44       'c/ppb_input_event.h',
45       'c/ppb_instance.h',
46       'c/ppb_media_stream_audio_track.h',
47       'c/ppb_media_stream_video_track.h',
48       'c/ppb_message_loop.h',
49       'c/ppb_messaging.h',
50       'c/ppb_mouse_cursor.h',
51       'c/ppb_mouse_lock.h',
52       'c/ppb_net_address.h',
53       'c/ppb_network_list.h',
54       'c/ppb_network_monitor.h',
55       'c/ppb_network_proxy.h',
56       'c/ppb_opengles2.h',
57       'c/ppb_tcp_socket.h',
58       'c/ppb_text_input_controller.h',
59       'c/ppb_udp_socket.h',
60       'c/ppb_url_loader.h',
61       'c/ppb_url_request_info.h',
62       'c/ppb_url_response_info.h',
63       'c/ppb_var.h',
64       'c/ppb_var_array.h',
65       'c/ppb_var_array_buffer.h',
66       'c/ppb_var_dictionary.h',
67       'c/ppb_video_decoder.h',
68       'c/ppb_video_frame.h',
69       'c/ppb_view.h',
70       'c/ppb_websocket.h',
71       'c/ppp.h',
72       'c/ppp_graphics_3d.h',
73       'c/ppp_input_event.h',
74       'c/ppp_instance.h',
75       'c/ppp_messaging.h',
76       'c/ppp_mouse_lock.h',
78       # Dev interfaces.
79       'c/dev/pp_cursor_type_dev.h',
80       'c/dev/pp_video_dev.h',
81       'c/dev/ppb_buffer_dev.h',
82       'c/dev/ppb_char_set_dev.h',
83       'c/dev/ppb_cursor_control_dev.h',
84       'c/dev/ppb_device_ref_dev.h',
85       'c/dev/ppb_file_chooser_dev.h',
86       'c/dev/ppb_font_dev.h',
87       'c/dev/ppb_ime_input_event_dev.h',
88       'c/dev/ppb_memory_dev.h',
89       'c/dev/ppb_printing_dev.h',
90       'c/dev/ppb_scrollbar_dev.h',
91       'c/dev/ppb_text_input_dev.h',
92       'c/dev/ppb_truetype_font_dev.h',
93       'c/dev/ppb_url_util_dev.h',
94       'c/dev/ppb_video_decoder_dev.h',
95       'c/dev/ppb_widget_dev.h',
96       'c/dev/ppb_zoom_dev.h',
97       'c/dev/ppp_network_state_dev.h',
98       'c/dev/ppp_scrollbar_dev.h',
99       'c/dev/ppp_selection_dev.h',
100       'c/dev/ppp_text_input_dev.h',
101       'c/dev/ppp_video_decoder_dev.h',
102       'c/dev/ppp_widget_dev.h',
103       'c/dev/ppp_zoom_dev.h',
105       # Private interfaces.
106       'c/private/pp_file_handle.h',
107       'c/private/pp_private_font_charset.h',
108       'c/private/pp_video_frame_private.h',
109       'c/private/ppb_content_decryptor_private.h',
110       'c/private/ppb_ext_crx_file_system_private.h',
111       'c/private/ppb_find_private.h',
112       'c/private/ppb_flash.h',
113       'c/private/ppb_flash_clipboard.h',
114       'c/private/ppb_flash_file.h',
115       'c/private/ppb_flash_font_file.h',
116       'c/private/ppb_flash_fullscreen.h',
117       'c/private/ppb_flash_menu.h',
118       'c/private/ppb_flash_message_loop.h',
119       'c/private/ppb_host_resolver_private.h',
120       'c/private/ppb_input_event_private.h',
121       'c/private/ppb_instance_private.h',
122       'c/private/ppb_isolated_file_system_private.h',
123       'c/private/ppb_nacl_private.h',
124       'c/private/ppb_net_address_private.h',
125       'c/private/ppb_output_protection_private.h',
126       'c/private/ppb_pdf.h',
127       'c/private/ppb_platform_verification_private.h',
128       'c/private/ppb_proxy_private.h',
129       'c/private/ppb_testing_private.h',
130       'c/private/ppb_tcp_server_socket_private.h',
131       'c/private/ppb_tcp_socket_private.h',
132       'c/private/ppb_udp_socket_private.h',
133       'c/private/ppb_uma_private.h',
134       'c/private/ppb_video_destination_private.h',
135       'c/private/ppb_video_source_private.h',
136       'c/private/ppb_x509_certificate_private.h',
137       'c/private/ppp_content_decryptor_private.h',
138       'c/private/ppp_find_private.h',
139       'c/private/ppp_instance_private.h',
141       # Deprecated interfaces.
142       'c/dev/deprecated_bool.h',
143       'c/dev/ppb_var_deprecated.h',
144       'c/dev/ppp_class_deprecated.h',
146       # Trusted interfaces.
147       'c/trusted/ppb_broker_trusted.h',
148       'c/trusted/ppb_browser_font_trusted.h',
149       'c/trusted/ppb_file_chooser_trusted.h',
150       'c/trusted/ppb_url_loader_trusted.h',
151       'c/trusted/ppp_broker.h',
152     ],
153     'cpp_source_files': [
154       'cpp/array_output.cc',
155       'cpp/array_output.h',
156       'cpp/audio.cc',
157       'cpp/audio.h',
158       'cpp/audio_buffer.cc',
159       'cpp/audio_buffer.h',
160       'cpp/audio_config.cc',
161       'cpp/audio_config.h',
162       'cpp/completion_callback.h',
163       'cpp/compositor.cc',
164       'cpp/compositor.h',
165       'cpp/compositor_layer.cc',
166       'cpp/compositor_layer.h',
167       'cpp/core.cc',
168       'cpp/core.h',
169       'cpp/directory_entry.cc',
170       'cpp/directory_entry.h',
171       'cpp/file_io.cc',
172       'cpp/file_io.h',
173       'cpp/file_ref.cc',
174       'cpp/file_ref.h',
175       'cpp/file_system.cc',
176       'cpp/file_system.h',
177       'cpp/fullscreen.cc',
178       'cpp/fullscreen.h',
179       'cpp/graphics_2d.cc',
180       'cpp/graphics_2d.h',
181       'cpp/graphics_3d.cc',
182       'cpp/graphics_3d.h',
183       'cpp/graphics_3d_client.cc',
184       'cpp/graphics_3d_client.h',
185       'cpp/host_resolver.cc',
186       'cpp/host_resolver.h',
187       'cpp/image_data.cc',
188       'cpp/image_data.h',
189       'cpp/input_event.cc',
190       'cpp/input_event.h',
191       'cpp/instance.cc',
192       'cpp/instance.h',
193       'cpp/instance_handle.cc',
194       'cpp/instance_handle.h',
195       'cpp/logging.h',
196       'cpp/media_stream_audio_track.cc',
197       'cpp/media_stream_audio_track.h',
198       'cpp/media_stream_video_track.cc',
199       'cpp/media_stream_video_track.h',
200       'cpp/message_loop.cc',
201       'cpp/message_loop.h',
202       'cpp/module.cc',
203       'cpp/module.h',
204       'cpp/module_impl.h',
205       'cpp/mouse_cursor.cc',
206       'cpp/mouse_cursor.h',
207       'cpp/mouse_lock.cc',
208       'cpp/mouse_lock.h',
209       'cpp/net_address.cc',
210       'cpp/net_address.h',
211       'cpp/network_list.cc',
212       'cpp/network_list.h',
213       'cpp/network_monitor.cc',
214       'cpp/network_monitor.h',
215       'cpp/network_proxy.cc',
216       'cpp/network_proxy.h',
217       'cpp/output_traits.h',
218       'cpp/point.h',
219       'cpp/rect.cc',
220       'cpp/rect.h',
221       'cpp/resource.cc',
222       'cpp/resource.h',
223       'cpp/size.h',
224       'cpp/tcp_socket.cc',
225       'cpp/tcp_socket.h',
226       'cpp/text_input_controller.cc',
227       'cpp/text_input_controller.h',
228       'cpp/touch_point.h',
229       'cpp/udp_socket.cc',
230       'cpp/udp_socket.h',
231       'cpp/url_loader.cc',
232       'cpp/url_loader.h',
233       'cpp/url_request_info.cc',
234       'cpp/url_request_info.h',
235       'cpp/url_response_info.cc',
236       'cpp/url_response_info.h',
237       'cpp/var.cc',
238       'cpp/var.h',
239       'cpp/var_array.cc',
240       'cpp/var_array.h',
241       'cpp/var_array_buffer.cc',
242       'cpp/var_array_buffer.h',
243       'cpp/var_dictionary.cc',
244       'cpp/var_dictionary.h',
245       'cpp/video_decoder.cc',
246       'cpp/video_decoder.h',
247       'cpp/video_frame.cc',
248       'cpp/video_frame.h',
249       'cpp/view.cc',
250       'cpp/view.h',
251       'cpp/websocket.cc',
252       'cpp/websocket.h',
254       # Dev interfaces.
255       'cpp/dev/audio_input_dev.cc',
256       'cpp/dev/audio_input_dev.h',
257       'cpp/dev/buffer_dev.cc',
258       'cpp/dev/buffer_dev.h',
259       'cpp/dev/crypto_dev.cc',
260       'cpp/dev/crypto_dev.h',
261       'cpp/dev/cursor_control_dev.cc',
262       'cpp/dev/cursor_control_dev.h',
263       'cpp/dev/device_ref_dev.cc',
264       'cpp/dev/device_ref_dev.h',
265       'cpp/dev/file_chooser_dev.cc',
266       'cpp/dev/file_chooser_dev.h',
267       'cpp/dev/font_dev.cc',
268       'cpp/dev/font_dev.h',
269       'cpp/dev/ime_input_event_dev.cc',
270       'cpp/dev/ime_input_event_dev.h',
271       'cpp/dev/memory_dev.cc',
272       'cpp/dev/memory_dev.h',
273       'cpp/dev/printing_dev.cc',
274       'cpp/dev/printing_dev.h',
275       'cpp/dev/scrollbar_dev.cc',
276       'cpp/dev/scrollbar_dev.h',
277       'cpp/dev/selection_dev.cc',
278       'cpp/dev/selection_dev.h',
279       'cpp/dev/text_input_dev.cc',
280       'cpp/dev/text_input_dev.h',
281       'cpp/dev/truetype_font_dev.cc',
282       'cpp/dev/truetype_font_dev.h',
283       'cpp/dev/url_util_dev.cc',
284       'cpp/dev/url_util_dev.h',
285       'cpp/dev/video_capture_client_dev.cc',
286       'cpp/dev/video_capture_client_dev.h',
287       'cpp/dev/video_capture_dev.cc',
288       'cpp/dev/video_capture_dev.h',
289       'cpp/dev/video_decoder_client_dev.cc',
290       'cpp/dev/video_decoder_client_dev.h',
291       'cpp/dev/video_decoder_dev.cc',
292       'cpp/dev/video_decoder_dev.h',
293       'cpp/dev/view_dev.cc',
294       'cpp/dev/view_dev.h',
295       'cpp/dev/widget_client_dev.cc',
296       'cpp/dev/widget_client_dev.h',
297       'cpp/dev/widget_dev.cc',
298       'cpp/dev/widget_dev.h',
299       'cpp/dev/zoom_dev.cc',
300       'cpp/dev/zoom_dev.h',
302       # Deprecated interfaces.
303       'cpp/dev/scriptable_object_deprecated.h',
304       'cpp/dev/scriptable_object_deprecated.cc',
306       # Private interfaces.
307       'cpp/private/content_decryptor_private.cc',
308       'cpp/private/content_decryptor_private.h',
309       'cpp/private/ext_crx_file_system_private.cc',
310       'cpp/private/ext_crx_file_system_private.h',
311       'cpp/private/file_io_private.cc',
312       'cpp/private/file_io_private.h',
313       'cpp/private/find_private.cc',
314       'cpp/private/find_private.h',
315       'cpp/private/flash.cc',
316       'cpp/private/flash.h',
317       'cpp/private/flash_clipboard.cc',
318       'cpp/private/flash_clipboard.h',
319       'cpp/private/flash_device_id.cc',
320       'cpp/private/flash_device_id.h',
321       'cpp/private/flash_drm.cc',
322       'cpp/private/flash_drm.h',
323       'cpp/private/flash_file.cc',
324       'cpp/private/flash_file.h',
325       'cpp/private/flash_font_file.cc',
326       'cpp/private/flash_font_file.h',
327       'cpp/private/flash_fullscreen.cc',
328       'cpp/private/flash_fullscreen.h',
329       'cpp/private/flash_menu.cc',
330       'cpp/private/flash_menu.h',
331       'cpp/private/flash_message_loop.cc',
332       'cpp/private/flash_message_loop.h',
333       'cpp/private/host_resolver_private.cc',
334       'cpp/private/host_resolver_private.h',
335       'cpp/private/input_event_private.cc',
336       'cpp/private/input_event_private.h',
337       'cpp/private/instance_private.cc',
338       'cpp/private/instance_private.h',
339       'cpp/private/isolated_file_system_private.cc',
340       'cpp/private/isolated_file_system_private.h',
341       'cpp/private/net_address_private.cc',
342       'cpp/private/net_address_private.h',
343       'cpp/private/output_protection_private.cc',
344       'cpp/private/output_protection_private.h',
345       'cpp/private/pass_file_handle.cc',
346       'cpp/private/pass_file_handle.h',
347       'cpp/private/pdf.cc',
348       'cpp/private/pdf.h',
349       'cpp/private/platform_verification.cc',
350       'cpp/private/platform_verification.h',
351       'cpp/private/tcp_server_socket_private.cc',
352       'cpp/private/tcp_server_socket_private.h',
353       'cpp/private/tcp_socket_private.cc',
354       'cpp/private/tcp_socket_private.h',
355       'cpp/private/udp_socket_private.cc',
356       'cpp/private/udp_socket_private.h',
357       'cpp/private/uma_private.cc',
358       'cpp/private/uma_private.h',
359       'cpp/private/var_private.cc',
360       'cpp/private/var_private.h',
361       'cpp/private/video_destination_private.cc',
362       'cpp/private/video_destination_private.h',
363       'cpp/private/video_frame_private.cc',
364       'cpp/private/video_frame_private.h',
365       'cpp/private/video_source_private.cc',
366       'cpp/private/video_source_private.h',
367       'cpp/private/x509_certificate_private.cc',
368       'cpp/private/x509_certificate_private.h',
370       # Trusted interfaces.
371       'cpp/trusted/browser_font_trusted.cc',
372       'cpp/trusted/browser_font_trusted.h',
373       'cpp/trusted/file_chooser_trusted.cc',
374       'cpp/trusted/file_chooser_trusted.h',
376       # Utility sources.
377       'utility/completion_callback_factory.h',
378       'utility/completion_callback_factory_thread_traits.h',
379       'utility/graphics/paint_aggregator.cc',
380       'utility/graphics/paint_aggregator.h',
381       'utility/graphics/paint_manager.cc',
382       'utility/graphics/paint_manager.h',
383       'utility/threading/lock.cc',
384       'utility/threading/lock.h',
385       'utility/threading/simple_thread.cc',
386       'utility/threading/simple_thread.h',
387       'utility/websocket/websocket_api.cc',
388       'utility/websocket/websocket_api.h',
389     ],
390     #
391     # Common Testing source for trusted and untrusted (NaCl) pugins.
392     #
393     'test_common_source_files': [
394       # Common test files
395       'lib/gl/gles2/gles2.c',
396       'lib/gl/gles2/gl2ext_ppapi.c',
397       'lib/gl/gles2/gl2ext_ppapi.h',
398       'tests/all_c_includes.h',
399       'tests/all_cpp_includes.h',
400       'tests/arch_dependent_sizes_32.h',
401       'tests/arch_dependent_sizes_64.h',
402       'tests/pp_thread.h',
403       'tests/test_audio.cc',
404       'tests/test_audio.h',
405       'tests/test_audio_config.cc',
406       'tests/test_audio_config.h',
407       'tests/test_case.cc',
408       'tests/test_case.h',
409       'tests/test_compositor.cc',
410       'tests/test_compositor.h',
411       'tests/test_console.cc',
412       'tests/test_console.h',
413       'tests/test_core.cc',
414       'tests/test_core.h',
415       'tests/test_cursor_control.cc',
416       'tests/test_cursor_control.h',
417       'tests/test_empty.cc',
418       'tests/test_empty.h',
419       'tests/test_file_io.cc',
420       'tests/test_file_io.h',
421       'tests/test_file_mapping.cc',
422       'tests/test_file_mapping.h',
423       'tests/test_file_ref.cc',
424       'tests/test_file_ref.h',
425       'tests/test_file_system.cc',
426       'tests/test_file_system.h',
427       'tests/test_fullscreen.cc',
428       'tests/test_fullscreen.h',
429       'tests/test_graphics_2d.cc',
430       'tests/test_graphics_2d.h',
431       'tests/test_graphics_3d.cc',
432       'tests/test_graphics_3d.h',
433       'tests/test_host_resolver.cc',
434       'tests/test_host_resolver.h',
435       'tests/test_host_resolver_private.cc',
436       'tests/test_host_resolver_private.h',
437       'tests/test_host_resolver_private_disallowed.cc',
438       'tests/test_host_resolver_private_disallowed.h',
439       'tests/test_image_data.cc',
440       'tests/test_image_data.h',
441       'tests/test_ime_input_event.cc',
442       'tests/test_ime_input_event.h',
443       'tests/test_input_event.cc',
444       'tests/test_input_event.h',
445       'tests/test_media_stream_audio_track.cc',
446       'tests/test_media_stream_audio_track.h',
447       'tests/test_media_stream_video_track.cc',
448       'tests/test_media_stream_video_track.h',
449       'tests/test_memory.cc',
450       'tests/test_memory.h',
451       'tests/test_message_handler.cc',
452       'tests/test_message_handler.h',
453       'tests/test_message_loop.cc',
454       'tests/test_message_loop.h',
455       'tests/test_mouse_cursor.cc',
456       'tests/test_mouse_cursor.h',
457       'tests/test_mouse_lock.cc',
458       'tests/test_mouse_lock.h',
459       'tests/test_net_address.cc',
460       'tests/test_net_address.h',
461       'tests/test_net_address_private_untrusted.cc',
462       'tests/test_net_address_private_untrusted.h',
463       'tests/test_network_monitor.cc',
464       'tests/test_network_monitor.h',
465       'tests/test_network_proxy.cc',
466       'tests/test_network_proxy.h',
467       'tests/test_output_protection_private.cc',
468       'tests/test_output_protection_private.h',
469       'tests/test_paint_aggregator.cc',
470       'tests/test_paint_aggregator.h',
471       'tests/test_post_message.cc',
472       'tests/test_post_message.h',
473       'tests/test_printing.cc',
474       'tests/test_printing.h',
475       'tests/test_scrollbar.cc',
476       'tests/test_scrollbar.h',
477       'tests/test_tcp_server_socket_private.cc',
478       'tests/test_tcp_server_socket_private.h',
479       'tests/test_tcp_socket.cc',
480       'tests/test_tcp_socket.h',
481       'tests/test_tcp_socket_private.cc',
482       'tests/test_tcp_socket_private.h',
483       'tests/test_test_internals.cc',
484       'tests/test_test_internals.h',
485       'tests/test_trace_event.cc',
486       'tests/test_trace_event.h',
487       'tests/test_truetype_font.cc',
488       'tests/test_truetype_font.h',
489       'tests/test_udp_socket.cc',
490       'tests/test_udp_socket.h',
491       'tests/test_udp_socket_private.cc',
492       'tests/test_udp_socket_private.h',
493       'tests/test_uma.cc',
494       'tests/test_uma.h',
495       'tests/test_url_loader.cc',
496       'tests/test_url_loader.h',
497       'tests/test_url_request.cc',
498       'tests/test_url_request.h',
499       'tests/test_utils.cc',
500       'tests/test_var.cc',
501       'tests/test_var.h',
502       'tests/test_var_resource.cc',
503       'tests/test_var_resource.h',
504       'tests/test_video_decoder.cc',
505       'tests/test_video_decoder.h',
506       'tests/test_video_destination.cc',
507       'tests/test_video_destination.h',
508       'tests/test_video_source.cc',
509       'tests/test_video_source.h',
510       'tests/test_view.cc',
511       'tests/test_view.h',
512       'tests/test_websocket.cc',
513       'tests/test_websocket.h',
514       'tests/testing_instance.cc',
515       'tests/testing_instance.h',
517       # Compile-time tests
518       'tests/test_c_includes.c',
519       'tests/test_cpp_includes.cc',
520       'tests/test_struct_sizes.c',
521      ],
522     #
523     # Sources used in NaCl tests.
524     #
525     'test_nacl_source_files': [
526       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
527       'tests/test_tcp_server_socket_private_disallowed.cc',
528       'tests/test_tcp_socket_private_disallowed.cc',
529       'tests/test_udp_socket_private_disallowed.cc',
530     ],
531     #
532     # Sources used in trusted tests.
533     #
534     'test_trusted_source_files': [
535       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
536       'tests/test_broker.cc',
537       'tests/test_broker.h',
538       'tests/test_browser_font.cc',
539       'tests/test_browser_font.h',
540       'tests/test_buffer.cc',
541       'tests/test_buffer.h',
542       'tests/test_char_set.cc',
543       'tests/test_char_set.h',
544       'tests/test_crypto.cc',
545       'tests/test_crypto.h',
546       'tests/test_flash.cc',
547       'tests/test_flash.h',
548       'tests/test_flash_clipboard.cc',
549       'tests/test_flash_clipboard.h',
550       'tests/test_flash_drm.cc',
551       'tests/test_flash_drm.h',
552       'tests/test_flash_file.cc',
553       'tests/test_flash_file.h',
554       'tests/test_flash_fullscreen.cc',
555       'tests/test_flash_fullscreen.h',
556       'tests/test_flash_message_loop.cc',
557       'tests/test_flash_message_loop.h',
558       'tests/test_net_address_private.cc',
559       'tests/test_net_address_private.h',
560       'tests/test_pdf.cc',
561       'tests/test_pdf.h',
562       'tests/test_platform_verification_private.cc',
563       'tests/test_platform_verification_private.h',
564       'tests/test_talk_private.cc',
565       'tests/test_talk_private.h',
566       'tests/test_tcp_socket_private_trusted.cc',
567       'tests/test_tcp_socket_private_trusted.h',
568       'tests/test_url_util.cc',
569       'tests/test_url_util.h',
570       'tests/test_utils.h',
571       'tests/test_video_decoder_dev.cc',
572       'tests/test_video_decoder_dev.h',
573       'tests/test_x509_certificate_private.cc',
574       'tests/test_x509_certificate_private.h',
576       # Deprecated test cases.
577       'tests/test_instance_deprecated.cc',
578       'tests/test_instance_deprecated.h',
579       'tests/test_var_deprecated.cc',
580       'tests/test_var_deprecated.h',
581     ],
582   },