Add ability to change display settings to chrome.systemInfo.display
[chromium-blink-merge.git] / ppapi / ppapi_sources.gypi
bloba93bbcefcedb60166f1bd06d256693e32b014ca1
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_console.h',
29       'c/ppb_core.h',
30       'c/ppb_file_io.h',
31       'c/ppb_file_ref.h',
32       'c/ppb_file_system.h',
33       'c/ppb_fullscreen.h',
34       'c/ppb_gamepad.h',
35       'c/ppb_graphics_2d.h',
36       'c/ppb_graphics_3d.h',
37       'c/ppb_image_data.h',
38       'c/ppb_input_event.h',
39       'c/ppb_instance.h',
40       'c/ppb_message_loop.h',
41       'c/ppb_messaging.h',
42       'c/ppb_mouse_cursor.h',
43       'c/ppb_mouse_lock.h',
44       'c/ppb_opengles2.h',
45       'c/pp_touch_point.h',
46       'c/ppb_url_loader.h',
47       'c/ppb_url_request_info.h',
48       'c/ppb_url_response_info.h',
49       'c/ppb_var.h',
50       'c/ppb_var_array_buffer.h',
51       'c/ppb_view.h',
52       'c/ppb_websocket.h',
53       'c/ppp.h',
54       'c/ppp_graphics_3d.h',
55       'c/ppp_input_event.h',
56       'c/ppp_instance.h',
57       'c/ppp_messaging.h',
58       'c/ppp_mouse_lock.h',
60       # Dev interfaces.
61       'c/dev/pp_cursor_type_dev.h',
62       'c/dev/pp_video_dev.h',
63       'c/dev/ppb_buffer_dev.h',
64       'c/dev/ppb_char_set_dev.h',
65       'c/dev/ppb_cursor_control_dev.h',
66       'c/dev/ppb_device_ref_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_host_resolver_dev.h',
71       'c/dev/ppb_ime_input_event_dev.h',
72       'c/dev/ppb_memory_dev.h',
73       'c/dev/ppb_net_address_dev.h',
74       'c/dev/ppb_printing_dev.h',
75       'c/dev/ppb_resource_array_dev.h',
76       'c/dev/ppb_scrollbar_dev.h',
77       'c/dev/ppb_tcp_socket_dev.h',
78       'c/dev/ppb_testing_dev.h',
79       'c/dev/ppb_text_input_dev.h',
80       'c/dev/ppb_truetype_font_dev.h',
81       'c/dev/ppb_udp_socket_dev.h',
82       'c/dev/ppb_url_util_dev.h',
83       'c/dev/ppb_var_array_dev.h',
84       'c/dev/ppb_var_dictionary_dev.h',
85       'c/dev/ppb_video_decoder_dev.h',
86       'c/dev/ppb_widget_dev.h',
87       'c/dev/ppb_zoom_dev.h',
88       'c/dev/ppp_find_dev.h',
89       'c/dev/ppp_network_state_dev.h',
90       'c/dev/ppp_scrollbar_dev.h',
91       'c/dev/ppp_selection_dev.h',
92       'c/dev/ppp_text_input_dev.h',
93       'c/dev/ppp_video_decoder_dev.h',
94       'c/dev/ppp_widget_dev.h',
95       'c/dev/ppp_zoom_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_content_decryptor_private.h',
102       'c/private/ppb_ext_crx_file_system_private.h',
103       'c/private/ppb_flash.h',
104       'c/private/ppb_flash_clipboard.h',
105       'c/private/ppb_flash_file.h',
106       'c/private/ppb_flash_font_file.h',
107       'c/private/ppb_flash_fullscreen.h',
108       'c/private/ppb_flash_menu.h',
109       'c/private/ppb_flash_message_loop.h',
110       'c/private/ppb_gpu_blacklist_private.h',
111       'c/private/ppb_host_resolver_private.h',
112       'c/private/ppb_instance_private.h',
113       'c/private/ppb_nacl_private.h',
114       'c/private/ppb_net_address_private.h',
115       'c/private/ppb_pdf.h',
116       'c/private/ppb_proxy_private.h',
117       'c/private/ppp_instance_private.h',
118       'c/private/ppb_network_list_private.h',
119       'c/private/ppb_network_monitor_private.h',
120       'c/private/ppb_tcp_server_socket_private.h',
121       'c/private/ppb_tcp_socket_private.h',
122       'c/private/ppb_udp_socket_private.h',
123       'c/private/ppb_video_destination_private.h',
124       'c/private/ppb_video_source_private.h',
125       'c/private/ppb_x509_certificate_private.h',
126       'c/private/ppp_content_decryptor_private.h',
128       # Deprecated interfaces.
129       'c/dev/deprecated_bool.h',
130       'c/dev/ppb_var_deprecated.h',
131       'c/dev/ppp_class_deprecated.h',
133       # Trusted interfaces.
134       'c/trusted/ppb_broker_trusted.h',
135       'c/trusted/ppb_browser_font_trusted.h',
136       'c/trusted/ppb_file_chooser_trusted.h',
137       'c/trusted/ppb_file_io_trusted.h',
138       'c/trusted/ppb_url_loader_trusted.h',
139       'c/trusted/ppp_broker.h',
141       # Extensions dev interfaces.
142       'c/extensions/dev/ppb_ext_alarms_dev.h',
143       'c/extensions/dev/ppb_ext_events_dev.h',
144       'c/extensions/dev/ppb_ext_socket_dev.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_config.cc',
152       'cpp/audio_config.h',
153       'cpp/completion_callback.h',
154       'cpp/core.cc',
155       'cpp/core.h',
156       'cpp/directory_entry.cc',
157       'cpp/directory_entry.h',
158       'cpp/file_io.cc',
159       'cpp/file_io.h',
160       'cpp/file_ref.cc',
161       'cpp/file_ref.h',
162       'cpp/file_system.cc',
163       'cpp/file_system.h',
164       'cpp/fullscreen.cc',
165       'cpp/fullscreen.h',
166       'cpp/graphics_2d.cc',
167       'cpp/graphics_2d.h',
168       'cpp/graphics_3d.cc',
169       'cpp/graphics_3d.h',
170       'cpp/graphics_3d_client.cc',
171       'cpp/graphics_3d_client.h',
172       'cpp/image_data.cc',
173       'cpp/image_data.h',
174       'cpp/input_event.cc',
175       'cpp/input_event.h',
176       'cpp/instance.cc',
177       'cpp/instance.h',
178       'cpp/instance_handle.cc',
179       'cpp/instance_handle.h',
180       'cpp/logging.h',
181       'cpp/message_loop.cc',
182       'cpp/message_loop.h',
183       'cpp/module.cc',
184       'cpp/module.h',
185       'cpp/module_impl.h',
186       'cpp/mouse_cursor.cc',
187       'cpp/mouse_cursor.h',
188       'cpp/mouse_lock.cc',
189       'cpp/mouse_lock.h',
190       'cpp/output_traits.h',
191       'cpp/point.h',
192       'cpp/rect.cc',
193       'cpp/rect.h',
194       'cpp/resource.cc',
195       'cpp/resource.h',
196       'cpp/size.h',
197       'cpp/touch_point.h',
198       'cpp/url_loader.cc',
199       'cpp/url_loader.h',
200       'cpp/url_request_info.cc',
201       'cpp/url_request_info.h',
202       'cpp/url_response_info.cc',
203       'cpp/url_response_info.h',
204       'cpp/var.cc',
205       'cpp/var.h',
206       'cpp/var_array_buffer.cc',
207       'cpp/var_array_buffer.h',
208       'cpp/view.cc',
209       'cpp/view.h',
210       'cpp/websocket.cc',
211       'cpp/websocket.h',
213       # Dev interfaces.
214       'cpp/dev/audio_input_dev.cc',
215       'cpp/dev/audio_input_dev.h',
216       'cpp/dev/buffer_dev.cc',
217       'cpp/dev/buffer_dev.h',
218       'cpp/dev/crypto_dev.cc',
219       'cpp/dev/crypto_dev.h',
220       'cpp/dev/cursor_control_dev.cc',
221       'cpp/dev/cursor_control_dev.h',
222       'cpp/dev/device_ref_dev.cc',
223       'cpp/dev/device_ref_dev.h',
224       'cpp/dev/file_chooser_dev.cc',
225       'cpp/dev/file_chooser_dev.h',
226       'cpp/dev/find_dev.cc',
227       'cpp/dev/find_dev.h',
228       'cpp/dev/font_dev.cc',
229       'cpp/dev/font_dev.h',
230       'cpp/dev/graphics_2d_dev.cc',
231       'cpp/dev/graphics_2d_dev.h',
232       'cpp/dev/host_resolver_dev.cc',
233       'cpp/dev/host_resolver_dev.h',
234       'cpp/dev/ime_input_event_dev.cc',
235       'cpp/dev/ime_input_event_dev.h',
236       'cpp/dev/memory_dev.cc',
237       'cpp/dev/memory_dev.h',
238       'cpp/dev/net_address_dev.cc',
239       'cpp/dev/net_address_dev.h',
240       'cpp/dev/printing_dev.cc',
241       'cpp/dev/printing_dev.h',
242       'cpp/dev/resource_array_dev.cc',
243       'cpp/dev/resource_array_dev.h',
244       'cpp/dev/scrollbar_dev.cc',
245       'cpp/dev/scrollbar_dev.h',
246       'cpp/dev/selection_dev.cc',
247       'cpp/dev/selection_dev.h',
248       'cpp/dev/tcp_socket_dev.cc',
249       'cpp/dev/tcp_socket_dev.h',
250       'cpp/dev/text_input_dev.cc',
251       'cpp/dev/text_input_dev.h',
252       'cpp/dev/truetype_font_dev.cc',
253       'cpp/dev/truetype_font_dev.h',
254       'cpp/dev/udp_socket_dev.cc',
255       'cpp/dev/udp_socket_dev.h',
256       'cpp/dev/url_util_dev.cc',
257       'cpp/dev/url_util_dev.h',
258       'cpp/dev/var_array_dev.cc',
259       'cpp/dev/var_array_dev.h',
260       'cpp/dev/var_dictionary_dev.cc',
261       'cpp/dev/var_dictionary_dev.h',
262       'cpp/dev/video_capture_client_dev.cc',
263       'cpp/dev/video_capture_client_dev.h',
264       'cpp/dev/video_capture_dev.cc',
265       'cpp/dev/video_capture_dev.h',
266       'cpp/dev/video_decoder_client_dev.cc',
267       'cpp/dev/video_decoder_client_dev.h',
268       'cpp/dev/video_decoder_dev.cc',
269       'cpp/dev/video_decoder_dev.h',
270       'cpp/dev/view_dev.cc',
271       'cpp/dev/view_dev.h',
272       'cpp/dev/widget_client_dev.cc',
273       'cpp/dev/widget_client_dev.h',
274       'cpp/dev/widget_dev.cc',
275       'cpp/dev/widget_dev.h',
276       'cpp/dev/zoom_dev.cc',
277       'cpp/dev/zoom_dev.h',
279       # Deprecated interfaces.
280       'cpp/dev/scriptable_object_deprecated.h',
281       'cpp/dev/scriptable_object_deprecated.cc',
283       # Private interfaces.
284       'cpp/private/content_decryptor_private.cc',
285       'cpp/private/content_decryptor_private.h',
286       'cpp/private/ext_crx_file_system_private.cc',
287       'cpp/private/ext_crx_file_system_private.h',
288       'cpp/private/file_io_private.cc',
289       'cpp/private/file_io_private.h',
290       'cpp/private/flash.cc',
291       'cpp/private/flash.h',
292       'cpp/private/flash_clipboard.cc',
293       'cpp/private/flash_clipboard.h',
294       'cpp/private/flash_device_id.cc',
295       'cpp/private/flash_device_id.h',
296       'cpp/private/flash_drm.cc',
297       'cpp/private/flash_drm.h',
298       'cpp/private/flash_file.cc',
299       'cpp/private/flash_file.h',
300       'cpp/private/flash_font_file.cc',
301       'cpp/private/flash_font_file.h',
302       'cpp/private/flash_fullscreen.cc',
303       'cpp/private/flash_fullscreen.h',
304       'cpp/private/flash_menu.cc',
305       'cpp/private/flash_menu.h',
306       'cpp/private/flash_message_loop.cc',
307       'cpp/private/flash_message_loop.h',
308       'cpp/private/host_resolver_private.cc',
309       'cpp/private/host_resolver_private.h',
310       'cpp/private/instance_private.cc',
311       'cpp/private/instance_private.h',
312       'cpp/private/net_address_private.cc',
313       'cpp/private/net_address_private.h',
314       'cpp/private/network_list_private.cc',
315       'cpp/private/network_list_private.h',
316       'cpp/private/network_monitor_private.cc',
317       'cpp/private/network_monitor_private.h',
318       'cpp/private/pass_file_handle.cc',
319       'cpp/private/pass_file_handle.h',
320       'cpp/private/pdf.cc',
321       'cpp/private/pdf.h',
322       'cpp/private/tcp_server_socket_private.cc',
323       'cpp/private/tcp_server_socket_private.h',
324       'cpp/private/tcp_socket_private.cc',
325       'cpp/private/tcp_socket_private.h',
326       'cpp/private/udp_socket_private.cc',
327       'cpp/private/udp_socket_private.h',
328       'cpp/private/var_private.cc',
329       'cpp/private/var_private.h',
330       'cpp/private/video_destination_private.cc',
331       'cpp/private/video_destination_private.h',
332       'cpp/private/video_frame_private.cc',
333       'cpp/private/video_frame_private.h',
334       'cpp/private/video_source_private.cc',
335       'cpp/private/video_source_private.h',
336       'cpp/private/x509_certificate_private.cc',
337       'cpp/private/x509_certificate_private.h',
339       # Trusted interfaces.
340       'cpp/trusted/browser_font_trusted.cc',
341       'cpp/trusted/browser_font_trusted.h',
342       'cpp/trusted/file_chooser_trusted.cc',
343       'cpp/trusted/file_chooser_trusted.h',
344       'cpp/trusted/file_io_trusted.cc',
345       'cpp/trusted/file_io_trusted.h',
347       # Extensions interfaces.
348       'cpp/extensions/dict_field.h',
349       'cpp/extensions/event_base.cc',
350       'cpp/extensions/event_base.h',
351       'cpp/extensions/ext_output_traits.h',
352       'cpp/extensions/from_var_converter.h',
353       'cpp/extensions/optional.h',
354       'cpp/extensions/to_var_converter.h',
356       # Extensions dev interfaces.
357       'cpp/extensions/dev/alarms_dev.cc',
358       'cpp/extensions/dev/alarms_dev.h',
359       'cpp/extensions/dev/events_dev.cc',
360       'cpp/extensions/dev/events_dev.h',
361       'cpp/extensions/dev/socket_dev.cc',
362       'cpp/extensions/dev/socket_dev.h',
364       # Utility sources.
365       'utility/completion_callback_factory.h',
366       'utility/completion_callback_factory_thread_traits.h',
367       'utility/graphics/paint_aggregator.cc',
368       'utility/graphics/paint_aggregator.h',
369       'utility/graphics/paint_manager.cc',
370       'utility/graphics/paint_manager.h',
371       'utility/private/network_list_observer_private.cc',
372       'utility/private/network_list_observer_private.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/gles2.c',
386       'lib/gl/gles2/gl2ext_ppapi.c',
387       'lib/gl/gles2/gl2ext_ppapi.h',
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_console.cc',
400       'tests/test_console.h',
401       'tests/test_core.cc',
402       'tests/test_core.h',
403       'tests/test_cursor_control.cc',
404       'tests/test_cursor_control.h',
405       'tests/test_empty.cc',
406       'tests/test_empty.h',
407       'tests/test_file_io.cc',
408       'tests/test_file_io.h',
409       'tests/test_file_ref.cc',
410       'tests/test_file_ref.h',
411       'tests/test_file_system.cc',
412       'tests/test_file_system.h',
413       'tests/test_fullscreen.cc',
414       'tests/test_fullscreen.h',
415       'tests/test_graphics_2d.cc',
416       'tests/test_graphics_2d.h',
417       'tests/test_graphics_3d.cc',
418       'tests/test_graphics_3d.h',
419       'tests/test_host_resolver.cc',
420       'tests/test_host_resolver.h',
421       'tests/test_host_resolver_private.cc',
422       'tests/test_host_resolver_private.h',
423       'tests/test_host_resolver_private_disallowed.cc',
424       'tests/test_host_resolver_private_disallowed.h',
425       'tests/test_image_data.cc',
426       'tests/test_image_data.h',
427       'tests/test_ime_input_event.cc',
428       'tests/test_ime_input_event.h',
429       'tests/test_input_event.cc',
430       'tests/test_input_event.h',
431       'tests/test_memory.cc',
432       'tests/test_memory.h',
433       'tests/test_message_loop.cc',
434       'tests/test_message_loop.h',
435       'tests/test_mouse_cursor.cc',
436       'tests/test_mouse_cursor.h',
437       'tests/test_mouse_lock.cc',
438       'tests/test_mouse_lock.h',
439       'tests/test_net_address.cc',
440       'tests/test_net_address.h',
441       'tests/test_net_address_private_untrusted.cc',
442       'tests/test_net_address_private_untrusted.h',
443       'tests/test_network_monitor_private.cc',
444       'tests/test_network_monitor_private.h',
445       'tests/test_paint_aggregator.cc',
446       'tests/test_paint_aggregator.h',
447       'tests/test_post_message.cc',
448       'tests/test_post_message.h',
449       'tests/test_printing.cc',
450       'tests/test_printing.h',
451       'tests/test_scrollbar.cc',
452       'tests/test_scrollbar.h',
453       'tests/test_tcp_server_socket_private.cc',
454       'tests/test_tcp_server_socket_private.h',
455       'tests/test_tcp_socket.cc',
456       'tests/test_tcp_socket.h',
457       'tests/test_tcp_socket_private.cc',
458       'tests/test_tcp_socket_private.h',
459       'tests/test_truetype_font.cc',
460       'tests/test_truetype_font.h',
461       'tests/test_udp_socket.cc',
462       'tests/test_udp_socket.h',
463       'tests/test_udp_socket_private.cc',
464       'tests/test_udp_socket_private.h',
465       'tests/test_url_loader.cc',
466       'tests/test_url_loader.h',
467       'tests/test_url_request.cc',
468       'tests/test_url_request.h',
469       'tests/test_utils.cc',
470       'tests/test_var.cc',
471       'tests/test_var.h',
472       'tests/test_video_destination.cc',
473       'tests/test_video_destination.h',
474       'tests/test_video_source.cc',
475       'tests/test_video_source.h',
476       'tests/test_view.cc',
477       'tests/test_view.h',
478       'tests/test_websocket.cc',
479       'tests/test_websocket.h',
480       'tests/testing_instance.cc',
481       'tests/testing_instance.h',
483       # Compile-time tests
484       'tests/test_c_includes.c',
485       'tests/test_cpp_includes.cc',
486       'tests/test_struct_sizes.c',
487      ],
488     #
489     # Sources used in NaCl tests.
490     #
491     'test_nacl_source_files': [
492       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
493       'tests/test_tcp_server_socket_private_disallowed.cc',
494       'tests/test_tcp_socket_private_disallowed.cc',
495       'tests/test_udp_socket_private_disallowed.cc',
496     ],
497     #
498     # Sources used in trusted tests.
499     #
500     'test_trusted_source_files': [
501       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
502       'tests/test_broker.cc',
503       'tests/test_broker.h',
504       'tests/test_browser_font.cc',
505       'tests/test_browser_font.h',
506       'tests/test_buffer.cc',
507       'tests/test_buffer.h',
508       'tests/test_c_includes.c',
509       'tests/test_char_set.cc',
510       'tests/test_char_set.h',
511       'tests/test_cpp_includes.cc',
512       'tests/test_crypto.cc',
513       'tests/test_crypto.h',
514       'tests/test_flash.cc',
515       'tests/test_flash.h',
516       'tests/test_flash_clipboard.cc',
517       'tests/test_flash_clipboard.h',
518       'tests/test_flash_drm.cc',
519       'tests/test_flash_drm.h',
520       'tests/test_flash_file.cc',
521       'tests/test_flash_file.h',
522       'tests/test_flash_fullscreen.cc',
523       'tests/test_flash_fullscreen.h',
524       'tests/test_flash_message_loop.cc',
525       'tests/test_flash_message_loop.h',
526       'tests/test_net_address_private.cc',
527       'tests/test_net_address_private.h',
528       'tests/test_pdf.cc',
529       'tests/test_pdf.h',
530       'tests/test_resource_array.cc',
531       'tests/test_resource_array.h',
532       'tests/test_struct_sizes.c',
533       'tests/test_talk_private.cc',
534       'tests/test_talk_private.h',
535       'tests/test_tcp_socket_private_trusted.cc',
536       'tests/test_tcp_socket_private_trusted.h',
537       'tests/test_uma.cc',
538       'tests/test_uma.h',
539       'tests/test_url_util.cc',
540       'tests/test_url_util.h',
541       'tests/test_utils.cc',
542       'tests/test_utils.h',
543       'tests/test_video_decoder.cc',
544       'tests/test_video_decoder.h',
545       'tests/test_x509_certificate_private.cc',
546       'tests/test_x509_certificate_private.h',
548       # Deprecated test cases.
549       'tests/test_instance_deprecated.cc',
550       'tests/test_instance_deprecated.h',
551       'tests/test_var_deprecated.cc',
552       'tests/test_var_deprecated.h',
553     ],
554   },