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