[android_webview] Fix AndroidViewIntegrationTest on N7 JB.
[chromium-blink-merge.git] / ppapi / ppapi_proxy.gypi
blobc078ef19ec0e2d7c27f5442a2d3a0d4ff4cbde5b
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_input_resource.cc',
23           'proxy/audio_input_resource.h',
24           'proxy/broker_dispatcher.cc',
25           'proxy/broker_dispatcher.h',
26           'proxy/broker_resource.cc',
27           'proxy/broker_resource.h',
28           'proxy/browser_font_singleton_resource.cc',
29           'proxy/browser_font_singleton_resource.h',
30           'proxy/connection.h',
31           'proxy/device_enumeration_resource_helper.cc',
32           'proxy/device_enumeration_resource_helper.h',
33           'proxy/dispatcher.cc',
34           'proxy/dispatcher.h',
35           'proxy/enter_proxy.h',
36           'proxy/error_conversion.cc',
37           'proxy/error_conversion.h',
38           'proxy/ext_crx_file_system_private_resource.cc',
39           'proxy/ext_crx_file_system_private_resource.h',
40           'proxy/extensions_common_resource.cc',
41           'proxy/extensions_common_resource.h',
42           'proxy/file_chooser_resource.cc',
43           'proxy/file_chooser_resource.h',
44           'proxy/file_ref_resource.cc',
45           'proxy/file_ref_resource.h',
46           'proxy/flash_clipboard_resource.cc',
47           'proxy/flash_clipboard_resource.h',
48           'proxy/flash_drm_resource.cc',
49           'proxy/flash_drm_resource.h',
50           'proxy/flash_file_resource.cc',
51           'proxy/flash_file_resource.h',
52           'proxy/flash_font_file_resource.cc',
53           'proxy/flash_font_file_resource.h',
54           'proxy/flash_fullscreen_resource.cc',
55           'proxy/flash_fullscreen_resource.h',
56           'proxy/flash_menu_resource.cc',
57           'proxy/flash_menu_resource.h',
58           'proxy/flash_resource.cc',
59           'proxy/flash_resource.h',
60           'proxy/file_io_resource.cc',
61           'proxy/file_io_resource.h',
62           'proxy/file_system_resource.cc',
63           'proxy/file_system_resource.h',
64           'proxy/gamepad_resource.cc',
65           'proxy/gamepad_resource.h',
66           'proxy/graphics_2d_resource.cc',
67           'proxy/graphics_2d_resource.h',
68           'proxy/host_dispatcher.cc',
69           'proxy/host_dispatcher.h',
70           'proxy/host_resolver_private_resource.cc',
71           'proxy/host_resolver_private_resource.h',
72           'proxy/host_resolver_resource.cc',
73           'proxy/host_resolver_resource.h',
74           'proxy/host_resolver_resource_base.cc',
75           'proxy/host_resolver_resource_base.h',
76           'proxy/host_var_serialization_rules.cc',
77           'proxy/host_var_serialization_rules.h',
78           'proxy/interface_list.cc',
79           'proxy/interface_list.h',
80           'proxy/interface_proxy.cc',
81           'proxy/interface_proxy.h',
82           'proxy/locking_resource_releaser.h',
83           'proxy/net_address_resource.cc',
84           'proxy/net_address_resource.h',
85           'proxy/network_list_resource.cc',
86           'proxy/network_list_resource.h',
87           'proxy/network_monitor_resource.cc',
88           'proxy/network_monitor_resource.h',
89           'proxy/network_proxy_resource.cc',
90           'proxy/network_proxy_resource.h',
91           'proxy/output_protection_resource.cc',
92           'proxy/output_protection_resource.h',
93           'proxy/pdf_resource.cc',
94           'proxy/pdf_resource.h',
95           'proxy/platform_verification_private_resource.cc',
96           'proxy/platform_verification_private_resource.h',
97           'proxy/plugin_array_buffer_var.cc',
98           'proxy/plugin_array_buffer_var.h',
99           'proxy/plugin_dispatcher.cc',
100           'proxy/plugin_dispatcher.h',
101           'proxy/plugin_globals.cc',
102           'proxy/plugin_globals.h',
103           'proxy/plugin_main_nacl.cc',
104           'proxy/plugin_message_filter.cc',
105           'proxy/plugin_message_filter.h',
106           'proxy/plugin_resource.cc',
107           'proxy/plugin_resource.h',
108           'proxy/plugin_resource_tracker.cc',
109           'proxy/plugin_resource_tracker.h',
110           'proxy/plugin_resource_var.cc',
111           'proxy/plugin_resource_var.h',
112           'proxy/plugin_var_serialization_rules.cc',
113           'proxy/plugin_var_serialization_rules.h',
114           'proxy/plugin_var_tracker.cc',
115           'proxy/plugin_var_tracker.h',
116           'proxy/ppapi_command_buffer_proxy.cc',
117           'proxy/ppapi_command_buffer_proxy.h',
118           'proxy/ppapi_messages.h',
119           'proxy/ppapi_message_utils.h',
120           'proxy/ppb_audio_proxy.cc',
121           'proxy/ppb_audio_proxy.h',
122           'proxy/ppb_broker_proxy.cc',
123           'proxy/ppb_broker_proxy.h',
124           'proxy/ppb_buffer_proxy.cc',
125           'proxy/ppb_buffer_proxy.h',
126           'proxy/ppb_core_proxy.cc',
127           'proxy/ppb_core_proxy.h',
128           'proxy/ppb_flash_message_loop_proxy.cc',
129           'proxy/ppb_flash_message_loop_proxy.h',
130           'proxy/ppb_graphics_3d_proxy.cc',
131           'proxy/ppb_graphics_3d_proxy.h',
132           'proxy/ppb_image_data_proxy.cc',
133           'proxy/ppb_image_data_proxy.h',
134           'proxy/ppb_instance_proxy.cc',
135           'proxy/ppb_instance_proxy.h',
136           'proxy/ppb_message_loop_proxy.cc',
137           'proxy/ppb_message_loop_proxy.h',
138           'proxy/ppb_testing_proxy.cc',
139           'proxy/ppb_testing_proxy.h',
140           'proxy/ppb_var_deprecated_proxy.cc',
141           'proxy/ppb_var_deprecated_proxy.h',
142           'proxy/ppb_video_decoder_proxy.cc',
143           'proxy/ppb_video_decoder_proxy.h',
144           'proxy/ppb_x509_certificate_private_proxy.cc',
145           'proxy/ppb_x509_certificate_private_proxy.h',
146           'proxy/ppp_class_proxy.cc',
147           'proxy/ppp_class_proxy.h',
148           'proxy/ppp_content_decryptor_private_proxy.cc',
149           'proxy/ppp_content_decryptor_private_proxy.h',
150           'proxy/ppp_graphics_3d_proxy.cc',
151           'proxy/ppp_graphics_3d_proxy.h',
152           'proxy/ppp_input_event_proxy.cc',
153           'proxy/ppp_input_event_proxy.h',
154           'proxy/ppp_instance_private_proxy.cc',
155           'proxy/ppp_instance_private_proxy.h',
156           'proxy/ppp_instance_proxy.cc',
157           'proxy/ppp_instance_proxy.h',
158           'proxy/ppp_messaging_proxy.cc',
159           'proxy/ppp_messaging_proxy.h',
160           'proxy/ppp_mouse_lock_proxy.cc',
161           'proxy/ppp_mouse_lock_proxy.h',
162           'proxy/ppp_printing_proxy.cc',
163           'proxy/ppp_printing_proxy.h',
164           'proxy/ppp_text_input_proxy.cc',
165           'proxy/ppp_text_input_proxy.h',
166           'proxy/ppp_video_decoder_proxy.cc',
167           'proxy/ppp_video_decoder_proxy.h',
168           'proxy/printing_resource.cc',
169           'proxy/printing_resource.h',
170           'proxy/proxy_array_output.cc',
171           'proxy/proxy_array_output.h',
172           'proxy/proxy_channel.cc',
173           'proxy/proxy_channel.h',
174           'proxy/proxy_completion_callback_factory.h',
175           'proxy/proxy_module.cc',
176           'proxy/proxy_module.h',
177           'proxy/proxy_object_var.cc',
178           'proxy/proxy_object_var.h',
179           'proxy/resource_creation_proxy.cc',
180           'proxy/resource_creation_proxy.h',
181           'proxy/talk_resource.cc',
182           'proxy/talk_resource.h',
183           'proxy/tcp_server_socket_private_resource.cc',
184           'proxy/tcp_server_socket_private_resource.h',
185           'proxy/tcp_socket_private_resource.cc',
186           'proxy/tcp_socket_private_resource.h',
187           'proxy/tcp_socket_resource.cc',
188           'proxy/tcp_socket_resource.h',
189           'proxy/tcp_socket_resource_base.cc',
190           'proxy/tcp_socket_resource_base.h',
191           'proxy/truetype_font_resource.cc',
192           'proxy/truetype_font_resource.h',
193           'proxy/truetype_font_singleton_resource.cc',
194           'proxy/truetype_font_singleton_resource.h',
195           'proxy/udp_socket_private_resource.cc',
196           'proxy/udp_socket_private_resource.h',
197           'proxy/udp_socket_resource.cc',
198           'proxy/udp_socket_resource.h',
199           'proxy/udp_socket_resource_base.cc',
200           'proxy/udp_socket_resource_base.h',
201           'proxy/url_loader_resource.cc',
202           'proxy/url_loader_resource.h',
203           'proxy/url_request_info_resource.cc',
204           'proxy/url_request_info_resource.h',
205           'proxy/url_response_info_resource.cc',
206           'proxy/url_response_info_resource.h',
207           'proxy/var_serialization_rules.h',
208           'proxy/video_capture_resource.cc',
209           'proxy/video_capture_resource.h',
210           'proxy/video_destination_resource.cc',
211           'proxy/video_destination_resource.h',
212           'proxy/video_source_resource.cc',
213           'proxy/video_source_resource.h',
214           'proxy/websocket_resource.cc',
215           'proxy/websocket_resource.h',
216         ],
217         'defines': [
218           'PPAPI_PROXY_IMPLEMENTATION',
219         ],
220         'include_dirs': [
221           '..',
222         ],
223         'target_conditions': [
224           ['>(nacl_untrusted_build)==1', {
225             'sources!': [
226               'proxy/audio_input_resource.cc',
227               'proxy/broker_dispatcher.cc',
228               'proxy/browser_font_singleton_resource.cc',
229               'proxy/device_enumeration_resource_helper.cc',
230               'proxy/flash_clipboard_resource.cc',
231               'proxy/flash_drm_resource.cc',
232               'proxy/flash_file_resource.cc',
233               'proxy/flash_font_file_resource.cc',
234               'proxy/flash_fullscreen_resource.cc',
235               'proxy/flash_menu_resource.cc',
236               'proxy/flash_resource.cc',
237               'proxy/host_dispatcher.cc',
238               'proxy/host_var_serialization_rules.cc',
239               'proxy/pdf_resource.cc',
240               'proxy/platform_verification_private_resource.cc',
241               'proxy/platform_verification_private_resource.h',
242               'proxy/ppb_broker_proxy.cc',
243               'proxy/ppb_buffer_proxy.cc',
244               'proxy/ppb_flash_message_loop_proxy.cc',
245               'proxy/ppb_flash_proxy.cc',
246               'proxy/ppb_pdf_proxy.cc',
247               'proxy/ppb_talk_private_proxy.cc',
248               'proxy/ppb_video_capture_proxy.cc',
249               'proxy/ppb_video_decoder_proxy.cc',
250               'proxy/ppp_content_decryptor_private_proxy.cc',
251               'proxy/ppp_instance_private_proxy.cc',
252               'proxy/ppp_video_decoder_proxy.cc',
253               'proxy/serialized_flash_menu.cc',
254               'proxy/talk_resource.cc',
255               'proxy/video_capture_resource.cc',
256             ],
257           }],
258         ],
259       }],
260     ],
261   },