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