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.
8 'ppapi_proxy_target': 0,
10 'target_conditions': [
11 # This part is shared between the targets defined below.
12 ['ppapi_proxy_target==1', {
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/broker_dispatcher.cc',
23 'proxy/broker_dispatcher.h',
25 'proxy/dispatcher.cc',
27 'proxy/enter_proxy.h',
28 'proxy/file_chooser_resource.cc',
29 'proxy/file_chooser_resource.h',
30 'proxy/host_dispatcher.cc',
31 'proxy/host_dispatcher.h',
32 'proxy/host_var_serialization_rules.cc',
33 'proxy/host_var_serialization_rules.h',
34 'proxy/interface_list.cc',
35 'proxy/interface_list.h',
36 'proxy/interface_proxy.cc',
37 'proxy/interface_proxy.h',
38 'proxy/pepper_file_messages.cc',
39 'proxy/pepper_file_messages.h',
40 'proxy/plugin_array_buffer_var.cc',
41 'proxy/plugin_array_buffer_var.h',
42 'proxy/plugin_dispatcher.cc',
43 'proxy/plugin_dispatcher.h',
44 'proxy/plugin_globals.cc',
45 'proxy/plugin_globals.h',
46 'proxy/plugin_main_nacl.cc',
47 'proxy/plugin_message_filter.cc',
48 'proxy/plugin_message_filter.h',
49 'proxy/plugin_resource.cc',
50 'proxy/plugin_resource.h',
51 'proxy/plugin_resource_tracker.cc',
52 'proxy/plugin_resource_tracker.h',
53 'proxy/plugin_var_serialization_rules.cc',
54 'proxy/plugin_var_serialization_rules.h',
55 'proxy/plugin_var_tracker.cc',
56 'proxy/plugin_var_tracker.h',
57 'proxy/ppapi_messages.cc',
58 'proxy/ppapi_messages.h',
59 'proxy/ppapi_command_buffer_proxy.h',
60 'proxy/ppapi_command_buffer_proxy.cc',
61 'proxy/ppapi_param_traits.cc',
62 'proxy/ppapi_param_traits.h',
63 'proxy/ppb_audio_input_proxy.cc',
64 'proxy/ppb_audio_input_proxy.h',
65 'proxy/ppb_audio_proxy.cc',
66 'proxy/ppb_audio_proxy.h',
67 'proxy/ppb_broker_proxy.cc',
68 'proxy/ppb_broker_proxy.h',
69 'proxy/ppb_buffer_proxy.cc',
70 'proxy/ppb_buffer_proxy.h',
71 'proxy/ppb_core_proxy.cc',
72 'proxy/ppb_core_proxy.h',
73 'proxy/ppb_file_io_proxy.cc',
74 'proxy/ppb_file_io_proxy.h',
75 'proxy/ppb_file_ref_proxy.cc',
76 'proxy/ppb_file_ref_proxy.h',
77 'proxy/ppb_file_system_proxy.cc',
78 'proxy/ppb_file_system_proxy.h',
79 'proxy/ppb_flash_device_id_proxy.cc',
80 'proxy/ppb_flash_device_id_proxy.h',
81 'proxy/ppb_flash_proxy.cc',
82 'proxy/ppb_flash_proxy.h',
83 'proxy/ppb_flash_menu_proxy.cc',
84 'proxy/ppb_flash_menu_proxy.h',
85 'proxy/ppb_flash_message_loop_proxy.cc',
86 'proxy/ppb_flash_message_loop_proxy.h',
87 'proxy/ppb_graphics_2d_proxy.cc',
88 'proxy/ppb_graphics_2d_proxy.h',
89 'proxy/ppb_graphics_3d_proxy.cc',
90 'proxy/ppb_graphics_3d_proxy.h',
91 'proxy/ppb_host_resolver_private_proxy.cc',
92 'proxy/ppb_host_resolver_private_proxy.h',
93 'proxy/ppb_image_data_proxy.cc',
94 'proxy/ppb_image_data_proxy.h',
95 'proxy/ppb_instance_proxy.cc',
96 'proxy/ppb_instance_proxy.h',
97 'proxy/ppb_message_loop_proxy.cc',
98 'proxy/ppb_message_loop_proxy.h',
99 'proxy/ppb_network_monitor_private_proxy.cc',
100 'proxy/ppb_network_monitor_private_proxy.h',
101 'proxy/ppb_pdf_proxy.cc',
102 'proxy/ppb_pdf_proxy.h',
103 'proxy/ppb_talk_private_proxy.cc',
104 'proxy/ppb_talk_private_proxy.h',
105 'proxy/ppb_tcp_server_socket_private_proxy.cc',
106 'proxy/ppb_tcp_server_socket_private_proxy.h',
107 'proxy/ppb_tcp_socket_private_proxy.cc',
108 'proxy/ppb_tcp_socket_private_proxy.h',
109 'proxy/ppb_testing_proxy.cc',
110 'proxy/ppb_testing_proxy.h',
111 'proxy/ppb_udp_socket_private_proxy.cc',
112 'proxy/ppb_udp_socket_private_proxy.h',
113 'proxy/ppb_url_loader_proxy.cc',
114 'proxy/ppb_url_loader_proxy.h',
115 'proxy/ppb_url_response_info_proxy.cc',
116 'proxy/ppb_url_response_info_proxy.h',
117 'proxy/ppb_var_deprecated_proxy.cc',
118 'proxy/ppb_var_deprecated_proxy.h',
119 'proxy/ppb_video_capture_proxy.cc',
120 'proxy/ppb_video_capture_proxy.h',
121 'proxy/ppb_video_decoder_proxy.cc',
122 'proxy/ppb_video_decoder_proxy.h',
123 'proxy/ppb_x509_certificate_private_proxy.cc',
124 'proxy/ppb_x509_certificate_private_proxy.h',
125 'proxy/ppp_class_proxy.cc',
126 'proxy/ppp_class_proxy.h',
127 'proxy/ppp_content_decryptor_private_proxy.cc',
128 'proxy/ppp_content_decryptor_private_proxy.h',
129 'proxy/ppp_graphics_3d_proxy.cc',
130 'proxy/ppp_graphics_3d_proxy.h',
131 'proxy/ppp_input_event_proxy.cc',
132 'proxy/ppp_input_event_proxy.h',
133 'proxy/ppp_instance_private_proxy.cc',
134 'proxy/ppp_instance_private_proxy.h',
135 'proxy/ppp_instance_proxy.cc',
136 'proxy/ppp_instance_proxy.h',
137 'proxy/ppp_messaging_proxy.cc',
138 'proxy/ppp_messaging_proxy.h',
139 'proxy/ppp_mouse_lock_proxy.cc',
140 'proxy/ppp_mouse_lock_proxy.h',
141 'proxy/ppp_printing_proxy.cc',
142 'proxy/ppp_printing_proxy.h',
143 'proxy/ppp_text_input_proxy.cc',
144 'proxy/ppp_text_input_proxy.h',
145 'proxy/ppp_video_decoder_proxy.cc',
146 'proxy/ppp_video_decoder_proxy.h',
147 'proxy/proxy_array_output.cc',
148 'proxy/proxy_array_output.h',
149 'proxy/proxy_channel.cc',
150 'proxy/proxy_channel.h',
151 'proxy/proxy_completion_callback_factory.h',
152 'proxy/proxy_module.cc',
153 'proxy/proxy_module.h',
154 'proxy/proxy_object_var.cc',
155 'proxy/proxy_object_var.h',
156 'proxy/resource_creation_proxy.cc',
157 'proxy/resource_creation_proxy.h',
158 'proxy/resource_message_params.cc',
159 'proxy/resource_message_params.h',
160 'proxy/serialized_flash_menu.cc',
161 'proxy/serialized_flash_menu.h',
162 'proxy/serialized_structs.cc',
163 'proxy/serialized_structs.h',
164 'proxy/serialized_var.cc',
165 'proxy/serialized_var.h',
166 'proxy/var_serialization_rules.h',
169 'PPAPI_PROXY_IMPLEMENTATION',
174 'target_conditions': [
175 ['>(nacl_untrusted_build)==1', {
177 'proxy/broker_dispatcher.cc',
178 'proxy/ppb_audio_input_proxy.cc',
179 'proxy/ppb_broker_proxy.cc',
180 'proxy/ppb_buffer_proxy.cc',
181 'proxy/ppb_file_chooser_proxy.cc',
182 'proxy/ppb_flash_device_id_proxy.cc',
183 'proxy/ppb_flash_proxy.cc',
184 'proxy/ppb_flash_menu_proxy.cc',
185 'proxy/ppb_flash_message_loop_proxy.cc',
186 'proxy/ppb_host_resolver_private_proxy.cc',
187 'proxy/ppb_network_monitor_private_proxy.cc',
188 'proxy/ppb_pdf_proxy.cc',
189 'proxy/ppb_talk_private_proxy.cc',
190 'proxy/ppb_tcp_server_socket_private_proxy.cc',
191 'proxy/ppb_tcp_socket_private_proxy.cc',
192 'proxy/ppb_testing_proxy.cc',
193 'proxy/ppb_udp_socket_private_proxy.cc',
194 'proxy/ppb_video_capture_proxy.cc',
195 'proxy/ppb_video_decoder_proxy.cc',
196 'proxy/ppb_x509_certificate_private_proxy.cc',
197 'proxy/ppp_content_decryptor_private_proxy.cc',
198 'proxy/ppp_instance_private_proxy.cc',
199 'proxy/ppp_video_decoder_proxy.cc',
200 'proxy/serialized_flash_menu.cc',