OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'target_defaults': { |
7 { | 7 'variables': { |
8 'target_name': 'ppapi_proxy', | 8 'ppapi_proxy_target': 0, |
9 'type': '<(component)', | 9 }, |
10 'dependencies': [ | 10 'target_conditions': [ |
11 '../base/base.gyp:base', | 11 # This part is shared between the targets defined below. |
12 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 12 ['ppapi_proxy_target==1', { |
13 '../gpu/gpu.gyp:gles2_implementation', | 13 'sources': [ |
14 '../gpu/gpu.gyp:gpu_ipc', | 14 # Take some standalone files from the C++ wrapper allowing us to more |
15 '../ipc/ipc.gyp:ipc', | 15 # easily make async callbacks in the proxy. We can't depend on the |
16 '../skia/skia.gyp:skia', | 16 # full C++ wrappers at this layer since the C++ wrappers expect |
17 '../ui/surface/surface.gyp:surface', | 17 # symbols defining the globals for "being a plugin" which we are not. |
18 'ppapi.gyp:ppapi_c', | 18 # These callback files are standalone. |
19 'ppapi_shared', | 19 'cpp/completion_callback.h', |
20 ], | 20 'utility/completion_callback_factory.h', |
21 'all_dependent_settings': { | 21 |
| 22 'proxy/broker_dispatcher.cc', |
| 23 'proxy/broker_dispatcher.h', |
| 24 'proxy/dispatcher.cc', |
| 25 'proxy/dispatcher.h', |
| 26 'proxy/enter_proxy.h', |
| 27 'proxy/host_dispatcher.cc', |
| 28 'proxy/host_dispatcher.h', |
| 29 'proxy/host_var_serialization_rules.cc', |
| 30 'proxy/host_var_serialization_rules.h', |
| 31 'proxy/interface_list.cc', |
| 32 'proxy/interface_list.h', |
| 33 'proxy/interface_proxy.cc', |
| 34 'proxy/interface_proxy.h', |
| 35 'proxy/pepper_file_messages.cc', |
| 36 'proxy/pepper_file_messages.h', |
| 37 'proxy/plugin_array_buffer_var.cc', |
| 38 'proxy/plugin_array_buffer_var.h', |
| 39 'proxy/plugin_dispatcher.cc', |
| 40 'proxy/plugin_dispatcher.h', |
| 41 'proxy/plugin_globals.cc', |
| 42 'proxy/plugin_globals.h', |
| 43 'proxy/plugin_main_nacl.cc', |
| 44 'proxy/plugin_message_filter.cc', |
| 45 'proxy/plugin_message_filter.h', |
| 46 'proxy/plugin_resource_tracker.cc', |
| 47 'proxy/plugin_resource_tracker.h', |
| 48 'proxy/plugin_var_serialization_rules.cc', |
| 49 'proxy/plugin_var_serialization_rules.h', |
| 50 'proxy/plugin_var_tracker.cc', |
| 51 'proxy/plugin_var_tracker.h', |
| 52 'proxy/ppapi_messages.cc', |
| 53 'proxy/ppapi_messages.h', |
| 54 'proxy/ppapi_command_buffer_proxy.h', |
| 55 'proxy/ppapi_command_buffer_proxy.cc', |
| 56 'proxy/ppapi_param_traits.cc', |
| 57 'proxy/ppapi_param_traits.h', |
| 58 'proxy/ppb_audio_input_proxy.cc', |
| 59 'proxy/ppb_audio_input_proxy.h', |
| 60 'proxy/ppb_audio_proxy.cc', |
| 61 'proxy/ppb_audio_proxy.h', |
| 62 'proxy/ppb_broker_proxy.cc', |
| 63 'proxy/ppb_broker_proxy.h', |
| 64 'proxy/ppb_buffer_proxy.cc', |
| 65 'proxy/ppb_buffer_proxy.h', |
| 66 'proxy/ppb_core_proxy.cc', |
| 67 'proxy/ppb_core_proxy.h', |
| 68 'proxy/ppb_file_chooser_proxy.cc', |
| 69 'proxy/ppb_file_chooser_proxy.h', |
| 70 'proxy/ppb_file_io_proxy.cc', |
| 71 'proxy/ppb_file_io_proxy.h', |
| 72 'proxy/ppb_file_ref_proxy.cc', |
| 73 'proxy/ppb_file_ref_proxy.h', |
| 74 'proxy/ppb_file_system_proxy.cc', |
| 75 'proxy/ppb_file_system_proxy.h', |
| 76 'proxy/ppb_flash_device_id_proxy.cc', |
| 77 'proxy/ppb_flash_device_id_proxy.h', |
| 78 'proxy/ppb_flash_proxy.cc', |
| 79 'proxy/ppb_flash_proxy.h', |
| 80 'proxy/ppb_flash_menu_proxy.cc', |
| 81 'proxy/ppb_flash_menu_proxy.h', |
| 82 'proxy/ppb_flash_message_loop_proxy.cc', |
| 83 'proxy/ppb_flash_message_loop_proxy.h', |
| 84 'proxy/ppb_graphics_2d_proxy.cc', |
| 85 'proxy/ppb_graphics_2d_proxy.h', |
| 86 'proxy/ppb_graphics_3d_proxy.cc', |
| 87 'proxy/ppb_graphics_3d_proxy.h', |
| 88 'proxy/ppb_host_resolver_private_proxy.cc', |
| 89 'proxy/ppb_host_resolver_private_proxy.h', |
| 90 'proxy/ppb_image_data_proxy.cc', |
| 91 'proxy/ppb_image_data_proxy.h', |
| 92 'proxy/ppb_instance_proxy.cc', |
| 93 'proxy/ppb_instance_proxy.h', |
| 94 'proxy/ppb_message_loop_proxy.cc', |
| 95 'proxy/ppb_message_loop_proxy.h', |
| 96 'proxy/ppb_network_monitor_private_proxy.cc', |
| 97 'proxy/ppb_network_monitor_private_proxy.h', |
| 98 'proxy/ppb_pdf_proxy.cc', |
| 99 'proxy/ppb_pdf_proxy.h', |
| 100 'proxy/ppb_talk_private_proxy.cc', |
| 101 'proxy/ppb_talk_private_proxy.h', |
| 102 'proxy/ppb_tcp_server_socket_private_proxy.cc', |
| 103 'proxy/ppb_tcp_server_socket_private_proxy.h', |
| 104 'proxy/ppb_tcp_socket_private_proxy.cc', |
| 105 'proxy/ppb_tcp_socket_private_proxy.h', |
| 106 'proxy/ppb_testing_proxy.cc', |
| 107 'proxy/ppb_testing_proxy.h', |
| 108 'proxy/ppb_udp_socket_private_proxy.cc', |
| 109 'proxy/ppb_udp_socket_private_proxy.h', |
| 110 'proxy/ppb_url_loader_proxy.cc', |
| 111 'proxy/ppb_url_loader_proxy.h', |
| 112 'proxy/ppb_url_response_info_proxy.cc', |
| 113 'proxy/ppb_url_response_info_proxy.h', |
| 114 'proxy/ppb_var_deprecated_proxy.cc', |
| 115 'proxy/ppb_var_deprecated_proxy.h', |
| 116 'proxy/ppb_video_capture_proxy.cc', |
| 117 'proxy/ppb_video_capture_proxy.h', |
| 118 'proxy/ppb_video_decoder_proxy.cc', |
| 119 'proxy/ppb_video_decoder_proxy.h', |
| 120 'proxy/ppb_x509_certificate_private_proxy.cc', |
| 121 'proxy/ppb_x509_certificate_private_proxy.h', |
| 122 'proxy/ppp_class_proxy.cc', |
| 123 'proxy/ppp_class_proxy.h', |
| 124 'proxy/ppp_graphics_3d_proxy.cc', |
| 125 'proxy/ppp_graphics_3d_proxy.h', |
| 126 'proxy/ppp_input_event_proxy.cc', |
| 127 'proxy/ppp_input_event_proxy.h', |
| 128 'proxy/ppp_instance_private_proxy.cc', |
| 129 'proxy/ppp_instance_private_proxy.h', |
| 130 'proxy/ppp_instance_proxy.cc', |
| 131 'proxy/ppp_instance_proxy.h', |
| 132 'proxy/ppp_messaging_proxy.cc', |
| 133 'proxy/ppp_messaging_proxy.h', |
| 134 'proxy/ppp_mouse_lock_proxy.cc', |
| 135 'proxy/ppp_mouse_lock_proxy.h', |
| 136 'proxy/ppp_printing_proxy.cc', |
| 137 'proxy/ppp_printing_proxy.h', |
| 138 'proxy/ppp_text_input_proxy.cc', |
| 139 'proxy/ppp_text_input_proxy.h', |
| 140 'proxy/ppp_video_decoder_proxy.cc', |
| 141 'proxy/ppp_video_decoder_proxy.h', |
| 142 'proxy/proxy_array_output.cc', |
| 143 'proxy/proxy_array_output.h', |
| 144 'proxy/proxy_channel.cc', |
| 145 'proxy/proxy_channel.h', |
| 146 'proxy/proxy_module.cc', |
| 147 'proxy/proxy_module.h', |
| 148 'proxy/proxy_object_var.cc', |
| 149 'proxy/proxy_object_var.h', |
| 150 'proxy/resource_creation_proxy.cc', |
| 151 'proxy/resource_creation_proxy.h', |
| 152 'proxy/serialized_flash_menu.cc', |
| 153 'proxy/serialized_flash_menu.h', |
| 154 'proxy/serialized_structs.cc', |
| 155 'proxy/serialized_structs.h', |
| 156 'proxy/serialized_var.cc', |
| 157 'proxy/serialized_var.h', |
| 158 'proxy/var_serialization_rules.h', |
| 159 ], |
| 160 'defines': [ |
| 161 'PPAPI_PROXY_IMPLEMENTATION', |
| 162 ], |
22 'include_dirs': [ | 163 'include_dirs': [ |
23 '..', | 164 '..', |
24 ], | 165 ], |
25 }, | 166 'target_conditions': [ |
26 'include_dirs': [ | 167 ['>(nacl_untrusted_build)==1', { |
27 '..', | 168 'sources!': [ |
28 ], | 169 'proxy/broker_dispatcher.cc', |
29 'sources': [ | 170 'proxy/ppapi_command_buffer_proxy.cc', |
30 # Take some standalong files from the C++ wrapper allowing us to more | 171 'proxy/ppb_audio_input_proxy.cc', |
31 # easily make async callbacks in the proxy. We can't depend on the | 172 'proxy/ppb_broker_proxy.cc', |
32 # full C++ wrappers at this layer since the C++ wrappers expect | 173 'proxy/ppb_buffer_proxy.cc', |
33 # symbols defining the globals for "being a plugin" which we are not. | 174 'proxy/ppb_file_chooser_proxy.cc', |
34 # These callback files are standalone. | 175 'proxy/ppb_flash_device_id_proxy.cc', |
35 'cpp/completion_callback.h', | 176 'proxy/ppb_flash_proxy.cc', |
36 'utility/completion_callback_factory.h', | 177 'proxy/ppb_flash_menu_proxy.cc', |
37 | 178 'proxy/ppb_flash_message_loop_proxy.cc', |
38 'proxy/broker_dispatcher.cc', | 179 'proxy/ppb_graphics_2d_proxy.cc', |
39 'proxy/broker_dispatcher.h', | 180 'proxy/ppb_graphics_3d_proxy.cc', |
40 'proxy/dispatcher.cc', | 181 'proxy/ppb_host_resolver_private_proxy.cc', |
41 'proxy/dispatcher.h', | 182 'proxy/ppb_network_monitor_private_proxy.cc', |
42 'proxy/enter_proxy.h', | 183 'proxy/ppb_pdf_proxy.cc', |
43 'proxy/host_dispatcher.cc', | 184 'proxy/ppb_talk_private_proxy.cc', |
44 'proxy/host_dispatcher.h', | 185 'proxy/ppb_tcp_server_socket_private_proxy.cc', |
45 'proxy/host_var_serialization_rules.cc', | 186 'proxy/ppb_tcp_socket_private_proxy.cc', |
46 'proxy/host_var_serialization_rules.h', | 187 'proxy/ppb_testing_proxy.cc', |
47 'proxy/interface_list.cc', | 188 'proxy/ppb_udp_socket_private_proxy.cc', |
48 'proxy/interface_list.h', | 189 'proxy/ppb_video_capture_proxy.cc', |
49 'proxy/interface_proxy.cc', | 190 'proxy/ppb_video_decoder_proxy.cc', |
50 'proxy/interface_proxy.h', | 191 'proxy/ppb_x509_certificate_private_proxy.cc', |
51 'proxy/pepper_file_messages.cc', | 192 'proxy/ppp_graphics_3d_proxy.cc', |
52 'proxy/pepper_file_messages.h', | 193 'proxy/ppp_instance_private_proxy.cc', |
53 'proxy/plugin_array_buffer_var.cc', | 194 'proxy/ppp_video_decoder_proxy.cc', |
54 'proxy/plugin_array_buffer_var.h', | 195 'proxy/serialized_flash_menu.cc', |
55 'proxy/plugin_dispatcher.cc', | 196 ], |
56 'proxy/plugin_dispatcher.h', | 197 }], |
57 'proxy/plugin_globals.cc', | 198 ], |
58 'proxy/plugin_globals.h', | 199 }], |
59 'proxy/plugin_message_filter.cc', | 200 ], |
60 'proxy/plugin_message_filter.h', | 201 }, |
61 'proxy/plugin_resource_tracker.cc', | |
62 'proxy/plugin_resource_tracker.h', | |
63 'proxy/plugin_var_serialization_rules.cc', | |
64 'proxy/plugin_var_serialization_rules.h', | |
65 'proxy/plugin_var_tracker.cc', | |
66 'proxy/plugin_var_tracker.h', | |
67 'proxy/ppapi_messages.cc', | |
68 'proxy/ppapi_messages.h', | |
69 'proxy/ppapi_command_buffer_proxy.h', | |
70 'proxy/ppapi_command_buffer_proxy.cc', | |
71 'proxy/ppapi_param_traits.cc', | |
72 'proxy/ppapi_param_traits.h', | |
73 'proxy/ppb_audio_input_proxy.cc', | |
74 'proxy/ppb_audio_input_proxy.h', | |
75 'proxy/ppb_audio_proxy.cc', | |
76 'proxy/ppb_audio_proxy.h', | |
77 'proxy/ppb_broker_proxy.cc', | |
78 'proxy/ppb_broker_proxy.h', | |
79 'proxy/ppb_buffer_proxy.cc', | |
80 'proxy/ppb_buffer_proxy.h', | |
81 'proxy/ppb_core_proxy.cc', | |
82 'proxy/ppb_core_proxy.h', | |
83 'proxy/ppb_file_chooser_proxy.cc', | |
84 'proxy/ppb_file_chooser_proxy.h', | |
85 'proxy/ppb_file_io_proxy.cc', | |
86 'proxy/ppb_file_io_proxy.h', | |
87 'proxy/ppb_file_ref_proxy.cc', | |
88 'proxy/ppb_file_ref_proxy.h', | |
89 'proxy/ppb_file_system_proxy.cc', | |
90 'proxy/ppb_file_system_proxy.h', | |
91 'proxy/ppb_flash_device_id_proxy.cc', | |
92 'proxy/ppb_flash_device_id_proxy.h', | |
93 'proxy/ppb_flash_proxy.cc', | |
94 'proxy/ppb_flash_proxy.h', | |
95 'proxy/ppb_flash_menu_proxy.cc', | |
96 'proxy/ppb_flash_menu_proxy.h', | |
97 'proxy/ppb_flash_message_loop_proxy.cc', | |
98 'proxy/ppb_flash_message_loop_proxy.h', | |
99 'proxy/ppb_graphics_2d_proxy.cc', | |
100 'proxy/ppb_graphics_2d_proxy.h', | |
101 'proxy/ppb_graphics_3d_proxy.cc', | |
102 'proxy/ppb_graphics_3d_proxy.h', | |
103 'proxy/ppb_host_resolver_private_proxy.cc', | |
104 'proxy/ppb_host_resolver_private_proxy.h', | |
105 'proxy/ppb_image_data_proxy.cc', | |
106 'proxy/ppb_image_data_proxy.h', | |
107 'proxy/ppb_instance_proxy.cc', | |
108 'proxy/ppb_instance_proxy.h', | |
109 'proxy/ppb_message_loop_proxy.cc', | |
110 'proxy/ppb_message_loop_proxy.h', | |
111 'proxy/ppb_network_monitor_private_proxy.cc', | |
112 'proxy/ppb_network_monitor_private_proxy.h', | |
113 'proxy/ppb_pdf_proxy.cc', | |
114 'proxy/ppb_pdf_proxy.h', | |
115 'proxy/ppb_talk_private_proxy.cc', | |
116 'proxy/ppb_talk_private_proxy.h', | |
117 'proxy/ppb_tcp_server_socket_private_proxy.cc', | |
118 'proxy/ppb_tcp_server_socket_private_proxy.h', | |
119 'proxy/ppb_tcp_socket_private_proxy.cc', | |
120 'proxy/ppb_tcp_socket_private_proxy.h', | |
121 'proxy/ppb_testing_proxy.cc', | |
122 'proxy/ppb_testing_proxy.h', | |
123 'proxy/ppb_udp_socket_private_proxy.cc', | |
124 'proxy/ppb_udp_socket_private_proxy.h', | |
125 'proxy/ppb_url_loader_proxy.cc', | |
126 'proxy/ppb_url_loader_proxy.h', | |
127 'proxy/ppb_url_response_info_proxy.cc', | |
128 'proxy/ppb_url_response_info_proxy.h', | |
129 'proxy/ppb_var_deprecated_proxy.cc', | |
130 'proxy/ppb_var_deprecated_proxy.h', | |
131 'proxy/ppb_video_capture_proxy.cc', | |
132 'proxy/ppb_video_capture_proxy.h', | |
133 'proxy/ppb_video_decoder_proxy.cc', | |
134 'proxy/ppb_video_decoder_proxy.h', | |
135 'proxy/ppb_x509_certificate_private_proxy.cc', | |
136 'proxy/ppb_x509_certificate_private_proxy.h', | |
137 'proxy/ppp_class_proxy.cc', | |
138 'proxy/ppp_class_proxy.h', | |
139 'proxy/ppp_graphics_3d_proxy.cc', | |
140 'proxy/ppp_graphics_3d_proxy.h', | |
141 'proxy/ppp_input_event_proxy.cc', | |
142 'proxy/ppp_input_event_proxy.h', | |
143 'proxy/ppp_instance_private_proxy.cc', | |
144 'proxy/ppp_instance_private_proxy.h', | |
145 'proxy/ppp_instance_proxy.cc', | |
146 'proxy/ppp_instance_proxy.h', | |
147 'proxy/ppp_messaging_proxy.cc', | |
148 'proxy/ppp_messaging_proxy.h', | |
149 'proxy/ppp_mouse_lock_proxy.cc', | |
150 'proxy/ppp_mouse_lock_proxy.h', | |
151 'proxy/ppp_printing_proxy.cc', | |
152 'proxy/ppp_printing_proxy.h', | |
153 'proxy/ppp_text_input_proxy.cc', | |
154 'proxy/ppp_text_input_proxy.h', | |
155 'proxy/ppp_video_decoder_proxy.cc', | |
156 'proxy/ppp_video_decoder_proxy.h', | |
157 'proxy/proxy_array_output.cc', | |
158 'proxy/proxy_array_output.h', | |
159 'proxy/proxy_channel.cc', | |
160 'proxy/proxy_channel.h', | |
161 'proxy/proxy_module.cc', | |
162 'proxy/proxy_module.h', | |
163 'proxy/proxy_object_var.cc', | |
164 'proxy/proxy_object_var.h', | |
165 'proxy/resource_creation_proxy.cc', | |
166 'proxy/resource_creation_proxy.h', | |
167 'proxy/serialized_flash_menu.cc', | |
168 'proxy/serialized_flash_menu.h', | |
169 'proxy/serialized_structs.cc', | |
170 'proxy/serialized_structs.h', | |
171 'proxy/serialized_var.cc', | |
172 'proxy/serialized_var.h', | |
173 'proxy/var_serialization_rules.h', | |
174 ], | |
175 'defines': [ | |
176 'PPAPI_PROXY_IMPLEMENTATION', | |
177 ], | |
178 }, | |
179 ], | |
180 } | 202 } |
OLD | NEW |