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