summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi_proxy.gypi
blob: f220436bf44e934547da1a29825ae97ccd1066b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'target_defaults': {
    'variables': {
      'ppapi_proxy_target': 0,
    },
    'target_conditions': [
      # This part is shared between the targets defined below.
      ['ppapi_proxy_target==1', {
        'sources': [
          # Take some standalone files from the C++ wrapper allowing us to more
          # easily make async callbacks in the proxy. We can't depend on the
          # full C++ wrappers at this layer since the C++ wrappers expect
          # symbols defining the globals for "being a plugin" which we are not.
          # These callback files are standalone.
          'cpp/completion_callback.h',
          'utility/completion_callback_factory.h',

          'proxy/audio_buffer_resource.cc',
          'proxy/audio_buffer_resource.h',
          'proxy/audio_encoder_resource.cc',
          'proxy/audio_encoder_resource.h',
          'proxy/audio_input_resource.cc',
          'proxy/audio_input_resource.h',
          'proxy/broker_dispatcher.cc',
          'proxy/broker_dispatcher.h',
          'proxy/broker_resource.cc',
          'proxy/broker_resource.h',
          'proxy/browser_font_singleton_resource.cc',
          'proxy/browser_font_singleton_resource.h',
          'proxy/camera_capabilities_resource.cc',
          'proxy/camera_capabilities_resource.h',
          'proxy/camera_device_resource.cc',
          'proxy/camera_device_resource.h',
          'proxy/compositor_layer_resource.cc',
          'proxy/compositor_layer_resource.h',
          'proxy/compositor_resource.cc',
          'proxy/compositor_resource.h',
          'proxy/connection.h',
          'proxy/device_enumeration_resource_helper.cc',
          'proxy/device_enumeration_resource_helper.h',
          'proxy/dispatcher.cc',
          'proxy/dispatcher.h',
          'proxy/enter_proxy.h',
          'proxy/error_conversion.cc',
          'proxy/error_conversion.h',
          'proxy/file_chooser_resource.cc',
          'proxy/file_chooser_resource.h',
          'proxy/file_io_resource.cc',
          'proxy/file_io_resource.h',
          'proxy/file_ref_resource.cc',
          'proxy/file_ref_resource.h',
          'proxy/file_system_resource.cc',
          'proxy/file_system_resource.h',
          'proxy/flash_clipboard_resource.cc',
          'proxy/flash_clipboard_resource.h',
          'proxy/flash_drm_resource.cc',
          'proxy/flash_drm_resource.h',
          'proxy/flash_file_resource.cc',
          'proxy/flash_file_resource.h',
          'proxy/flash_font_file_resource.cc',
          'proxy/flash_font_file_resource.h',
          'proxy/flash_fullscreen_resource.cc',
          'proxy/flash_fullscreen_resource.h',
          'proxy/flash_menu_resource.cc',
          'proxy/flash_menu_resource.h',
          'proxy/flash_resource.cc',
          'proxy/flash_resource.h',
          'proxy/gamepad_resource.cc',
          'proxy/gamepad_resource.h',
          'proxy/graphics_2d_resource.cc',
          'proxy/graphics_2d_resource.h',
          'proxy/host_dispatcher.cc',
          'proxy/host_dispatcher.h',
          'proxy/host_resolver_private_resource.cc',
          'proxy/host_resolver_private_resource.h',
          'proxy/host_resolver_resource.cc',
          'proxy/host_resolver_resource.h',
          'proxy/host_resolver_resource_base.cc',
          'proxy/host_resolver_resource_base.h',
          'proxy/host_var_serialization_rules.cc',
          'proxy/host_var_serialization_rules.h',
          'proxy/interface_list.cc',
          'proxy/interface_list.h',
          'proxy/interface_proxy.cc',
          'proxy/interface_proxy.h',
          'proxy/isolated_file_system_private_resource.cc',
          'proxy/isolated_file_system_private_resource.h',
          'proxy/locking_resource_releaser.h',
          'proxy/media_stream_audio_track_resource.cc',
          'proxy/media_stream_audio_track_resource.h',
          'proxy/media_stream_track_resource_base.cc',
          'proxy/media_stream_track_resource_base.h',
          'proxy/media_stream_video_track_resource.cc',
          'proxy/media_stream_video_track_resource.h',
          'proxy/message_handler.cc',
          'proxy/message_handler.h',
          'proxy/net_address_resource.cc',
          'proxy/net_address_resource.h',
          'proxy/network_list_resource.cc',
          'proxy/network_list_resource.h',
          'proxy/network_monitor_resource.cc',
          'proxy/network_monitor_resource.h',
          'proxy/network_proxy_resource.cc',
          'proxy/network_proxy_resource.h',
          'proxy/output_protection_resource.cc',
          'proxy/output_protection_resource.h',
          'proxy/pdf_resource.cc',
          'proxy/pdf_resource.h',
          'proxy/platform_verification_private_resource.cc',
          'proxy/platform_verification_private_resource.h',
          'proxy/plugin_array_buffer_var.cc',
          'proxy/plugin_array_buffer_var.h',
          'proxy/plugin_dispatcher.cc',
          'proxy/plugin_dispatcher.h',
          'proxy/plugin_globals.cc',
          'proxy/plugin_globals.h',
          'proxy/plugin_message_filter.cc',
          'proxy/plugin_message_filter.h',
          'proxy/plugin_resource.cc',
          'proxy/plugin_resource.h',
          'proxy/plugin_resource_tracker.cc',
          'proxy/plugin_resource_tracker.h',
          'proxy/plugin_resource_var.cc',
          'proxy/plugin_resource_var.h',
          'proxy/plugin_var_serialization_rules.cc',
          'proxy/plugin_var_serialization_rules.h',
          'proxy/plugin_var_tracker.cc',
          'proxy/plugin_var_tracker.h',
          'proxy/ppapi_command_buffer_proxy.cc',
          'proxy/ppapi_command_buffer_proxy.h',
          'proxy/ppapi_message_utils.h',
          'proxy/ppapi_messages.h',
          'proxy/ppb_audio_proxy.cc',
          'proxy/ppb_audio_proxy.h',
          'proxy/ppb_broker_proxy.cc',
          'proxy/ppb_broker_proxy.h',
          'proxy/ppb_buffer_proxy.cc',
          'proxy/ppb_buffer_proxy.h',
          'proxy/ppb_core_proxy.cc',
          'proxy/ppb_core_proxy.h',
          'proxy/ppb_flash_message_loop_proxy.cc',
          'proxy/ppb_flash_message_loop_proxy.h',
          'proxy/ppb_graphics_3d_proxy.cc',
          'proxy/ppb_graphics_3d_proxy.h',
          'proxy/ppb_image_data_proxy.cc',
          'proxy/ppb_image_data_proxy.h',
          'proxy/ppb_instance_proxy.cc',
          'proxy/ppb_instance_proxy.h',
          'proxy/ppb_message_loop_proxy.cc',
          'proxy/ppb_message_loop_proxy.h',
          'proxy/ppb_testing_proxy.cc',
          'proxy/ppb_testing_proxy.h',
          'proxy/ppb_var_deprecated_proxy.cc',
          'proxy/ppb_var_deprecated_proxy.h',
          'proxy/ppb_video_decoder_proxy.cc',
          'proxy/ppb_video_decoder_proxy.h',
          'proxy/ppb_x509_certificate_private_proxy.cc',
          'proxy/ppb_x509_certificate_private_proxy.h',
          'proxy/ppp_class_proxy.cc',
          'proxy/ppp_class_proxy.h',
          'proxy/ppp_content_decryptor_private_proxy.cc',
          'proxy/ppp_content_decryptor_private_proxy.h',
          'proxy/ppp_find_proxy.cc',
          'proxy/ppp_find_proxy.h',
          'proxy/ppp_graphics_3d_proxy.cc',
          'proxy/ppp_graphics_3d_proxy.h',
          'proxy/ppp_input_event_proxy.cc',
          'proxy/ppp_input_event_proxy.h',
          'proxy/ppp_instance_private_proxy.cc',
          'proxy/ppp_instance_private_proxy.h',
          'proxy/ppp_instance_proxy.cc',
          'proxy/ppp_instance_proxy.h',
          'proxy/ppp_messaging_proxy.cc',
          'proxy/ppp_messaging_proxy.h',
          'proxy/ppp_mouse_lock_proxy.cc',
          'proxy/ppp_mouse_lock_proxy.h',
          'proxy/ppp_pdf_proxy.cc',
          'proxy/ppp_pdf_proxy.h',
          'proxy/ppp_printing_proxy.cc',
          'proxy/ppp_printing_proxy.h',
          'proxy/ppp_text_input_proxy.cc',
          'proxy/ppp_text_input_proxy.h',
          'proxy/ppp_video_decoder_proxy.cc',
          'proxy/ppp_video_decoder_proxy.h',
          'proxy/printing_resource.cc',
          'proxy/printing_resource.h',
          'proxy/proxy_array_output.cc',
          'proxy/proxy_array_output.h',
          'proxy/proxy_channel.cc',
          'proxy/proxy_channel.h',
          'proxy/proxy_completion_callback_factory.h',
          'proxy/proxy_module.cc',
          'proxy/proxy_module.h',
          'proxy/proxy_object_var.cc',
          'proxy/proxy_object_var.h',
          'proxy/resource_creation_proxy.cc',
          'proxy/resource_creation_proxy.h',
          'proxy/resource_message_filter.h',
          'proxy/resource_reply_thread_registrar.cc',
          'proxy/resource_reply_thread_registrar.h',
          'proxy/tcp_server_socket_private_resource.cc',
          'proxy/tcp_server_socket_private_resource.h',
          'proxy/tcp_socket_private_resource.cc',
          'proxy/tcp_socket_private_resource.h',
          'proxy/tcp_socket_resource.cc',
          'proxy/tcp_socket_resource.h',
          'proxy/tcp_socket_resource_base.cc',
          'proxy/tcp_socket_resource_base.h',
          'proxy/truetype_font_resource.cc',
          'proxy/truetype_font_resource.h',
          'proxy/truetype_font_singleton_resource.cc',
          'proxy/truetype_font_singleton_resource.h',
          'proxy/udp_socket_filter.cc',
          'proxy/udp_socket_filter.h',
          'proxy/udp_socket_private_resource.cc',
          'proxy/udp_socket_private_resource.h',
          'proxy/udp_socket_resource.cc',
          'proxy/udp_socket_resource.h',
          'proxy/udp_socket_resource_base.cc',
          'proxy/udp_socket_resource_base.h',
          'proxy/uma_private_resource.cc',
          'proxy/uma_private_resource.h',
          'proxy/url_loader_resource.cc',
          'proxy/url_loader_resource.h',
          'proxy/url_request_info_resource.cc',
          'proxy/url_request_info_resource.h',
          'proxy/url_response_info_resource.cc',
          'proxy/url_response_info_resource.h',
          'proxy/var_serialization_rules.h',
          'proxy/video_capture_resource.cc',
          'proxy/video_capture_resource.h',
          'proxy/video_decoder_resource.cc',
          'proxy/video_decoder_resource.h',
          'proxy/video_destination_resource.cc',
          'proxy/video_destination_resource.h',
          'proxy/video_encoder_resource.cc',
          'proxy/video_encoder_resource.h',
          'proxy/video_frame_resource.cc',
          'proxy/video_frame_resource.h',
          'proxy/video_source_resource.cc',
          'proxy/video_source_resource.h',
          'proxy/websocket_resource.cc',
          'proxy/websocket_resource.h',
        ],
        'defines': [
          'PPAPI_PROXY_IMPLEMENTATION',
        ],
        'include_dirs': [
          '..',
        ],
        'target_conditions': [
          ['>(nacl_untrusted_build)==1', {
            'sources': [
              'nacl_irt/irt_interfaces.cc',
              'nacl_irt/irt_interfaces.h',
              'nacl_irt/irt_pnacl_translator_compile.cc',
              'nacl_irt/irt_pnacl_translator_link.cc',
              'nacl_irt/irt_ppapi.cc',
              'nacl_irt/irt_ppapi.h',
              'nacl_irt/irt_start.cc',
              'nacl_irt/manifest_service.cc',
              'nacl_irt/manifest_service.h',
              'nacl_irt/plugin_main.cc',
              'nacl_irt/plugin_main.h',
              'nacl_irt/plugin_startup.cc',
              'nacl_irt/plugin_startup.h',
              'nacl_irt/ppapi_dispatcher.cc',
              'nacl_irt/ppapi_dispatcher.h',
            ],
            'sources!': [
              'proxy/audio_input_resource.cc',
              'proxy/broker_dispatcher.cc',
              'proxy/browser_font_singleton_resource.cc',
              'proxy/device_enumeration_resource_helper.cc',
              'proxy/flash_clipboard_resource.cc',
              'proxy/flash_drm_resource.cc',
              'proxy/flash_file_resource.cc',
              'proxy/flash_font_file_resource.cc',
              'proxy/flash_fullscreen_resource.cc',
              'proxy/flash_menu_resource.cc',
              'proxy/flash_resource.cc',
              'proxy/host_dispatcher.cc',
              'proxy/host_var_serialization_rules.cc',
              'proxy/pdf_resource.cc',
              'proxy/platform_verification_private_resource.cc',
              'proxy/platform_verification_private_resource.h',
              'proxy/ppb_broker_proxy.cc',
              'proxy/ppb_buffer_proxy.cc',
              'proxy/ppb_flash_message_loop_proxy.cc',
              'proxy/ppb_flash_proxy.cc',
              'proxy/ppb_pdf_proxy.cc',
              'proxy/ppb_var_deprecated_proxy.cc',
              'proxy/ppb_video_capture_proxy.cc',
              'proxy/ppb_video_decoder_proxy.cc',
              'proxy/ppp_content_decryptor_private_proxy.cc',
              'proxy/ppp_instance_private_proxy.cc',
              'proxy/ppp_video_decoder_proxy.cc',
              'proxy/serialized_flash_menu.cc',
              'proxy/video_capture_resource.cc',
            ],
          }],
        ],
      }],
    ],
  },
}