blob: 3bba9c64170560b69beaafcf84896f8a117b8888 [file] [log] [blame]
[email protected]6117b82da2012-01-07 00:51:011# Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]55cdf6052011-05-13 19:22:532# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
[email protected]21f97752012-06-16 00:35:016 'variables': {
7 'conditions': [
8 ['inside_chromium_build==0', {
9 'webkit_src_dir': '../../../..',
10 },{
11 'webkit_src_dir': '../third_party/WebKit',
12 }],
13 ],
14 },
15 'target_defaults': {
16 'variables': {
17 'ppapi_shared_target': 0,
[email protected]6a3cd902012-01-21 00:48:0218 },
[email protected]21f97752012-06-16 00:35:0119 'target_conditions': [
20 # This part is shared between the targets defined below.
21 ['ppapi_shared_target==1', {
22 'sources': [
[email protected]53db2fa2013-03-19 00:29:0323 'shared_impl/array_var.cc',
24 'shared_impl/array_var.h',
[email protected]21f97752012-06-16 00:35:0125 'shared_impl/array_writer.cc',
26 'shared_impl/array_writer.h',
27 'shared_impl/callback_tracker.cc',
28 'shared_impl/callback_tracker.h',
[email protected]d9e5f4122013-03-18 20:42:5029 'shared_impl/dictionary_var.cc',
30 'shared_impl/dictionary_var.h',
[email protected]c77144722013-01-19 04:16:3631 'shared_impl/file_io_state_manager.cc',
32 'shared_impl/file_io_state_manager.h',
[email protected]21f97752012-06-16 00:35:0133 'shared_impl/file_path.cc',
34 'shared_impl/file_path.h',
35 'shared_impl/file_type_conversion.cc',
36 'shared_impl/file_type_conversion.h',
[email protected]a1686e272012-11-01 23:39:3437 'shared_impl/flash_clipboard_format_registry.cc',
38 'shared_impl/flash_clipboard_format_registry.h',
[email protected]246fc492012-08-27 20:28:1839 'shared_impl/host_resource.cc',
[email protected]21f97752012-06-16 00:35:0140 'shared_impl/host_resource.h',
41 'shared_impl/id_assignment.cc',
42 'shared_impl/id_assignment.h',
43 'shared_impl/platform_file.cc',
44 'shared_impl/platform_file.h',
45 'shared_impl/ppapi_globals.cc',
46 'shared_impl/ppapi_globals.h',
[email protected]ac07ec52013-04-22 17:32:4547 'shared_impl/ppapi_nacl_channel_args.cc',
48 'shared_impl/ppapi_nacl_channel_args.h',
[email protected]24cddd42012-07-13 04:28:4049 'shared_impl/ppapi_permissions.cc',
50 'shared_impl/ppapi_permissions.h',
[email protected]21f97752012-06-16 00:35:0151 'shared_impl/ppapi_preferences.cc',
52 'shared_impl/ppapi_preferences.h',
[email protected]195d4cde2012-10-02 18:12:4153 'shared_impl/ppapi_switches.cc',
54 'shared_impl/ppapi_switches.h',
[email protected]21f97752012-06-16 00:35:0155 'shared_impl/ppb_audio_config_shared.cc',
56 'shared_impl/ppb_audio_config_shared.h',
[email protected]21f97752012-06-16 00:35:0157 'shared_impl/ppb_audio_shared.cc',
58 'shared_impl/ppb_audio_shared.h',
59 'shared_impl/ppb_crypto_shared.cc',
60 'shared_impl/ppb_device_ref_shared.cc',
61 'shared_impl/ppb_device_ref_shared.h',
[email protected]21f97752012-06-16 00:35:0162 'shared_impl/ppb_file_ref_shared.cc',
63 'shared_impl/ppb_file_ref_shared.h',
[email protected]00c0d042012-09-10 07:06:3964 'shared_impl/ppb_gamepad_shared.cc',
65 'shared_impl/ppb_gamepad_shared.h',
[email protected]21f97752012-06-16 00:35:0166 'shared_impl/ppb_graphics_3d_shared.cc',
67 'shared_impl/ppb_graphics_3d_shared.h',
68 'shared_impl/ppb_image_data_shared.cc',
69 'shared_impl/ppb_image_data_shared.h',
70 'shared_impl/ppb_input_event_shared.cc',
71 'shared_impl/ppb_input_event_shared.h',
72 'shared_impl/ppb_instance_shared.cc',
73 'shared_impl/ppb_instance_shared.h',
74 'shared_impl/ppb_memory_shared.cc',
[email protected]77c34172012-11-08 18:55:1675 'shared_impl/ppb_message_loop_shared.cc',
76 'shared_impl/ppb_message_loop_shared.h',
[email protected]21f97752012-06-16 00:35:0177 'shared_impl/ppb_network_list_private_shared.cc',
78 'shared_impl/ppb_network_list_private_shared.h',
79 'shared_impl/ppb_opengles2_shared.cc',
80 'shared_impl/ppb_opengles2_shared.h',
81 'shared_impl/ppb_resource_array_shared.cc',
82 'shared_impl/ppb_resource_array_shared.h',
[email protected]9e10e0442013-01-28 18:46:2483 'shared_impl/ppb_trace_event_impl.cc',
84 'shared_impl/ppb_trace_event_impl.h',
[email protected]21f97752012-06-16 00:35:0185 'shared_impl/ppb_url_util_shared.cc',
86 'shared_impl/ppb_url_util_shared.h',
87 'shared_impl/ppb_var_shared.cc',
88 'shared_impl/ppb_var_shared.h',
89 'shared_impl/ppb_video_decoder_shared.cc',
90 'shared_impl/ppb_video_decoder_shared.h',
[email protected]21f97752012-06-16 00:35:0191 'shared_impl/ppb_view_shared.cc',
92 'shared_impl/ppb_view_shared.h',
93 'shared_impl/ppp_flash_browser_operations_shared.h',
94 'shared_impl/ppp_instance_combined.cc',
95 'shared_impl/ppp_instance_combined.h',
96 'shared_impl/proxy_lock.cc',
97 'shared_impl/proxy_lock.h',
98 'shared_impl/resource.cc',
99 'shared_impl/resource.h',
100 'shared_impl/resource_tracker.cc',
101 'shared_impl/resource_tracker.h',
102 'shared_impl/scoped_pp_resource.cc',
103 'shared_impl/scoped_pp_resource.h',
[email protected]7657b682012-06-19 17:36:08104 'shared_impl/scoped_pp_var.cc',
105 'shared_impl/scoped_pp_var.h',
[email protected]7ef6b79b2013-01-17 02:38:24106 'shared_impl/thread_aware_callback.cc',
107 'shared_impl/thread_aware_callback.h',
[email protected]21f97752012-06-16 00:35:01108 'shared_impl/time_conversion.cc',
109 'shared_impl/time_conversion.h',
110 'shared_impl/tracked_callback.cc',
111 'shared_impl/tracked_callback.h',
[email protected]7b2f7292012-09-19 19:52:12112 'shared_impl/url_request_info_data.cc',
113 'shared_impl/url_request_info_data.h',
[email protected]844fecb2012-11-16 20:11:06114 'shared_impl/url_response_info_data.cc',
115 'shared_impl/url_response_info_data.h',
[email protected]21f97752012-06-16 00:35:01116 'shared_impl/var.cc',
117 'shared_impl/var.h',
118 'shared_impl/var_tracker.cc',
119 'shared_impl/var_tracker.h',
[email protected]d9e5f4122013-03-18 20:42:50120 'shared_impl/var_value_conversions.cc',
121 'shared_impl/var_value_conversions.h',
[email protected]21f97752012-06-16 00:35:01122 # TODO(viettrungluu): Split these out; it won't be used in NaCl.
123 'shared_impl/private/net_address_private_impl.cc',
124 'shared_impl/private/net_address_private_impl.h',
125
[email protected]21f97752012-06-16 00:35:01126 'shared_impl/private/ppb_char_set_shared.cc',
127 'shared_impl/private/ppb_char_set_shared.h',
[email protected]21f97752012-06-16 00:35:01128 'shared_impl/private/ppb_tcp_server_socket_shared.cc',
129 'shared_impl/private/ppb_tcp_server_socket_shared.h',
130 'shared_impl/private/ppb_x509_certificate_private_shared.cc',
131 'shared_impl/private/ppb_x509_certificate_private_shared.h',
132 'shared_impl/private/tcp_socket_private_impl.cc',
133 'shared_impl/private/tcp_socket_private_impl.h',
[email protected]21f97752012-06-16 00:35:01134
135 'thunk/enter.cc',
136 'thunk/enter.h',
[email protected]27db60a2013-03-29 03:29:20137 'thunk/extensions_common_api.h',
[email protected]21f97752012-06-16 00:35:01138 'thunk/ppb_audio_api.h',
139 'thunk/ppb_audio_config_api.h',
140 'thunk/ppb_audio_config_thunk.cc',
141 'thunk/ppb_audio_input_api.h',
[email protected]8917a672013-02-25 17:18:04142 'thunk/ppb_audio_input_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01143 'thunk/ppb_audio_thunk.cc',
144 'thunk/ppb_audio_trusted_thunk.cc',
145 'thunk/ppb_broker_api.h',
146 'thunk/ppb_broker_thunk.cc',
147 'thunk/ppb_browser_font_trusted_api.h',
148 'thunk/ppb_browser_font_trusted_thunk.cc',
149 'thunk/ppb_buffer_api.h',
150 'thunk/ppb_buffer_thunk.cc',
[email protected]21f97752012-06-16 00:35:01151 'thunk/ppb_buffer_trusted_thunk.cc',
152 'thunk/ppb_char_set_thunk.cc',
153 'thunk/ppb_console_thunk.cc',
[email protected]e5aeef02012-08-17 00:18:43154 'thunk/ppb_content_decryptor_private_thunk.cc',
[email protected]21f97752012-06-16 00:35:01155 'thunk/ppb_cursor_control_thunk.cc',
156 'thunk/ppb_device_ref_api.h',
[email protected]a5b6ace2013-02-08 21:09:52157 'thunk/ppb_device_ref_dev_thunk.cc',
[email protected]27db60a2013-03-29 03:29:20158 'thunk/ppb_ext_alarms_thunk.cc',
[email protected]d196ccaf2013-05-08 18:04:58159 'thunk/ppb_ext_crx_file_system_private_api.h',
160 'thunk/ppb_ext_crx_file_system_private_thunk.cc',
[email protected]dbe43ca2013-04-09 18:26:17161 'thunk/ppb_ext_socket_thunk.cc',
[email protected]21f97752012-06-16 00:35:01162 'thunk/ppb_file_chooser_api.h',
[email protected]4c49e992013-03-29 18:53:16163 'thunk/ppb_file_chooser_dev_thunk.cc',
164 'thunk/ppb_file_chooser_trusted_thunk.cc',
[email protected]21f97752012-06-16 00:35:01165 'thunk/ppb_file_io_api.h',
[email protected]8f96cef2013-04-01 16:51:13166 'thunk/ppb_file_io_private_thunk.cc',
[email protected]21f97752012-06-16 00:35:01167 'thunk/ppb_file_io_thunk.cc',
168 'thunk/ppb_file_io_trusted_thunk.cc',
169 'thunk/ppb_file_ref_api.h',
170 'thunk/ppb_file_ref_thunk.cc',
171 'thunk/ppb_file_system_api.h',
172 'thunk/ppb_file_system_thunk.cc',
[email protected]a5b6ace2013-02-08 21:09:52173 'thunk/ppb_find_dev_thunk.cc',
[email protected]22fdaa62012-11-30 01:55:44174 'thunk/ppb_flash_clipboard_api.h',
[email protected]21f97752012-06-16 00:35:01175 'thunk/ppb_flash_clipboard_thunk.cc',
176 'thunk/ppb_flash_device_id_api.h',
177 'thunk/ppb_flash_device_id_thunk.cc',
178 'thunk/ppb_flash_file_fileref_thunk.cc',
179 'thunk/ppb_flash_file_modulelocal_thunk.cc',
[email protected]cb65f132012-10-09 17:06:09180 'thunk/ppb_flash_font_file_api.h',
181 'thunk/ppb_flash_font_file_thunk.cc',
[email protected]22fdaa62012-11-30 01:55:44182 'thunk/ppb_flash_fullscreen_api.h',
[email protected]21f97752012-06-16 00:35:01183 'thunk/ppb_flash_fullscreen_thunk.cc',
[email protected]11d0c362012-10-11 02:02:11184 'thunk/ppb_flash_functions_api.h',
[email protected]21f97752012-06-16 00:35:01185 'thunk/ppb_flash_menu_api.h',
186 'thunk/ppb_flash_menu_thunk.cc',
187 'thunk/ppb_flash_message_loop_api.h',
188 'thunk/ppb_flash_message_loop_thunk.cc',
[email protected]6a77ef22012-12-21 23:31:36189 'thunk/ppb_flash_print_thunk.cc',
[email protected]21f97752012-06-16 00:35:01190 'thunk/ppb_flash_thunk.cc',
191 'thunk/ppb_fullscreen_thunk.cc',
[email protected]f5118812012-08-24 19:54:30192 'thunk/ppb_gamepad_api.h',
[email protected]21f97752012-06-16 00:35:01193 'thunk/ppb_gamepad_thunk.cc',
194 'thunk/ppb_gles_chromium_texture_mapping_thunk.cc',
195 'thunk/ppb_graphics_2d_api.h',
[email protected]de059fac2013-04-30 18:12:49196 'thunk/ppb_graphics_2d_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01197 'thunk/ppb_graphics_2d_thunk.cc',
198 'thunk/ppb_graphics_3d_api.h',
199 'thunk/ppb_graphics_3d_thunk.cc',
200 'thunk/ppb_graphics_3d_trusted_thunk.cc',
201 'thunk/ppb_host_resolver_private_api.h',
202 'thunk/ppb_host_resolver_private_thunk.cc',
203 'thunk/ppb_image_data_api.h',
204 'thunk/ppb_image_data_thunk.cc',
205 'thunk/ppb_image_data_trusted_thunk.cc',
206 'thunk/ppb_input_event_api.h',
207 'thunk/ppb_input_event_thunk.cc',
208 'thunk/ppb_instance_api.h',
[email protected]f1e929e12012-12-26 18:38:49209 'thunk/ppb_instance_private_thunk.cc',
[email protected]21f97752012-06-16 00:35:01210 'thunk/ppb_instance_thunk.cc',
[email protected]21f97752012-06-16 00:35:01211 'thunk/ppb_message_loop_api.h',
212 'thunk/ppb_messaging_thunk.cc',
213 'thunk/ppb_mouse_cursor_thunk.cc',
214 'thunk/ppb_mouse_lock_thunk.cc',
[email protected]adf250c2013-04-22 18:13:47215 'thunk/ppb_network_list_api.h',
[email protected]21f97752012-06-16 00:35:01216 'thunk/ppb_network_list_private_thunk.cc',
217 'thunk/ppb_network_monitor_private_api.h',
218 'thunk/ppb_network_monitor_private_thunk.cc',
219 'thunk/ppb_pdf_api.h',
[email protected]34a4eb32013-03-21 18:02:04220 'thunk/ppb_pdf_thunk.cc',
[email protected]e9cb0b792012-09-07 07:11:06221 'thunk/ppb_printing_api.h',
[email protected]2acf7ce72013-04-24 19:16:45222 'thunk/ppb_printing_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01223 'thunk/ppb_resource_array_api.h',
[email protected]a5b6ace2013-02-08 21:09:52224 'thunk/ppb_resource_array_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01225 'thunk/ppb_scrollbar_api.h',
226 'thunk/ppb_scrollbar_thunk.cc',
227 'thunk/ppb_talk_private_api.h',
228 'thunk/ppb_talk_private_thunk.cc',
229 'thunk/ppb_tcp_server_socket_private_api.h',
230 'thunk/ppb_tcp_server_socket_private_thunk.cc',
231 'thunk/ppb_tcp_socket_private_api.h',
232 'thunk/ppb_tcp_socket_private_thunk.cc',
233 'thunk/ppb_text_input_thunk.cc',
[email protected]725056b72013-03-16 09:57:51234 'thunk/ppb_truetype_font_api.h',
235 'thunk/ppb_truetype_font_singleton_api.h',
[email protected]a3887962013-04-16 21:02:16236 'thunk/ppb_truetype_font_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01237 'thunk/ppb_udp_socket_private_api.h',
238 'thunk/ppb_udp_socket_private_thunk.cc',
239 'thunk/ppb_url_loader_api.h',
240 'thunk/ppb_url_loader_thunk.cc',
[email protected]b082d582013-04-18 14:02:00241 'thunk/ppb_url_loader_trusted_thunk.cc',
[email protected]21f97752012-06-16 00:35:01242 'thunk/ppb_url_request_info_api.h',
243 'thunk/ppb_url_request_info_thunk.cc',
244 'thunk/ppb_url_response_info_api.h',
245 'thunk/ppb_url_response_info_thunk.cc',
246 'thunk/ppb_url_util_thunk.cc',
[email protected]53db2fa2013-03-19 00:29:03247 'thunk/ppb_var_array_thunk.cc',
[email protected]d9e5f4122013-03-18 20:42:50248 'thunk/ppb_var_dictionary_thunk.cc',
[email protected]21f97752012-06-16 00:35:01249 'thunk/ppb_video_capture_api.h',
250 'thunk/ppb_video_capture_thunk.cc',
251 'thunk/ppb_video_decoder_api.h',
252 'thunk/ppb_video_decoder_thunk.cc',
[email protected]b76257d2013-05-04 00:11:30253 'thunk/ppb_video_destination_private_api.h',
254 'thunk/ppb_video_destination_private_thunk.cc',
255 'thunk/ppb_video_source_private_api.h',
256 'thunk/ppb_video_source_private_thunk.cc',
[email protected]21f97752012-06-16 00:35:01257 'thunk/ppb_view_api.h',
[email protected]12b6f612013-02-13 18:17:58258 'thunk/ppb_view_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01259 'thunk/ppb_view_thunk.cc',
260 'thunk/ppb_websocket_api.h',
261 'thunk/ppb_websocket_thunk.cc',
262 'thunk/ppb_widget_api.h',
[email protected]a5b6ace2013-02-08 21:09:52263 'thunk/ppb_widget_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01264 'thunk/ppb_x509_certificate_private_api.h',
265 'thunk/ppb_x509_certificate_private_thunk.cc',
[email protected]26b81db82013-04-23 23:52:20266 'thunk/ppb_zoom_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01267 'thunk/thunk.h',
268 ],
269 'defines': [
270 'PPAPI_SHARED_IMPLEMENTATION',
271 'PPAPI_THUNK_IMPLEMENTATION',
272 ],
273 'include_dirs': [
274 '..',
275 ],
276 'target_conditions': [
[email protected]246fc492012-08-27 20:28:18277 ['>(nacl_untrusted_build)==1 or >(nacl_win64_target)==1', {
[email protected]21f97752012-06-16 00:35:01278 'sources!': [
[email protected]a1686e272012-11-01 23:39:34279 'shared_impl/flash_clipboard_format_registry.cc',
[email protected]21f97752012-06-16 00:35:01280 'shared_impl/ppb_url_util_shared.cc',
281 'shared_impl/ppb_video_decoder_shared.cc',
282 'shared_impl/ppb_video_capture_shared.cc',
[email protected]21f97752012-06-16 00:35:01283 'shared_impl/private/ppb_browser_font_trusted_shared.cc',
284 'shared_impl/private/ppb_char_set_shared.cc',
[email protected]8917a672013-02-25 17:18:04285 'thunk/ppb_audio_input_dev_thunk.cc',
[email protected]21f97752012-06-16 00:35:01286 'thunk/ppb_audio_trusted_thunk.cc',
287 'thunk/ppb_broker_thunk.cc',
288 'thunk/ppb_browser_font_trusted_thunk.cc',
289 'thunk/ppb_buffer_thunk.cc',
290 'thunk/ppb_buffer_trusted_thunk.cc',
[email protected]e5aeef02012-08-17 00:18:43291 'thunk/ppb_content_decryptor_private_thunk.cc',
[email protected]21f97752012-06-16 00:35:01292 'thunk/ppb_char_set_thunk.cc',
[email protected]21f97752012-06-16 00:35:01293 'thunk/ppb_file_io_trusted_thunk.cc',
294 'thunk/ppb_flash_clipboard_thunk.cc',
295 'thunk/ppb_flash_device_id_thunk.cc',
296 'thunk/ppb_flash_file_fileref_thunk.cc',
297 'thunk/ppb_flash_file_modulelocal_thunk.cc',
[email protected]cb65f132012-10-09 17:06:09298 'thunk/ppb_flash_font_file_thunk.cc',
[email protected]21f97752012-06-16 00:35:01299 'thunk/ppb_flash_fullscreen_thunk.cc',
300 'thunk/ppb_flash_menu_thunk.cc',
301 'thunk/ppb_flash_message_loop_thunk.cc',
302 'thunk/ppb_flash_thunk.cc',
303 'thunk/ppb_flash_message_loop_thunk.cc',
304 'thunk/ppb_gles_chromium_texture_mapping_thunk.cc',
[email protected]21f97752012-06-16 00:35:01305 'thunk/ppb_graphics_3d_trusted_thunk.cc',
[email protected]21f97752012-06-16 00:35:01306 'thunk/ppb_image_data_trusted_thunk.cc',
[email protected]c9be98e2013-03-26 22:15:51307 'thunk/ppb_pdf_thunk.cc',
[email protected]21f97752012-06-16 00:35:01308 'thunk/ppb_scrollbar_thunk.cc',
309 'thunk/ppb_talk_private_thunk.cc',
[email protected]21f97752012-06-16 00:35:01310 'thunk/ppb_transport_thunk.cc',
[email protected]21f97752012-06-16 00:35:01311 'thunk/ppb_url_util_thunk.cc',
312 'thunk/ppb_video_capture_thunk.cc',
313 'thunk/ppb_video_decoder_thunk.cc',
[email protected]b76257d2013-05-04 00:11:30314 'thunk/ppb_video_destination_private_thunk.cc',
315 'thunk/ppb_video_source_private_thunk.cc',
[email protected]3ec40f22012-01-20 21:26:39316 ],
[email protected]21f97752012-06-16 00:35:01317 }],
[email protected]e8f578d2012-09-17 19:27:10318 # We exclude a few more things for nacl_win64, to avoid pulling in
319 # more dependencies.
[email protected]246fc492012-08-27 20:28:18320 ['>(nacl_win64_target)==1', {
321 'sources!': [
322 'shared_impl/ppb_audio_shared.cc',
323 'shared_impl/ppb_graphics_3d_shared.cc',
324 'shared_impl/ppb_opengles2_shared.cc',
[email protected]e8f578d2012-09-17 19:27:10325 'shared_impl/private/ppb_host_resolver_shared.cc',
[email protected]bcb7e502012-10-25 00:13:28326 'shared_impl/private/net_address_private_impl.cc',
[email protected]667591d2012-09-04 21:30:12327 'shared_impl/private/ppb_tcp_server_socket_shared.cc',
328 'shared_impl/private/tcp_socket_private_impl.cc',
329 'shared_impl/private/udp_socket_private_impl.cc',
[email protected]246fc492012-08-27 20:28:18330 'thunk/ppb_graphics_3d_thunk.cc',
[email protected]e8f578d2012-09-17 19:27:10331 'thunk/ppb_host_resolver_private_thunk.cc',
332 'thunk/ppb_network_list_private_thunk.cc',
333 'thunk/ppb_network_monitor_private_thunk.cc',
[email protected]667591d2012-09-04 21:30:12334 'thunk/ppb_tcp_server_socket_private_thunk.cc',
335 'thunk/ppb_tcp_socket_private_thunk.cc',
336 'thunk/ppb_udp_socket_private_thunk.cc',
337 'thunk/ppb_x509_certificate_private_thunk.cc',
[email protected]246fc492012-08-27 20:28:18338 ],
339 }],
[email protected]21f97752012-06-16 00:35:01340 ],
341 }],
342 ],
343 },
[email protected]55cdf6052011-05-13 19:22:53344}