Add code field speced for DOM KeyEvent into virtual key events from the soft-keyboard.
[chromium-blink-merge.git] / ppapi / ppapi_sources.gypi
blobabbedb8f6d1fc4fb39c1dc57dabcddc279eeaa42
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_text_input_dev.h',
86       'c/dev/ppb_truetype_font_dev.h',
87       'c/dev/ppb_url_util_dev.h',
88       'c/dev/ppb_var_resource_dev.h',
89       'c/dev/ppb_video_decoder_dev.h',
90       'c/dev/ppb_widget_dev.h',
91       'c/dev/ppb_zoom_dev.h',
92       'c/dev/ppp_find_dev.h',
93       'c/dev/ppp_network_state_dev.h',
94       'c/dev/ppp_scrollbar_dev.h',
95       'c/dev/ppp_selection_dev.h',
96       'c/dev/ppp_text_input_dev.h',
97       'c/dev/ppp_video_decoder_dev.h',
98       'c/dev/ppp_widget_dev.h',
99       'c/dev/ppp_zoom_dev.h',
101       # Private interfaces.
102       'c/private/pp_file_handle.h',
103       'c/private/pp_private_font_charset.h',
104       'c/private/pp_video_frame_private.h',
105       'c/private/ppb_content_decryptor_private.h',
106       'c/private/ppb_ext_crx_file_system_private.h',
107       'c/private/ppb_flash.h',
108       'c/private/ppb_flash_clipboard.h',
109       'c/private/ppb_flash_file.h',
110       'c/private/ppb_flash_font_file.h',
111       'c/private/ppb_flash_fullscreen.h',
112       'c/private/ppb_flash_menu.h',
113       'c/private/ppb_flash_message_loop.h',
114       'c/private/ppb_host_resolver_private.h',
115       'c/private/ppb_instance_private.h',
116       'c/private/ppb_isolated_file_system_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/ppb_testing_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',
131       'c/private/ppp_instance_private.h',
133       # Deprecated interfaces.
134       'c/dev/deprecated_bool.h',
135       'c/dev/ppb_var_deprecated.h',
136       'c/dev/ppp_class_deprecated.h',
138       # Trusted interfaces.
139       'c/trusted/ppb_broker_trusted.h',
140       'c/trusted/ppb_browser_font_trusted.h',
141       'c/trusted/ppb_file_chooser_trusted.h',
142       'c/trusted/ppb_url_loader_trusted.h',
143       'c/trusted/ppp_broker.h',
145       # Extensions dev interfaces.
146       'c/extensions/dev/ppb_ext_alarms_dev.h',
147       'c/extensions/dev/ppb_ext_events_dev.h',
148       'c/extensions/dev/ppb_ext_socket_dev.h',
149     ],
150     'cpp_source_files': [
151       'cpp/array_output.cc',
152       'cpp/array_output.h',
153       'cpp/audio.cc',
154       'cpp/audio.h',
155       'cpp/audio_config.cc',
156       'cpp/audio_config.h',
157       'cpp/completion_callback.h',
158       'cpp/core.cc',
159       'cpp/core.h',
160       'cpp/directory_entry.cc',
161       'cpp/directory_entry.h',
162       'cpp/file_io.cc',
163       'cpp/file_io.h',
164       'cpp/file_ref.cc',
165       'cpp/file_ref.h',
166       'cpp/file_system.cc',
167       'cpp/file_system.h',
168       'cpp/fullscreen.cc',
169       'cpp/fullscreen.h',
170       'cpp/graphics_2d.cc',
171       'cpp/graphics_2d.h',
172       'cpp/graphics_3d.cc',
173       'cpp/graphics_3d.h',
174       'cpp/graphics_3d_client.cc',
175       'cpp/graphics_3d_client.h',
176       'cpp/host_resolver.cc',
177       'cpp/host_resolver.h',
178       'cpp/image_data.cc',
179       'cpp/image_data.h',
180       'cpp/input_event.cc',
181       'cpp/input_event.h',
182       'cpp/instance.cc',
183       'cpp/instance.h',
184       'cpp/instance_handle.cc',
185       'cpp/instance_handle.h',
186       'cpp/logging.h',
187       'cpp/message_loop.cc',
188       'cpp/message_loop.h',
189       'cpp/module.cc',
190       'cpp/module.h',
191       'cpp/module_impl.h',
192       'cpp/mouse_cursor.cc',
193       'cpp/mouse_cursor.h',
194       'cpp/mouse_lock.cc',
195       'cpp/mouse_lock.h',
196       'cpp/net_address.cc',
197       'cpp/net_address.h',
198       'cpp/network_list.cc',
199       'cpp/network_list.h',
200       'cpp/network_monitor.cc',
201       'cpp/network_monitor.h',
202       'cpp/network_proxy.cc',
203       'cpp/network_proxy.h',
204       'cpp/output_traits.h',
205       'cpp/point.h',
206       'cpp/rect.cc',
207       'cpp/rect.h',
208       'cpp/resource.cc',
209       'cpp/resource.h',
210       'cpp/size.h',
211       'cpp/tcp_socket.cc',
212       'cpp/tcp_socket.h',
213       'cpp/text_input_controller.cc',
214       'cpp/text_input_controller.h',
215       'cpp/touch_point.h',
216       'cpp/udp_socket.cc',
217       'cpp/udp_socket.h',
218       'cpp/url_loader.cc',
219       'cpp/url_loader.h',
220       'cpp/url_request_info.cc',
221       'cpp/url_request_info.h',
222       'cpp/url_response_info.cc',
223       'cpp/url_response_info.h',
224       'cpp/var.cc',
225       'cpp/var.h',
226       'cpp/var_array.cc',
227       'cpp/var_array.h',
228       'cpp/var_array_buffer.cc',
229       'cpp/var_array_buffer.h',
230       'cpp/var_dictionary.cc',
231       'cpp/var_dictionary.h',
232       'cpp/view.cc',
233       'cpp/view.h',
234       'cpp/websocket.cc',
235       'cpp/websocket.h',
237       # Dev interfaces.
238       'cpp/dev/audio_input_dev.cc',
239       'cpp/dev/audio_input_dev.h',
240       'cpp/dev/buffer_dev.cc',
241       'cpp/dev/buffer_dev.h',
242       'cpp/dev/crypto_dev.cc',
243       'cpp/dev/crypto_dev.h',
244       'cpp/dev/cursor_control_dev.cc',
245       'cpp/dev/cursor_control_dev.h',
246       'cpp/dev/device_ref_dev.cc',
247       'cpp/dev/device_ref_dev.h',
248       'cpp/dev/file_chooser_dev.cc',
249       'cpp/dev/file_chooser_dev.h',
250       'cpp/dev/find_dev.cc',
251       'cpp/dev/find_dev.h',
252       'cpp/dev/font_dev.cc',
253       'cpp/dev/font_dev.h',
254       'cpp/dev/graphics_2d_dev.cc',
255       'cpp/dev/graphics_2d_dev.h',
256       'cpp/dev/ime_input_event_dev.cc',
257       'cpp/dev/ime_input_event_dev.h',
258       'cpp/dev/memory_dev.cc',
259       'cpp/dev/memory_dev.h',
260       'cpp/dev/printing_dev.cc',
261       'cpp/dev/printing_dev.h',
262       'cpp/dev/resource_array_dev.cc',
263       'cpp/dev/resource_array_dev.h',
264       'cpp/dev/scrollbar_dev.cc',
265       'cpp/dev/scrollbar_dev.h',
266       'cpp/dev/selection_dev.cc',
267       'cpp/dev/selection_dev.h',
268       'cpp/dev/text_input_dev.cc',
269       'cpp/dev/text_input_dev.h',
270       'cpp/dev/truetype_font_dev.cc',
271       'cpp/dev/truetype_font_dev.h',
272       'cpp/dev/url_util_dev.cc',
273       'cpp/dev/url_util_dev.h',
274       'cpp/dev/var_resource_dev.cc',
275       'cpp/dev/var_resource_dev.h',
276       'cpp/dev/video_capture_client_dev.cc',
277       'cpp/dev/video_capture_client_dev.h',
278       'cpp/dev/video_capture_dev.cc',
279       'cpp/dev/video_capture_dev.h',
280       'cpp/dev/video_decoder_client_dev.cc',
281       'cpp/dev/video_decoder_client_dev.h',
282       'cpp/dev/video_decoder_dev.cc',
283       'cpp/dev/video_decoder_dev.h',
284       'cpp/dev/view_dev.cc',
285       'cpp/dev/view_dev.h',
286       'cpp/dev/widget_client_dev.cc',
287       'cpp/dev/widget_client_dev.h',
288       'cpp/dev/widget_dev.cc',
289       'cpp/dev/widget_dev.h',
290       'cpp/dev/zoom_dev.cc',
291       'cpp/dev/zoom_dev.h',
293       # Deprecated interfaces.
294       'cpp/dev/scriptable_object_deprecated.h',
295       'cpp/dev/scriptable_object_deprecated.cc',
297       # Private interfaces.
298       'cpp/private/content_decryptor_private.cc',
299       'cpp/private/content_decryptor_private.h',
300       'cpp/private/ext_crx_file_system_private.cc',
301       'cpp/private/ext_crx_file_system_private.h',
302       'cpp/private/file_io_private.cc',
303       'cpp/private/file_io_private.h',
304       'cpp/private/flash.cc',
305       'cpp/private/flash.h',
306       'cpp/private/flash_clipboard.cc',
307       'cpp/private/flash_clipboard.h',
308       'cpp/private/flash_device_id.cc',
309       'cpp/private/flash_device_id.h',
310       'cpp/private/flash_drm.cc',
311       'cpp/private/flash_drm.h',
312       'cpp/private/flash_file.cc',
313       'cpp/private/flash_file.h',
314       'cpp/private/flash_font_file.cc',
315       'cpp/private/flash_font_file.h',
316       'cpp/private/flash_fullscreen.cc',
317       'cpp/private/flash_fullscreen.h',
318       'cpp/private/flash_menu.cc',
319       'cpp/private/flash_menu.h',
320       'cpp/private/flash_message_loop.cc',
321       'cpp/private/flash_message_loop.h',
322       'cpp/private/host_resolver_private.cc',
323       'cpp/private/host_resolver_private.h',
324       'cpp/private/instance_private.cc',
325       'cpp/private/instance_private.h',
326       'cpp/private/isolated_file_system_private.cc',
327       'cpp/private/isolated_file_system_private.h',
328       'cpp/private/net_address_private.cc',
329       'cpp/private/net_address_private.h',
330       'cpp/private/output_protection_private.cc',
331       'cpp/private/output_protection_private.h',
332       'cpp/private/pass_file_handle.cc',
333       'cpp/private/pass_file_handle.h',
334       'cpp/private/pdf.cc',
335       'cpp/private/pdf.h',
336       'cpp/private/platform_verification.cc',
337       'cpp/private/platform_verification.h',
338       'cpp/private/tcp_server_socket_private.cc',
339       'cpp/private/tcp_server_socket_private.h',
340       'cpp/private/tcp_socket_private.cc',
341       'cpp/private/tcp_socket_private.h',
342       'cpp/private/udp_socket_private.cc',
343       'cpp/private/udp_socket_private.h',
344       'cpp/private/var_private.cc',
345       'cpp/private/var_private.h',
346       'cpp/private/video_destination_private.cc',
347       'cpp/private/video_destination_private.h',
348       'cpp/private/video_frame_private.cc',
349       'cpp/private/video_frame_private.h',
350       'cpp/private/video_source_private.cc',
351       'cpp/private/video_source_private.h',
352       'cpp/private/x509_certificate_private.cc',
353       'cpp/private/x509_certificate_private.h',
355       # Trusted interfaces.
356       'cpp/trusted/browser_font_trusted.cc',
357       'cpp/trusted/browser_font_trusted.h',
358       'cpp/trusted/file_chooser_trusted.cc',
359       'cpp/trusted/file_chooser_trusted.h',
361       # Extensions interfaces.
362       'cpp/extensions/dict_field.h',
363       'cpp/extensions/event_base.cc',
364       'cpp/extensions/event_base.h',
365       'cpp/extensions/ext_output_traits.h',
366       'cpp/extensions/from_var_converter.h',
367       'cpp/extensions/optional.h',
368       'cpp/extensions/to_var_converter.h',
370       # Extensions dev interfaces.
371       'cpp/extensions/dev/alarms_dev.cc',
372       'cpp/extensions/dev/alarms_dev.h',
373       'cpp/extensions/dev/events_dev.cc',
374       'cpp/extensions/dev/events_dev.h',
375       'cpp/extensions/dev/socket_dev.cc',
376       'cpp/extensions/dev/socket_dev.h',
378       # Utility sources.
379       'utility/completion_callback_factory.h',
380       'utility/completion_callback_factory_thread_traits.h',
381       'utility/graphics/paint_aggregator.cc',
382       'utility/graphics/paint_aggregator.h',
383       'utility/graphics/paint_manager.cc',
384       'utility/graphics/paint_manager.h',
385       'utility/threading/lock.cc',
386       'utility/threading/lock.h',
387       'utility/threading/simple_thread.cc',
388       'utility/threading/simple_thread.h',
389       'utility/websocket/websocket_api.cc',
390       'utility/websocket/websocket_api.h',
391     ],
392     #
393     # Common Testing source for trusted and untrusted (NaCl) pugins.
394     #
395     'test_common_source_files': [
396       # Common test files
397       'lib/gl/gles2/gles2.c',
398       'lib/gl/gles2/gl2ext_ppapi.c',
399       'lib/gl/gles2/gl2ext_ppapi.h',
400       'tests/all_c_includes.h',
401       'tests/all_cpp_includes.h',
402       'tests/arch_dependent_sizes_32.h',
403       'tests/arch_dependent_sizes_64.h',
404       'tests/pp_thread.h',
405       'tests/test_audio.cc',
406       'tests/test_audio.h',
407       'tests/test_audio_config.cc',
408       'tests/test_audio_config.h',
409       'tests/test_case.cc',
410       'tests/test_case.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_ref.cc',
422       'tests/test_file_ref.h',
423       'tests/test_file_system.cc',
424       'tests/test_file_system.h',
425       'tests/test_fullscreen.cc',
426       'tests/test_fullscreen.h',
427       'tests/test_graphics_2d.cc',
428       'tests/test_graphics_2d.h',
429       'tests/test_graphics_3d.cc',
430       'tests/test_graphics_3d.h',
431       'tests/test_host_resolver.cc',
432       'tests/test_host_resolver.h',
433       'tests/test_host_resolver_private.cc',
434       'tests/test_host_resolver_private.h',
435       'tests/test_host_resolver_private_disallowed.cc',
436       'tests/test_host_resolver_private_disallowed.h',
437       'tests/test_image_data.cc',
438       'tests/test_image_data.h',
439       'tests/test_ime_input_event.cc',
440       'tests/test_ime_input_event.h',
441       'tests/test_input_event.cc',
442       'tests/test_input_event.h',
443       'tests/test_memory.cc',
444       'tests/test_memory.h',
445       'tests/test_message_loop.cc',
446       'tests/test_message_loop.h',
447       'tests/test_mouse_cursor.cc',
448       'tests/test_mouse_cursor.h',
449       'tests/test_mouse_lock.cc',
450       'tests/test_mouse_lock.h',
451       'tests/test_net_address.cc',
452       'tests/test_net_address.h',
453       'tests/test_net_address_private_untrusted.cc',
454       'tests/test_net_address_private_untrusted.h',
455       'tests/test_network_monitor.cc',
456       'tests/test_network_monitor.h',
457       'tests/test_network_proxy.cc',
458       'tests/test_network_proxy.h',
459       'tests/test_output_protection_private.cc',
460       'tests/test_output_protection_private.h',
461       'tests/test_paint_aggregator.cc',
462       'tests/test_paint_aggregator.h',
463       'tests/test_post_message.cc',
464       'tests/test_post_message.h',
465       'tests/test_printing.cc',
466       'tests/test_printing.h',
467       'tests/test_scrollbar.cc',
468       'tests/test_scrollbar.h',
469       'tests/test_tcp_server_socket_private.cc',
470       'tests/test_tcp_server_socket_private.h',
471       'tests/test_tcp_socket.cc',
472       'tests/test_tcp_socket.h',
473       'tests/test_tcp_socket_private.cc',
474       'tests/test_tcp_socket_private.h',
475       'tests/test_trace_event.cc',
476       'tests/test_trace_event.h',
477       'tests/test_truetype_font.cc',
478       'tests/test_truetype_font.h',
479       'tests/test_udp_socket.cc',
480       'tests/test_udp_socket.h',
481       'tests/test_udp_socket_private.cc',
482       'tests/test_udp_socket_private.h',
483       'tests/test_url_loader.cc',
484       'tests/test_url_loader.h',
485       'tests/test_url_request.cc',
486       'tests/test_url_request.h',
487       'tests/test_utils.cc',
488       'tests/test_var.cc',
489       'tests/test_var.h',
490       'tests/test_var_resource.cc',
491       'tests/test_var_resource.h',
492       'tests/test_video_destination.cc',
493       'tests/test_video_destination.h',
494       'tests/test_video_source.cc',
495       'tests/test_video_source.h',
496       'tests/test_view.cc',
497       'tests/test_view.h',
498       'tests/test_websocket.cc',
499       'tests/test_websocket.h',
500       'tests/testing_instance.cc',
501       'tests/testing_instance.h',
503       # Compile-time tests
504       'tests/test_c_includes.c',
505       'tests/test_cpp_includes.cc',
506       'tests/test_struct_sizes.c',
507      ],
508     #
509     # Sources used in NaCl tests.
510     #
511     'test_nacl_source_files': [
512       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
513       'tests/test_tcp_server_socket_private_disallowed.cc',
514       'tests/test_tcp_socket_private_disallowed.cc',
515       'tests/test_udp_socket_private_disallowed.cc',
516     ],
517     #
518     # Sources used in trusted tests.
519     #
520     'test_trusted_source_files': [
521       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
522       'tests/test_broker.cc',
523       'tests/test_broker.h',
524       'tests/test_browser_font.cc',
525       'tests/test_browser_font.h',
526       'tests/test_buffer.cc',
527       'tests/test_buffer.h',
528       'tests/test_c_includes.c',
529       'tests/test_char_set.cc',
530       'tests/test_char_set.h',
531       'tests/test_cpp_includes.cc',
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_message_loop.cc',
545       'tests/test_flash_message_loop.h',
546       'tests/test_net_address_private.cc',
547       'tests/test_net_address_private.h',
548       'tests/test_pdf.cc',
549       'tests/test_pdf.h',
550       'tests/test_platform_verification_private.cc',
551       'tests/test_platform_verification_private.h',
552       'tests/test_resource_array.cc',
553       'tests/test_resource_array.h',
554       'tests/test_struct_sizes.c',
555       'tests/test_talk_private.cc',
556       'tests/test_talk_private.h',
557       'tests/test_tcp_socket_private_trusted.cc',
558       'tests/test_tcp_socket_private_trusted.h',
559       'tests/test_uma.cc',
560       'tests/test_uma.h',
561       'tests/test_url_util.cc',
562       'tests/test_url_util.h',
563       'tests/test_utils.cc',
564       'tests/test_utils.h',
565       'tests/test_video_decoder.cc',
566       'tests/test_video_decoder.h',
567       'tests/test_x509_certificate_private.cc',
568       'tests/test_x509_certificate_private.h',
570       # Deprecated test cases.
571       'tests/test_instance_deprecated.cc',
572       'tests/test_instance_deprecated.h',
573       'tests/test_var_deprecated.cc',
574       'tests/test_var_deprecated.h',
575     ],
576   },