Add possibility to have extra dependecies in libjingle via gyp variable.
[chromium-blink-merge.git] / ppapi / ppapi_sources.gypi
blobfbb8d0991368af50de980333d511cd5df73d88aa
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_core.h',
29       'c/ppb_file_io.h',
30       'c/ppb_file_ref.h',
31       'c/ppb_file_system.h',
32       'c/ppb_fullscreen.h',
33       'c/ppb_gamepad.h',
34       'c/ppb_graphics_2d.h',
35       'c/ppb_graphics_3d.h',
36       'c/ppb_image_data.h',
37       'c/ppb_input_event.h',
38       'c/ppb_instance.h',
39       'c/ppb_messaging.h',
40       'c/ppb_mouse_cursor.h',
41       'c/ppb_mouse_lock.h',
42       'c/ppb_opengles2.h',
43       'c/pp_touch_point.h',
44       'c/ppb_url_loader.h',
45       'c/ppb_url_request_info.h',
46       'c/ppb_url_response_info.h',
47       'c/ppb_var.h',
48       'c/ppb_var_array_buffer.h',
49       'c/ppb_view.h',
50       'c/ppb_websocket.h',
51       'c/ppp.h',
52       'c/ppp_graphics_3d.h',
53       'c/ppp_input_event.h',
54       'c/ppp_instance.h',
55       'c/ppp_messaging.h',
56       'c/ppp_mouse_lock.h',
58       # Dev interfaces.
59       'c/dev/pp_cursor_type_dev.h',
60       'c/dev/pp_video_dev.h',
61       'c/dev/ppb_buffer_dev.h',
62       'c/dev/ppb_char_set_dev.h',
63       'c/dev/ppb_console_dev.h',
64       'c/dev/ppb_cursor_control_dev.h',
65       'c/dev/ppb_device_ref_dev.h',
66       'c/dev/ppb_directory_reader_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_ime_input_event_dev.h',
71       'c/dev/ppb_memory_dev.h',
72       'c/dev/ppb_message_loop_dev.h',
73       'c/dev/ppb_printing_dev.h',
74       'c/dev/ppb_resource_array_dev.h',
75       'c/dev/ppb_scrollbar_dev.h',
76       'c/dev/ppb_testing_dev.h',
77       'c/dev/ppb_text_input_dev.h',
78       'c/dev/ppb_url_util_dev.h',
79       'c/dev/ppb_video_decoder_dev.h',
80       'c/dev/ppb_widget_dev.h',
81       'c/dev/ppb_zoom_dev.h',
82       'c/dev/ppp_find_dev.h',
83       'c/dev/ppp_network_state_dev.h',
84       'c/dev/ppp_scrollbar_dev.h',
85       'c/dev/ppp_selection_dev.h',
86       'c/dev/ppp_text_input_dev.h',
87       'c/dev/ppp_video_decoder_dev.h',
88       'c/dev/ppp_widget_dev.h',
89       'c/dev/ppp_zoom_dev.h',
91       # Private interfaces.
92       'c/private/pp_file_handle.h',
93       'c/private/pp_private_font_charset.h',
94       'c/private/ppb_content_decryptor_private.h',
95       'c/private/ppb_flash.h',
96       'c/private/ppb_flash_clipboard.h',
97       'c/private/ppb_flash_file.h',
98       'c/private/ppb_flash_font_file.h',
99       'c/private/ppb_flash_fullscreen.h',
100       'c/private/ppb_flash_menu.h',
101       'c/private/ppb_flash_message_loop.h',
102       'c/private/ppb_flash_tcp_socket.h',
103       'c/private/ppb_gpu_blacklist_private.h',
104       'c/private/ppb_host_resolver_private.h',
105       'c/private/ppb_instance_private.h',
106       'c/private/ppb_nacl_private.h',
107       'c/private/ppb_net_address_private.h',
108       'c/private/ppb_pdf.h',
109       'c/private/ppb_proxy_private.h',
110       'c/private/ppp_instance_private.h',
111       'c/private/ppb_network_list_private.h',
112       'c/private/ppb_network_monitor_private.h',
113       'c/private/ppb_tcp_server_socket_private.h',
114       'c/private/ppb_tcp_socket_private.h',
115       'c/private/ppb_udp_socket_private.h',
116       'c/private/ppb_x509_certificate_private.h',
117       'c/private/ppp_content_decryptor_private.h',
119       # Deprecated interfaces.
120       'c/dev/deprecated_bool.h',
121       'c/dev/ppb_var_deprecated.h',
122       'c/dev/ppp_class_deprecated.h',
124       # Trusted interfaces.
125       'c/trusted/ppb_audio_trusted.h',
126       'c/trusted/ppb_broker_trusted.h',
127       'c/trusted/ppb_browser_font_trusted.h',
128       'c/trusted/ppb_buffer_trusted.h',
129       'c/trusted/ppb_file_chooser_trusted.h',
130       'c/trusted/ppb_file_io_trusted.h',
131       'c/trusted/ppb_graphics_3d_trusted.h',
132       'c/trusted/ppb_image_data_trusted.h',
133       'c/trusted/ppb_url_loader_trusted.h',
134       'c/trusted/ppp_broker.h',
135     ],
136     'cpp_source_files': [
137       'cpp/array_output.cc',
138       'cpp/array_output.h',
139       'cpp/audio.cc',
140       'cpp/audio.h',
141       'cpp/audio_config.cc',
142       'cpp/audio_config.h',
143       'cpp/completion_callback.h',
144       'cpp/core.cc',
145       'cpp/core.h',
146       'cpp/file_io.cc',
147       'cpp/file_io.h',
148       'cpp/file_ref.cc',
149       'cpp/file_ref.h',
150       'cpp/file_system.cc',
151       'cpp/file_system.h',
152       'cpp/fullscreen.cc',
153       'cpp/fullscreen.h',
154       'cpp/graphics_2d.cc',
155       'cpp/graphics_2d.h',
156       'cpp/graphics_3d.cc',
157       'cpp/graphics_3d.h',
158       'cpp/graphics_3d_client.cc',
159       'cpp/graphics_3d_client.h',
160       'cpp/image_data.cc',
161       'cpp/image_data.h',
162       'cpp/input_event.cc',
163       'cpp/input_event.h',
164       'cpp/instance.cc',
165       'cpp/instance.h',
166       'cpp/instance_handle.cc',
167       'cpp/instance_handle.h',
168       'cpp/logging.h',
169       'cpp/module.cc',
170       'cpp/module.h',
171       'cpp/module_impl.h',
172       'cpp/mouse_cursor.cc',
173       'cpp/mouse_cursor.h',
174       'cpp/mouse_lock.cc',
175       'cpp/mouse_lock.h',
176       'cpp/output_traits.h',
177       'cpp/point.h',
178       'cpp/rect.cc',
179       'cpp/rect.h',
180       'cpp/resource.cc',
181       'cpp/resource.h',
182       'cpp/size.h',
183       'cpp/touch_point.h',
184       'cpp/url_loader.cc',
185       'cpp/url_loader.h',
186       'cpp/url_request_info.cc',
187       'cpp/url_request_info.h',
188       'cpp/url_response_info.cc',
189       'cpp/url_response_info.h',
190       'cpp/var.cc',
191       'cpp/var.h',
192       'cpp/var_array_buffer.cc',
193       'cpp/var_array_buffer.h',
194       'cpp/view.cc',
195       'cpp/view.h',
196       'cpp/websocket.cc',
197       'cpp/websocket.h',
199       # Dev interfaces.
200       'cpp/dev/audio_input_dev.cc',
201       'cpp/dev/audio_input_dev.h',
202       'cpp/dev/buffer_dev.cc',
203       'cpp/dev/buffer_dev.h',
204       'cpp/dev/crypto_dev.cc',
205       'cpp/dev/crypto_dev.h',
206       'cpp/dev/cursor_control_dev.cc',
207       'cpp/dev/cursor_control_dev.h',
208       'cpp/dev/device_ref_dev.cc',
209       'cpp/dev/device_ref_dev.h',
210       'cpp/dev/directory_entry_dev.cc',
211       'cpp/dev/directory_entry_dev.h',
212       'cpp/dev/directory_reader_dev.cc',
213       'cpp/dev/directory_reader_dev.h',
214       'cpp/dev/file_chooser_dev.cc',
215       'cpp/dev/file_chooser_dev.h',
216       'cpp/dev/find_dev.cc',
217       'cpp/dev/find_dev.h',
218       'cpp/dev/font_dev.cc',
219       'cpp/dev/font_dev.h',
220       'cpp/dev/graphics_2d_dev.cc',
221       'cpp/dev/graphics_2d_dev.h',
222       'cpp/dev/ime_input_event_dev.cc',
223       'cpp/dev/ime_input_event_dev.h',
224       'cpp/dev/memory_dev.cc',
225       'cpp/dev/memory_dev.h',
226       'cpp/dev/message_loop_dev.cc',
227       'cpp/dev/message_loop_dev.h',
228       'cpp/dev/printing_dev.cc',
229       'cpp/dev/printing_dev.h',
230       'cpp/dev/resource_array_dev.cc',
231       'cpp/dev/resource_array_dev.h',
232       'cpp/dev/scrollbar_dev.cc',
233       'cpp/dev/scrollbar_dev.h',
234       'cpp/dev/selection_dev.cc',
235       'cpp/dev/selection_dev.h',
236       'cpp/dev/text_input_dev.cc',
237       'cpp/dev/text_input_dev.h',
238       'cpp/dev/url_util_dev.cc',
239       'cpp/dev/url_util_dev.h',
240       'cpp/dev/video_capture_client_dev.cc',
241       'cpp/dev/video_capture_client_dev.h',
242       'cpp/dev/video_capture_dev.cc',
243       'cpp/dev/video_capture_dev.h',
244       'cpp/dev/video_decoder_client_dev.cc',
245       'cpp/dev/video_decoder_client_dev.h',
246       'cpp/dev/video_decoder_dev.cc',
247       'cpp/dev/video_decoder_dev.h',
248       'cpp/dev/view_dev.cc',
249       'cpp/dev/view_dev.h',
250       'cpp/dev/widget_client_dev.cc',
251       'cpp/dev/widget_client_dev.h',
252       'cpp/dev/widget_dev.cc',
253       'cpp/dev/widget_dev.h',
254       'cpp/dev/zoom_dev.cc',
255       'cpp/dev/zoom_dev.h',
257       # Deprecated interfaces.
258       'cpp/dev/scriptable_object_deprecated.h',
259       'cpp/dev/scriptable_object_deprecated.cc',
261       # Private interfaces.
262       'cpp/private/content_decryptor_private.cc',
263       'cpp/private/content_decryptor_private.h',
264       'cpp/private/flash.cc',
265       'cpp/private/flash.h',
266       'cpp/private/flash_clipboard.cc',
267       'cpp/private/flash_clipboard.h',
268       'cpp/private/flash_device_id.cc',
269       'cpp/private/flash_device_id.h',
270       'cpp/private/flash_file.cc',
271       'cpp/private/flash_file.h',
272       'cpp/private/flash_font_file.cc',
273       'cpp/private/flash_font_file.h',
274       'cpp/private/flash_fullscreen.cc',
275       'cpp/private/flash_fullscreen.h',
276       'cpp/private/flash_menu.cc',
277       'cpp/private/flash_menu.h',
278       'cpp/private/flash_message_loop.cc',
279       'cpp/private/flash_message_loop.h',
280       'cpp/private/host_resolver_private.cc',
281       'cpp/private/host_resolver_private.h',
282       'cpp/private/instance_private.cc',
283       'cpp/private/instance_private.h',
284       'cpp/private/net_address_private.cc',
285       'cpp/private/net_address_private.h',
286       'cpp/private/network_list_private.cc',
287       'cpp/private/network_list_private.h',
288       'cpp/private/network_monitor_private.cc',
289       'cpp/private/network_monitor_private.h',
290       'cpp/private/tcp_server_socket_private.cc',
291       'cpp/private/tcp_server_socket_private.h',
292       'cpp/private/tcp_socket_private.cc',
293       'cpp/private/tcp_socket_private.h',
294       'cpp/private/udp_socket_private.cc',
295       'cpp/private/udp_socket_private.h',
296       'cpp/private/var_private.cc',
297       'cpp/private/var_private.h',
298       'cpp/private/x509_certificate_private.cc',
299       'cpp/private/x509_certificate_private.h',
301       # Trusted interfaces.
302       'cpp/trusted/browser_font_trusted.cc',
303       'cpp/trusted/browser_font_trusted.h',
304       'cpp/trusted/file_chooser_trusted.cc',
305       'cpp/trusted/file_chooser_trusted.h',
306       'cpp/trusted/file_io_trusted.cc',
307       'cpp/trusted/file_io_trusted.h',
309       # Utility sources.
310       'utility/completion_callback_factory.h',
311       'utility/completion_callback_factory_thread_traits.h',
312       'utility/graphics/paint_aggregator.cc',
313       'utility/graphics/paint_aggregator.h',
314       'utility/graphics/paint_manager.cc',
315       'utility/graphics/paint_manager.h',
316       'utility/private/network_list_observer_private.cc',
317       'utility/private/network_list_observer_private.h',
318       'utility/threading/lock.cc',
319       'utility/threading/lock.h',
320       'utility/threading/simple_thread.cc',
321       'utility/threading/simple_thread.h',
322       'utility/websocket/websocket_api.cc',
323       'utility/websocket/websocket_api.h',
324     ],
325     #
326     # Common Testing source for trusted and untrusted (NaCl) pugins.
327     #
328     'test_common_source_files': [
329       # Common test files
330       'lib/gl/gles2/gles2.c',
331       'lib/gl/gles2/gl2ext_ppapi.c',
332       'lib/gl/gles2/gl2ext_ppapi.h',
333       'tests/all_c_includes.h',
334       'tests/all_cpp_includes.h',
335       'tests/arch_dependent_sizes_32.h',
336       'tests/arch_dependent_sizes_64.h',
337       'tests/pp_thread.h',
338       'tests/test_audio.cc',
339       'tests/test_audio.h',
340       'tests/test_audio_config.cc',
341       'tests/test_audio_config.h',
342       'tests/test_case.cc',
343       'tests/test_case.h',
344       'tests/test_core.cc',
345       'tests/test_core.h',
346       'tests/test_cursor_control.cc',
347       'tests/test_cursor_control.h',
348       'tests/test_directory_reader.cc',
349       'tests/test_directory_reader.h',
350       'tests/test_empty.cc',
351       'tests/test_empty.h',
352       'tests/test_file_io.cc',
353       'tests/test_file_io.h',
354       'tests/test_file_ref.cc',
355       'tests/test_file_ref.h',
356       'tests/test_file_system.cc',
357       'tests/test_file_system.h',
358       'tests/test_fullscreen.cc',
359       'tests/test_fullscreen.h',
360       'tests/test_graphics_2d.cc',
361       'tests/test_graphics_2d.h',
362       'tests/test_graphics_3d.cc',
363       'tests/test_graphics_3d.h',
364       'tests/test_host_resolver_private.cc',
365       'tests/test_host_resolver_private.h',
366       'tests/test_image_data.cc',
367       'tests/test_image_data.h',
368       'tests/test_ime_input_event.cc',
369       'tests/test_ime_input_event.h',
370       'tests/test_input_event.cc',
371       'tests/test_input_event.h',
372       'tests/test_memory.cc',
373       'tests/test_memory.h',
374       'tests/test_message_loop.cc',
375       'tests/test_message_loop.h',
376       'tests/test_mouse_cursor.cc',
377       'tests/test_mouse_cursor.h',
378       'tests/test_mouse_lock.cc',
379       'tests/test_mouse_lock.h',
380       'tests/test_net_address_private_untrusted.cc',
381       'tests/test_net_address_private_untrusted.h',
382       'tests/test_network_monitor_private.cc',
383       'tests/test_network_monitor_private.h',
384       'tests/test_paint_aggregator.cc',
385       'tests/test_paint_aggregator.h',
386       'tests/test_post_message.cc',
387       'tests/test_post_message.h',
388       'tests/test_printing.cc',
389       'tests/test_printing.h',
390       'tests/test_scrollbar.cc',
391       'tests/test_scrollbar.h',
392       'tests/test_tcp_server_socket_private.cc',
393       'tests/test_tcp_server_socket_private.h',
394       'tests/test_tcp_socket_private.cc',
395       'tests/test_tcp_socket_private.h',
396       'tests/test_udp_socket_private.cc',
397       'tests/test_udp_socket_private.h',
398       'tests/test_url_loader.cc',
399       'tests/test_url_loader.h',
400       'tests/test_url_request.cc',
401       'tests/test_url_request.h',
402       'tests/test_utils.cc',
403       'tests/test_var.cc',
404       'tests/test_var.h',
405       'tests/test_view.cc',
406       'tests/test_view.h',
407       'tests/test_websocket.cc',
408       'tests/test_websocket.h',
409       'tests/testing_instance.cc',
410       'tests/testing_instance.h',
412       # Compile-time tests
413       'tests/test_c_includes.c',
414       'tests/test_cpp_includes.cc',
415       'tests/test_struct_sizes.c',
416      ],
417     #
418     # Sources used in NaCl tests.
419     #
420     'test_nacl_source_files': [
421       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
422       'tests/test_tcp_server_socket_private_disallowed.cc',
423       'tests/test_tcp_socket_private_disallowed.cc',
424       'tests/test_udp_socket_private_disallowed.cc',
425     ],
426     #
427     # Sources used in trusted tests.
428     #
429     'test_trusted_source_files': [
430       # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
431       'tests/test_broker.cc',
432       'tests/test_broker.h',
433       'tests/test_browser_font.cc',
434       'tests/test_browser_font.h',
435       'tests/test_buffer.cc',
436       'tests/test_buffer.h',
437       'tests/test_c_includes.c',
438       'tests/test_char_set.cc',
439       'tests/test_char_set.h',
440       'tests/test_cpp_includes.cc',
441       'tests/test_crypto.cc',
442       'tests/test_crypto.h',
443       'tests/test_flash.cc',
444       'tests/test_flash.h',
445       'tests/test_flash_clipboard.cc',
446       'tests/test_flash_clipboard.h',
447       'tests/test_flash_file.cc',
448       'tests/test_flash_file.h',
449       'tests/test_flash_fullscreen.cc',
450       'tests/test_flash_fullscreen.h',
451       'tests/test_flash_message_loop.cc',
452       'tests/test_flash_message_loop.h',
453       'tests/test_net_address_private.cc',
454       'tests/test_net_address_private.h',
455       'tests/test_resource_array.cc',
456       'tests/test_resource_array.h',
457       'tests/test_struct_sizes.c',
458       'tests/test_tcp_socket_private_trusted.cc',
459       'tests/test_tcp_socket_private_trusted.h',
460       'tests/test_uma.cc',
461       'tests/test_uma.h',
462       'tests/test_url_util.cc',
463       'tests/test_url_util.h',
464       'tests/test_utils.cc',
465       'tests/test_utils.h',
466       'tests/test_video_decoder.cc',
467       'tests/test_video_decoder.h',
468       'tests/test_x509_certificate_private.cc',
469       'tests/test_x509_certificate_private.h',
471       # Deprecated test cases.
472       'tests/test_instance_deprecated.cc',
473       'tests/test_instance_deprecated.h',
474       'tests/test_var_deprecated.cc',
475       'tests/test_var_deprecated.h',
476     ],
477   },