Roll src/third_party/WebKit ebb1ba5:b65f743 (svn 202609:202610)
[chromium-blink-merge.git] / ppapi / ppapi_proxy.gypi
blobf220436bf44e934547da1a29825ae97ccd1066b7
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   'target_defaults': {
7     'variables': {
8       'ppapi_proxy_target': 0,
9     },
10     'target_conditions': [
11       # This part is shared between the targets defined below.
12       ['ppapi_proxy_target==1', {
13         'sources': [
14           # Take some standalone files from the C++ wrapper allowing us to more
15           # easily make async callbacks in the proxy. We can't depend on the
16           # full C++ wrappers at this layer since the C++ wrappers expect
17           # symbols defining the globals for "being a plugin" which we are not.
18           # These callback files are standalone.
19           'cpp/completion_callback.h',
20           'utility/completion_callback_factory.h',
22           'proxy/audio_buffer_resource.cc',
23           'proxy/audio_buffer_resource.h',
24           'proxy/audio_encoder_resource.cc',
25           'proxy/audio_encoder_resource.h',
26           'proxy/audio_input_resource.cc',
27           'proxy/audio_input_resource.h',
28           'proxy/broker_dispatcher.cc',
29           'proxy/broker_dispatcher.h',
30           'proxy/broker_resource.cc',
31           'proxy/broker_resource.h',
32           'proxy/browser_font_singleton_resource.cc',
33           'proxy/browser_font_singleton_resource.h',
34           'proxy/camera_capabilities_resource.cc',
35           'proxy/camera_capabilities_resource.h',
36           'proxy/camera_device_resource.cc',
37           'proxy/camera_device_resource.h',
38           'proxy/compositor_layer_resource.cc',
39           'proxy/compositor_layer_resource.h',
40           'proxy/compositor_resource.cc',
41           'proxy/compositor_resource.h',
42           'proxy/connection.h',
43           'proxy/device_enumeration_resource_helper.cc',
44           'proxy/device_enumeration_resource_helper.h',
45           'proxy/dispatcher.cc',
46           'proxy/dispatcher.h',
47           'proxy/enter_proxy.h',
48           'proxy/error_conversion.cc',
49           'proxy/error_conversion.h',
50           'proxy/file_chooser_resource.cc',
51           'proxy/file_chooser_resource.h',
52           'proxy/file_io_resource.cc',
53           'proxy/file_io_resource.h',
54           'proxy/file_ref_resource.cc',
55           'proxy/file_ref_resource.h',
56           'proxy/file_system_resource.cc',
57           'proxy/file_system_resource.h',
58           'proxy/flash_clipboard_resource.cc',
59           'proxy/flash_clipboard_resource.h',
60           'proxy/flash_drm_resource.cc',
61           'proxy/flash_drm_resource.h',
62           'proxy/flash_file_resource.cc',
63           'proxy/flash_file_resource.h',
64           'proxy/flash_font_file_resource.cc',
65           'proxy/flash_font_file_resource.h',
66           'proxy/flash_fullscreen_resource.cc',
67           'proxy/flash_fullscreen_resource.h',
68           'proxy/flash_menu_resource.cc',
69           'proxy/flash_menu_resource.h',
70           'proxy/flash_resource.cc',
71           'proxy/flash_resource.h',
72           'proxy/gamepad_resource.cc',
73           'proxy/gamepad_resource.h',
74           'proxy/graphics_2d_resource.cc',
75           'proxy/graphics_2d_resource.h',
76           'proxy/host_dispatcher.cc',
77           'proxy/host_dispatcher.h',
78           'proxy/host_resolver_private_resource.cc',
79           'proxy/host_resolver_private_resource.h',
80           'proxy/host_resolver_resource.cc',
81           'proxy/host_resolver_resource.h',
82           'proxy/host_resolver_resource_base.cc',
83           'proxy/host_resolver_resource_base.h',
84           'proxy/host_var_serialization_rules.cc',
85           'proxy/host_var_serialization_rules.h',
86           'proxy/interface_list.cc',
87           'proxy/interface_list.h',
88           'proxy/interface_proxy.cc',
89           'proxy/interface_proxy.h',
90           'proxy/isolated_file_system_private_resource.cc',
91           'proxy/isolated_file_system_private_resource.h',
92           'proxy/locking_resource_releaser.h',
93           'proxy/media_stream_audio_track_resource.cc',
94           'proxy/media_stream_audio_track_resource.h',
95           'proxy/media_stream_track_resource_base.cc',
96           'proxy/media_stream_track_resource_base.h',
97           'proxy/media_stream_video_track_resource.cc',
98           'proxy/media_stream_video_track_resource.h',
99           'proxy/message_handler.cc',
100           'proxy/message_handler.h',
101           'proxy/net_address_resource.cc',
102           'proxy/net_address_resource.h',
103           'proxy/network_list_resource.cc',
104           'proxy/network_list_resource.h',
105           'proxy/network_monitor_resource.cc',
106           'proxy/network_monitor_resource.h',
107           'proxy/network_proxy_resource.cc',
108           'proxy/network_proxy_resource.h',
109           'proxy/output_protection_resource.cc',
110           'proxy/output_protection_resource.h',
111           'proxy/pdf_resource.cc',
112           'proxy/pdf_resource.h',
113           'proxy/platform_verification_private_resource.cc',
114           'proxy/platform_verification_private_resource.h',
115           'proxy/plugin_array_buffer_var.cc',
116           'proxy/plugin_array_buffer_var.h',
117           'proxy/plugin_dispatcher.cc',
118           'proxy/plugin_dispatcher.h',
119           'proxy/plugin_globals.cc',
120           'proxy/plugin_globals.h',
121           'proxy/plugin_message_filter.cc',
122           'proxy/plugin_message_filter.h',
123           'proxy/plugin_resource.cc',
124           'proxy/plugin_resource.h',
125           'proxy/plugin_resource_tracker.cc',
126           'proxy/plugin_resource_tracker.h',
127           'proxy/plugin_resource_var.cc',
128           'proxy/plugin_resource_var.h',
129           'proxy/plugin_var_serialization_rules.cc',
130           'proxy/plugin_var_serialization_rules.h',
131           'proxy/plugin_var_tracker.cc',
132           'proxy/plugin_var_tracker.h',
133           'proxy/ppapi_command_buffer_proxy.cc',
134           'proxy/ppapi_command_buffer_proxy.h',
135           'proxy/ppapi_message_utils.h',
136           'proxy/ppapi_messages.h',
137           'proxy/ppb_audio_proxy.cc',
138           'proxy/ppb_audio_proxy.h',
139           'proxy/ppb_broker_proxy.cc',
140           'proxy/ppb_broker_proxy.h',
141           'proxy/ppb_buffer_proxy.cc',
142           'proxy/ppb_buffer_proxy.h',
143           'proxy/ppb_core_proxy.cc',
144           'proxy/ppb_core_proxy.h',
145           'proxy/ppb_flash_message_loop_proxy.cc',
146           'proxy/ppb_flash_message_loop_proxy.h',
147           'proxy/ppb_graphics_3d_proxy.cc',
148           'proxy/ppb_graphics_3d_proxy.h',
149           'proxy/ppb_image_data_proxy.cc',
150           'proxy/ppb_image_data_proxy.h',
151           'proxy/ppb_instance_proxy.cc',
152           'proxy/ppb_instance_proxy.h',
153           'proxy/ppb_message_loop_proxy.cc',
154           'proxy/ppb_message_loop_proxy.h',
155           'proxy/ppb_testing_proxy.cc',
156           'proxy/ppb_testing_proxy.h',
157           'proxy/ppb_var_deprecated_proxy.cc',
158           'proxy/ppb_var_deprecated_proxy.h',
159           'proxy/ppb_video_decoder_proxy.cc',
160           'proxy/ppb_video_decoder_proxy.h',
161           'proxy/ppb_x509_certificate_private_proxy.cc',
162           'proxy/ppb_x509_certificate_private_proxy.h',
163           'proxy/ppp_class_proxy.cc',
164           'proxy/ppp_class_proxy.h',
165           'proxy/ppp_content_decryptor_private_proxy.cc',
166           'proxy/ppp_content_decryptor_private_proxy.h',
167           'proxy/ppp_find_proxy.cc',
168           'proxy/ppp_find_proxy.h',
169           'proxy/ppp_graphics_3d_proxy.cc',
170           'proxy/ppp_graphics_3d_proxy.h',
171           'proxy/ppp_input_event_proxy.cc',
172           'proxy/ppp_input_event_proxy.h',
173           'proxy/ppp_instance_private_proxy.cc',
174           'proxy/ppp_instance_private_proxy.h',
175           'proxy/ppp_instance_proxy.cc',
176           'proxy/ppp_instance_proxy.h',
177           'proxy/ppp_messaging_proxy.cc',
178           'proxy/ppp_messaging_proxy.h',
179           'proxy/ppp_mouse_lock_proxy.cc',
180           'proxy/ppp_mouse_lock_proxy.h',
181           'proxy/ppp_pdf_proxy.cc',
182           'proxy/ppp_pdf_proxy.h',
183           'proxy/ppp_printing_proxy.cc',
184           'proxy/ppp_printing_proxy.h',
185           'proxy/ppp_text_input_proxy.cc',
186           'proxy/ppp_text_input_proxy.h',
187           'proxy/ppp_video_decoder_proxy.cc',
188           'proxy/ppp_video_decoder_proxy.h',
189           'proxy/printing_resource.cc',
190           'proxy/printing_resource.h',
191           'proxy/proxy_array_output.cc',
192           'proxy/proxy_array_output.h',
193           'proxy/proxy_channel.cc',
194           'proxy/proxy_channel.h',
195           'proxy/proxy_completion_callback_factory.h',
196           'proxy/proxy_module.cc',
197           'proxy/proxy_module.h',
198           'proxy/proxy_object_var.cc',
199           'proxy/proxy_object_var.h',
200           'proxy/resource_creation_proxy.cc',
201           'proxy/resource_creation_proxy.h',
202           'proxy/resource_message_filter.h',
203           'proxy/resource_reply_thread_registrar.cc',
204           'proxy/resource_reply_thread_registrar.h',
205           'proxy/tcp_server_socket_private_resource.cc',
206           'proxy/tcp_server_socket_private_resource.h',
207           'proxy/tcp_socket_private_resource.cc',
208           'proxy/tcp_socket_private_resource.h',
209           'proxy/tcp_socket_resource.cc',
210           'proxy/tcp_socket_resource.h',
211           'proxy/tcp_socket_resource_base.cc',
212           'proxy/tcp_socket_resource_base.h',
213           'proxy/truetype_font_resource.cc',
214           'proxy/truetype_font_resource.h',
215           'proxy/truetype_font_singleton_resource.cc',
216           'proxy/truetype_font_singleton_resource.h',
217           'proxy/udp_socket_filter.cc',
218           'proxy/udp_socket_filter.h',
219           'proxy/udp_socket_private_resource.cc',
220           'proxy/udp_socket_private_resource.h',
221           'proxy/udp_socket_resource.cc',
222           'proxy/udp_socket_resource.h',
223           'proxy/udp_socket_resource_base.cc',
224           'proxy/udp_socket_resource_base.h',
225           'proxy/uma_private_resource.cc',
226           'proxy/uma_private_resource.h',
227           'proxy/url_loader_resource.cc',
228           'proxy/url_loader_resource.h',
229           'proxy/url_request_info_resource.cc',
230           'proxy/url_request_info_resource.h',
231           'proxy/url_response_info_resource.cc',
232           'proxy/url_response_info_resource.h',
233           'proxy/var_serialization_rules.h',
234           'proxy/video_capture_resource.cc',
235           'proxy/video_capture_resource.h',
236           'proxy/video_decoder_resource.cc',
237           'proxy/video_decoder_resource.h',
238           'proxy/video_destination_resource.cc',
239           'proxy/video_destination_resource.h',
240           'proxy/video_encoder_resource.cc',
241           'proxy/video_encoder_resource.h',
242           'proxy/video_frame_resource.cc',
243           'proxy/video_frame_resource.h',
244           'proxy/video_source_resource.cc',
245           'proxy/video_source_resource.h',
246           'proxy/websocket_resource.cc',
247           'proxy/websocket_resource.h',
248         ],
249         'defines': [
250           'PPAPI_PROXY_IMPLEMENTATION',
251         ],
252         'include_dirs': [
253           '..',
254         ],
255         'target_conditions': [
256           ['>(nacl_untrusted_build)==1', {
257             'sources': [
258               'nacl_irt/irt_interfaces.cc',
259               'nacl_irt/irt_interfaces.h',
260               'nacl_irt/irt_pnacl_translator_compile.cc',
261               'nacl_irt/irt_pnacl_translator_link.cc',
262               'nacl_irt/irt_ppapi.cc',
263               'nacl_irt/irt_ppapi.h',
264               'nacl_irt/irt_start.cc',
265               'nacl_irt/manifest_service.cc',
266               'nacl_irt/manifest_service.h',
267               'nacl_irt/plugin_main.cc',
268               'nacl_irt/plugin_main.h',
269               'nacl_irt/plugin_startup.cc',
270               'nacl_irt/plugin_startup.h',
271               'nacl_irt/ppapi_dispatcher.cc',
272               'nacl_irt/ppapi_dispatcher.h',
273             ],
274             'sources!': [
275               'proxy/audio_input_resource.cc',
276               'proxy/broker_dispatcher.cc',
277               'proxy/browser_font_singleton_resource.cc',
278               'proxy/device_enumeration_resource_helper.cc',
279               'proxy/flash_clipboard_resource.cc',
280               'proxy/flash_drm_resource.cc',
281               'proxy/flash_file_resource.cc',
282               'proxy/flash_font_file_resource.cc',
283               'proxy/flash_fullscreen_resource.cc',
284               'proxy/flash_menu_resource.cc',
285               'proxy/flash_resource.cc',
286               'proxy/host_dispatcher.cc',
287               'proxy/host_var_serialization_rules.cc',
288               'proxy/pdf_resource.cc',
289               'proxy/platform_verification_private_resource.cc',
290               'proxy/platform_verification_private_resource.h',
291               'proxy/ppb_broker_proxy.cc',
292               'proxy/ppb_buffer_proxy.cc',
293               'proxy/ppb_flash_message_loop_proxy.cc',
294               'proxy/ppb_flash_proxy.cc',
295               'proxy/ppb_pdf_proxy.cc',
296               'proxy/ppb_var_deprecated_proxy.cc',
297               'proxy/ppb_video_capture_proxy.cc',
298               'proxy/ppb_video_decoder_proxy.cc',
299               'proxy/ppp_content_decryptor_private_proxy.cc',
300               'proxy/ppp_instance_private_proxy.cc',
301               'proxy/ppp_video_decoder_proxy.cc',
302               'proxy/serialized_flash_menu.cc',
303               'proxy/video_capture_resource.cc',
304             ],
305           }],
306         ],
307       }],
308     ],
309   },