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.
7 '../base/base.gyp:base',
8 '../components/tracing.gyp:tracing',
9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
11 '../skia/skia.gyp:skia',
12 '../third_party/WebKit/public/blink_headers.gyp:blink_headers',
13 '../third_party/icu/icu.gyp:icuuc',
14 '../ui/accessibility/accessibility.gyp:accessibility',
15 '../ui/base/ui_base.gyp:ui_base',
16 '../ui/events/ipc/events_ipc.gyp:events_ipc',
17 '../ui/gfx/gfx.gyp:gfx',
18 '../ui/gfx/gfx.gyp:gfx_geometry',
19 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
20 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
21 '../url/url.gyp:url_lib',
26 'export_dependent_settings': [
27 '../base/base.gyp:base',
28 # The public content API headers directly include Blink API headers, so we
29 # have to export the blink header settings so that relative paths in these
30 # headers resolve correctly.
31 '../third_party/WebKit/public/blink_headers.gyp:blink_headers',
34 'public_common_sources': [
35 'public/common/appcache_info.h',
36 'public/common/bindings_policy.h',
37 'public/common/child_process_host.h',
38 'public/common/child_process_host_delegate.cc',
39 'public/common/child_process_host_delegate.h',
40 'public/common/child_process_sandbox_support_linux.h',
41 'public/common/color_suggestion.cc',
42 'public/common/color_suggestion.h',
43 'public/common/common_param_traits.cc',
44 'public/common/common_param_traits.h',
45 'public/common/common_param_traits_macros.h',
46 'public/common/console_message_level.h',
47 'public/common/content_client.cc',
48 'public/common/content_client.h',
49 'public/common/content_constants.cc',
50 'public/common/content_constants.h',
51 'public/common/content_descriptors.h',
52 'public/common/content_ipc_logging.h',
53 'public/common/content_paths.h',
54 'public/common/content_switches.cc',
55 'public/common/content_switches.h',
56 'public/common/context_menu_params.cc',
57 'public/common/context_menu_params.h',
58 'public/common/drop_data.cc',
59 'public/common/drop_data.h',
60 'public/common/favicon_url.cc',
61 'public/common/favicon_url.h',
62 'public/common/file_chooser_file_info.cc',
63 'public/common/file_chooser_file_info.h',
64 'public/common/file_chooser_params.cc',
65 'public/common/file_chooser_params.h',
66 'public/common/frame_navigate_params.cc',
67 'public/common/frame_navigate_params.h',
68 'public/common/geoposition.cc',
69 'public/common/geoposition.h',
70 'public/common/gpu_memory_stats.cc',
71 'public/common/gpu_memory_stats.h',
72 'public/common/injection_test_mac.h',
73 'public/common/injection_test_win.h',
74 'public/common/javascript_message_type.h',
75 'public/common/manifest.cc',
76 'public/common/manifest.h',
77 'public/common/main_function_params.h',
78 'public/common/media_stream_request.cc',
79 'public/common/media_stream_request.h',
80 'public/common/menu_item.cc',
81 'public/common/menu_item.h',
82 'public/common/page_state.cc',
83 'public/common/page_state.h',
84 'public/common/page_type.h',
85 'public/common/page_zoom.h',
86 'public/common/pepper_plugin_info.cc',
87 'public/common/pepper_plugin_info.h',
88 'public/common/process_type.h',
89 'public/common/push_messaging_status.cc',
90 'public/common/push_messaging_status.h',
91 'public/common/referrer.h',
92 'public/common/renderer_preferences.cc',
93 'public/common/renderer_preferences.h',
94 'public/common/request_context_frame_type.h',
95 'public/common/request_context_type.h',
96 'public/common/resource_devtools_info.cc',
97 'public/common/resource_devtools_info.h',
98 'public/common/resource_response.cc',
99 'public/common/resource_response.h',
100 'public/common/resource_response_info.cc',
101 'public/common/resource_response_info.h',
102 'public/common/resource_type.cc',
103 'public/common/resource_type.h',
104 'public/common/result_codes.h',
105 'public/common/result_codes_list.h',
106 'public/common/sandbox_init.h',
107 'public/common/sandbox_linux.h',
108 'public/common/sandbox_type_mac.h',
109 'public/common/sandboxed_process_launcher_delegate.cc',
110 'public/common/sandboxed_process_launcher_delegate.h',
111 'public/common/security_style.h',
112 'public/common/service_registry.h',
113 'public/common/show_desktop_notification_params.cc',
114 'public/common/show_desktop_notification_params.h',
115 'public/common/signed_certificate_timestamp_id_and_status.cc',
116 'public/common/signed_certificate_timestamp_id_and_status.h',
117 'public/common/speech_recognition_error.h',
118 'public/common/speech_recognition_grammar.h',
119 'public/common/speech_recognition_result.cc',
120 'public/common/speech_recognition_result.h',
121 'public/common/ssl_status.cc',
122 'public/common/ssl_status.h',
123 'public/common/stop_find_action.h',
124 'public/common/storage_quota_params.h',
125 'public/common/three_d_api_types.h',
126 'public/common/top_controls_state.h',
127 'public/common/top_controls_state_list.h',
128 'public/common/url_constants.cc',
129 'public/common/url_constants.h',
130 'public/common/url_fetcher.h',
131 'public/common/url_utils.cc',
132 'public/common/url_utils.h',
133 'public/common/user_agent.h',
134 'public/common/web_preferences.cc',
135 'public/common/web_preferences.h',
136 'public/common/webplugininfo.cc',
137 'public/common/webplugininfo.h',
138 'public/common/window_container_type.cc',
139 'public/common/window_container_type.h',
140 'public/common/zygote_fork_delegate_linux.h',
142 'private_common_sources': [
143 'common/accessibility_messages.h',
144 'common/all_messages.h',
145 'common/android/address_parser.cc',
146 'common/android/address_parser.h',
147 'common/android/address_parser_internal.cc',
148 'common/android/address_parser_internal.h',
149 'common/android/common_jni_registrar.cc',
150 'common/android/common_jni_registrar.h',
151 'common/android/gin_java_bridge_errors.cc',
152 'common/android/gin_java_bridge_errors.h',
153 'common/android/gin_java_bridge_value.cc',
154 'common/android/gin_java_bridge_value.h',
155 'common/android/hash_set.cc',
156 'common/android/hash_set.h',
157 'common/android/surface_texture_manager.cc',
158 'common/android/surface_texture_manager.h',
159 'common/android/surface_texture_peer.cc',
160 'common/android/surface_texture_peer.h',
161 'common/appcache_interfaces.cc',
162 'common/appcache_interfaces.h',
163 'common/appcache_messages.h',
164 'common/browser_plugin/browser_plugin_constants.cc',
165 'common/browser_plugin/browser_plugin_constants.h',
166 'common/browser_plugin/browser_plugin_messages.h',
167 'common/cc_messages.cc',
168 'common/cc_messages.h',
169 'common/child_process_host_impl.cc',
170 'common/child_process_host_impl.h',
171 'common/child_process_messages.h',
172 'common/child_process_sandbox_support_impl_linux.cc',
173 'common/child_process_sandbox_support_impl_linux.h',
174 'common/child_process_sandbox_support_impl_shm_linux.cc',
175 'common/clipboard_format.h',
176 'common/clipboard_messages.h',
177 'common/content_constants_internal.cc',
178 'common/content_constants_internal.h',
179 'common/content_export.h',
180 'common/content_ipc_logging.cc',
181 'common/content_message_generator.cc',
182 'common/content_message_generator.h',
183 'common/content_param_traits.cc',
184 'common/content_param_traits.h',
185 'common/content_param_traits_macros.h',
186 'common/content_paths.cc',
187 'common/content_switches_internal.cc',
188 'common/content_switches_internal.h',
189 'common/cookie_data.cc',
190 'common/cookie_data.h',
191 'common/cursors/webcursor.cc',
192 'common/cursors/webcursor.h',
193 'common/cursors/webcursor_android.cc',
194 'common/cursors/webcursor_aura.cc',
195 'common/cursors/webcursor_aurawin.cc',
196 'common/cursors/webcursor_aurax11.cc',
197 'common/cursors/webcursor_mac.mm',
198 'common/cursors/webcursor_ozone.cc',
199 'common/database_messages.h',
200 'common/date_time_suggestion.h',
201 'common/desktop_notification_messages.h',
202 'common/device_sensors/device_light_data.h',
203 'common/device_sensors/device_light_hardware_buffer.h',
204 'common/device_sensors/device_light_messages.h',
205 'common/device_sensors/device_motion_hardware_buffer.h',
206 'common/device_sensors/device_motion_messages.h',
207 'common/device_sensors/device_orientation_hardware_buffer.h',
208 'common/device_sensors/device_orientation_messages.h',
209 'common/devtools_messages.h',
210 'common/dom_storage/dom_storage_map.cc',
211 'common/dom_storage/dom_storage_map.h',
212 'common/dom_storage/dom_storage_messages.h',
213 'common/drag_event_source_info.h',
214 'common/drag_messages.h',
215 'common/drag_traits.h',
216 'common/edit_command.h',
217 'common/file_utilities_messages.h',
218 'common/fileapi/file_system_messages.h',
219 'common/fileapi/webblob_messages.h',
220 'common/font_cache_dispatcher_win.cc',
221 'common/font_cache_dispatcher_win.h',
222 'common/font_config_ipc_linux.cc',
223 'common/font_config_ipc_linux.h',
224 'common/font_list.cc',
225 'common/font_list.h',
226 'common/font_list_android.cc',
227 'common/font_list_mac.mm',
228 'common/font_list_ozone.cc',
229 'common/font_list_pango.cc',
230 'common/font_list_win.cc',
231 'common/frame_message_enums.h',
232 'common/frame_messages.h',
233 'common/frame_param.cc',
234 'common/frame_param.h',
235 'common/frame_param_macros.h',
236 'common/gamepad_hardware_buffer.h',
237 'common/gamepad_messages.h',
238 'common/gamepad_param_traits.cc',
239 'common/gamepad_param_traits.h',
240 'common/gamepad_user_gesture.cc',
241 'common/gamepad_user_gesture.h',
242 'common/geofencing_messages.h',
243 'common/geofencing_status.cc',
244 'common/geofencing_status.h',
245 'common/geolocation_messages.h',
246 'common/gin_java_bridge_messages.h',
247 'common/gpu/client/command_buffer_proxy_impl.cc',
248 'common/gpu/client/command_buffer_proxy_impl.h',
249 'common/gpu/client/context_provider_command_buffer.cc',
250 'common/gpu/client/context_provider_command_buffer.h',
251 'common/gpu/client/gl_helper.cc',
252 'common/gpu/client/gl_helper.h',
253 'common/gpu/client/gl_helper_readback_support.cc',
254 'common/gpu/client/gl_helper_readback_support.h',
255 'common/gpu/client/gl_helper_scaling.cc',
256 'common/gpu/client/gl_helper_scaling.h',
257 'common/gpu/client/gpu_channel_host.cc',
258 'common/gpu/client/gpu_channel_host.h',
259 'common/gpu/client/gpu_memory_buffer_factory_host.cc',
260 'common/gpu/client/gpu_memory_buffer_factory_host.h',
261 'common/gpu/client/gpu_memory_buffer_impl.cc',
262 'common/gpu/client/gpu_memory_buffer_impl.h',
263 'common/gpu/client/gpu_memory_buffer_impl_android.cc',
264 'common/gpu/client/gpu_memory_buffer_impl_linux.cc',
265 'common/gpu/client/gpu_memory_buffer_impl_mac.cc',
266 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc',
267 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h',
268 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc',
269 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.h',
270 'common/gpu/client/gpu_memory_buffer_impl_win.cc',
271 'common/gpu/client/gpu_video_decode_accelerator_host.cc',
272 'common/gpu/client/gpu_video_decode_accelerator_host.h',
273 'common/gpu/client/gpu_video_encode_accelerator_host.cc',
274 'common/gpu/client/gpu_video_encode_accelerator_host.h',
275 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
276 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
277 'common/gpu/devtools_gpu_agent.cc',
278 'common/gpu/devtools_gpu_agent.h',
279 'common/gpu/devtools_gpu_instrumentation.cc',
280 'common/gpu/devtools_gpu_instrumentation.h',
281 'common/gpu/gpu_channel.cc',
282 'common/gpu/gpu_channel.h',
283 'common/gpu/gpu_channel_manager.cc',
284 'common/gpu/gpu_channel_manager.h',
285 'common/gpu/gpu_command_buffer_stub.cc',
286 'common/gpu/gpu_command_buffer_stub.h',
287 'common/gpu/gpu_config.h',
288 'common/gpu/gpu_memory_buffer_factory.h',
289 'common/gpu/gpu_memory_buffer_factory_android.cc',
290 'common/gpu/gpu_memory_buffer_factory_mac.cc',
291 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
292 'common/gpu/gpu_memory_buffer_factory_win.cc',
293 'common/gpu/gpu_memory_buffer_factory_x11.cc',
294 'common/gpu/gpu_memory_manager.cc',
295 'common/gpu/gpu_memory_manager.h',
296 'common/gpu/gpu_memory_manager_client.cc',
297 'common/gpu/gpu_memory_manager_client.h',
298 'common/gpu/gpu_memory_tracking.cc',
299 'common/gpu/gpu_memory_tracking.h',
300 'common/gpu/gpu_memory_uma_stats.h',
301 'common/gpu/gpu_messages.h',
302 'common/gpu/gpu_process_launch_causes.h',
303 'common/gpu/gpu_result_codes.h',
304 'common/gpu/gpu_surface_lookup.cc',
305 'common/gpu/gpu_surface_lookup.h',
306 'common/gpu/gpu_watchdog.h',
307 'common/gpu/image_transport_surface.cc',
308 'common/gpu/image_transport_surface.h',
309 'common/gpu/image_transport_surface_android.cc',
310 'common/gpu/image_transport_surface_calayer_mac.mm',
311 'common/gpu/image_transport_surface_calayer_mac.h',
312 'common/gpu/image_transport_surface_fbo_mac.mm',
313 'common/gpu/image_transport_surface_fbo_mac.h',
314 'common/gpu/image_transport_surface_linux.cc',
315 'common/gpu/image_transport_surface_mac.mm',
316 'common/gpu/image_transport_surface_iosurface_mac.cc',
317 'common/gpu/image_transport_surface_iosurface_mac.h',
318 'common/gpu/image_transport_surface_win.cc',
319 'common/gpu/media/gpu_video_decode_accelerator.cc',
320 'common/gpu/media/gpu_video_decode_accelerator.h',
321 'common/gpu/media/gpu_video_encode_accelerator.cc',
322 'common/gpu/media/gpu_video_encode_accelerator.h',
323 'common/gpu/null_transport_surface.cc',
324 'common/gpu/null_transport_surface.h',
325 'common/gpu/stream_texture_android.cc',
326 'common/gpu/stream_texture_android.h',
327 'common/gpu/surface_handle_types_mac.cc',
328 'common/gpu/surface_handle_types_mac.h',
329 'common/gpu/sync_point_manager.cc',
330 'common/gpu/sync_point_manager.h',
331 'common/handle_enumerator_win.cc',
332 'common/handle_enumerator_win.h',
333 'common/host_discardable_shared_memory_manager.cc',
334 'common/host_discardable_shared_memory_manager.h',
335 'common/host_shared_bitmap_manager.cc',
336 'common/host_shared_bitmap_manager.h',
337 'common/image_messages.h',
338 'common/indexed_db/indexed_db_constants.h',
339 'common/indexed_db/indexed_db_key.cc',
340 'common/indexed_db/indexed_db_key.h',
341 'common/indexed_db/indexed_db_key_path.cc',
342 'common/indexed_db/indexed_db_key_path.h',
343 'common/indexed_db/indexed_db_key_range.cc',
344 'common/indexed_db/indexed_db_key_range.h',
345 'common/indexed_db/indexed_db_messages.h',
346 'common/indexed_db/indexed_db_param_traits.cc',
347 'common/indexed_db/indexed_db_param_traits.h',
348 'common/input/did_overscroll_params.cc',
349 'common/input/did_overscroll_params.h',
350 'common/input/gesture_event_stream_validator.cc',
351 'common/input/gesture_event_stream_validator.h',
352 'common/input/input_event.cc',
353 'common/input/input_event.h',
354 'common/input/input_event_stream_validator.cc',
355 'common/input/input_event_stream_validator.h',
356 'common/input/input_param_traits.cc',
357 'common/input/input_param_traits.h',
358 'common/input/scoped_web_input_event.cc',
359 'common/input/scoped_web_input_event.h',
360 'common/input/synthetic_gesture_packet.cc',
361 'common/input/synthetic_gesture_packet.h',
362 'common/input/synthetic_gesture_params.cc',
363 'common/input/synthetic_gesture_params.h',
364 'common/input/synthetic_pinch_gesture_params.cc',
365 'common/input/synthetic_pinch_gesture_params.h',
366 'common/input/synthetic_smooth_scroll_gesture_params.cc',
367 'common/input/synthetic_smooth_scroll_gesture_params.h',
368 'common/input/synthetic_tap_gesture_params.cc',
369 'common/input/synthetic_tap_gesture_params.h',
370 'common/input/synthetic_web_input_event_builders.cc',
371 'common/input/synthetic_web_input_event_builders.h',
372 'common/input/touch_event_stream_validator.cc',
373 'common/input/touch_event_stream_validator.h',
374 'common/input/web_input_event_traits.cc',
375 'common/input/web_input_event_traits.h',
376 'common/input/web_touch_event_traits.cc',
377 'common/input/web_touch_event_traits.h',
378 'common/input_messages.h',
379 'common/inter_process_time_ticks_converter.cc',
380 'common/inter_process_time_ticks_converter.h',
381 'common/mac/attributed_string_coder.h',
382 'common/mac/attributed_string_coder.mm',
383 'common/mac/font_descriptor.h',
384 'common/mac/font_descriptor.mm',
385 'common/mac/font_loader.h',
386 'common/mac/font_loader.mm',
387 'common/manifest_manager_messages.h',
388 'common/media/aec_dump_messages.h',
389 'common/media/audio_messages.h',
390 'common/media/cdm_messages.h',
391 'common/media/cdm_messages_enums.h',
392 'common/media/media_param_traits.cc',
393 'common/media/media_param_traits.h',
394 'common/media/media_player_messages_android.h',
395 'common/media/media_player_messages_enums_android.h',
396 'common/media/media_stream_messages.h',
397 'common/media/media_stream_options.cc',
398 'common/media/media_stream_options.h',
399 'common/media/media_stream_track_metrics_host_messages.h',
400 'common/media/midi_messages.h',
401 'common/media/video_capture.h',
402 'common/media/video_capture_messages.h',
403 'common/media/webrtc_identity_messages.h',
404 'common/memory_benchmark_messages.h',
405 'common/message_port_messages.h',
406 'common/message_router.cc',
407 'common/message_router.h',
408 'common/mime_registry_messages.h',
409 'common/mojo/mojo_messages.h',
410 'common/mojo/service_registry_impl.cc',
411 'common/mojo/service_registry_impl.h',
412 'common/navigation_gesture.h',
413 'common/navigation_params.cc',
414 'common/navigation_params.h',
415 'common/net/url_fetcher.cc',
416 'common/net/url_request_user_data.cc',
417 'common/net/url_request_user_data.h',
418 'common/one_writer_seqlock.cc',
419 'common/one_writer_seqlock.h',
420 'common/p2p_messages.h',
421 'common/page_state_serialization.cc',
422 'common/page_state_serialization.h',
423 'common/page_zoom.cc',
424 'common/pepper_file_util.cc',
425 'common/pepper_file_util.h',
426 'common/pepper_messages.h',
427 'common/pepper_plugin_list.cc',
428 'common/pepper_plugin_list.h',
429 'common/pepper_renderer_instance_data.cc',
430 'common/pepper_renderer_instance_data.h',
431 'common/platform_notification_messages.h',
432 'common/plugin_constants_win.cc',
433 'common/plugin_constants_win.h',
434 'common/plugin_list.cc',
435 'common/plugin_list.h',
436 'common/plugin_list_mac.mm',
437 'common/plugin_list_posix.cc',
438 'common/plugin_list_win.cc',
439 'common/plugin_process_messages.h',
440 'common/power_monitor_messages.h',
441 'common/process_type.cc',
442 'common/push_messaging_messages.h',
443 'common/quota_messages.h',
444 'common/resource_messages.cc',
445 'common/resource_messages.h',
446 'common/resource_request_body.cc',
447 'common/resource_request_body.h',
448 'common/sandbox_init_mac.cc',
449 'common/sandbox_init_mac.h',
450 'common/sandbox_init_win.cc',
451 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
452 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
453 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
454 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
455 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
456 'common/sandbox_linux/bpf_gpu_policy_linux.h',
457 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
458 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
459 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
460 'common/sandbox_linux/bpf_renderer_policy_linux.h',
461 'common/sandbox_linux/bpf_utility_policy_linux.cc',
462 'common/sandbox_linux/bpf_utility_policy_linux.h',
463 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
464 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
465 'common/sandbox_linux/sandbox_init_linux.cc',
466 'common/sandbox_linux/sandbox_linux.cc',
467 'common/sandbox_linux/sandbox_linux.h',
468 'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
469 'common/sandbox_linux/sandbox_seccomp_bpf_linux.h',
470 'common/sandbox_mac.h',
471 'common/sandbox_mac.mm',
472 'common/sandbox_util.cc',
473 'common/sandbox_util.h',
474 'common/sandbox_win.cc',
475 'common/sandbox_win.h',
476 'common/savable_url_schemes.cc',
477 'common/savable_url_schemes.h',
478 'common/screen_orientation_messages.h',
479 'common/service_worker/embedded_worker_messages.h',
480 'common/service_worker/service_worker_messages.h',
481 'common/service_worker/service_worker_status_code.cc',
482 'common/service_worker/service_worker_status_code.h',
483 'common/service_worker/service_worker_types.cc',
484 'common/service_worker/service_worker_types.h',
485 'common/set_process_title.cc',
486 'common/set_process_title.h',
487 'common/set_process_title_linux.cc',
488 'common/set_process_title_linux.h',
489 'common/speech_recognition_messages.h',
490 'common/ssl_status_serialization.cc',
491 'common/ssl_status_serialization.h',
492 'common/swapped_out_messages.cc',
493 'common/swapped_out_messages.h',
494 'common/text_input_client_messages.h',
495 'common/url_schemes.cc',
496 'common/url_schemes.h',
497 'common/user_agent.cc',
498 'common/utility_messages.h',
499 'common/view_message_enums.h',
500 'common/view_messages.h',
501 'common/webplugin_geometry.cc',
502 'common/webplugin_geometry.h',
503 'common/websocket.cc',
504 'common/websocket.h',
505 'common/websocket_messages.h',
506 'common/worker_messages.h',
507 'common/zygote_commands_linux.h',
511 '<@(public_common_sources)',
512 '<@(private_common_sources)',
514 'target_conditions': [
515 ['OS=="android" and <(use_seccomp_bpf)==1', {
517 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'],
518 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
524 # iOS has different user-agent construction utilities, since the
525 # version strings is not derived from webkit_version, and follows
526 # a different format.
528 'common/user_agent.cc',
531 # iOS only needs a small portion of content; exclude all the
532 # implementation, and re-include what is used.
533 ['exclude', '\\.(cc|mm)$'],
534 ['include', '_ios\\.(cc|mm)$'],
535 ['include', '^public/common/content_client\\.cc$'],
536 ['include', '^public/common/content_constants\\.cc$'],
537 ['include', '^public/common/content_switches\\.cc$'],
538 ['include', '^public/common/frame_navigate_params\\.cc$'],
539 ['include', '^public/common/media_stream_request\\.cc$'],
540 ['include', '^public/common/page_state\\.cc$'],
541 ['include', '^public/common/password_form\\.cc$'],
542 ['include', '^public/common/signed_certificate_timestamp_id_and_status\\.cc$'],
543 ['include', '^public/common/speech_recognition_result\\.cc$'],
544 ['include', '^public/common/ssl_status\\.cc$'],
545 ['include', '^public/common/url_constants\\.cc$'],
546 ['include', '^common/content_paths\\.cc$'],
547 ['include', '^common/media/media_stream_options\\.cc$'],
548 ['include', '^common/net/url_fetcher\\.cc$'],
549 ['include', '^common/net/url_request_user_data\\.cc$'],
550 ['include', '^common/page_state_serialization\\.cc$'],
551 ['include', '^common/savable_url_schemes\\.cc$'],
552 ['include', '^common/url_schemes\\.cc$'],
557 '../gpu/gpu.gyp:command_buffer_service',
558 '../gpu/gpu.gyp:gles2_c_lib',
559 '../gpu/gpu.gyp:gles2_implementation',
560 # TODO: the dependency on gl_in_process_context should be decoupled from
561 # content and moved to android_webview. See crbug.com/365797.
562 '../gpu/gpu.gyp:gl_in_process_context',
563 '../gpu/gpu.gyp:gpu_ipc',
564 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
565 '../ipc/ipc.gyp:ipc',
566 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo',
567 '../media/media.gyp:media',
568 '../media/media.gyp:shared_memory_support',
569 '../mojo/edk/mojo_edk.gyp:mojo_system_impl',
570 '../mojo/mojo_base.gyp:mojo_environment_chromium',
571 '../mojo/public/mojo_public.gyp:mojo_application_bindings',
572 '../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
573 '../storage/storage_browser.gyp:storage',
574 '../storage/storage_common.gyp:storage_common',
575 '../third_party/WebKit/public/blink.gyp:blink',
576 '../ui/gl/gl.gyp:gl',
577 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
581 'action_name': 'generate_webkit_version',
588 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
592 '-f', '<(lastchange)',
597 'script': '<(DEPTH)/build/util/version.py',
598 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink',
599 'template': 'webkit_version.h.in',
606 'app/resources/content_resources.gyp:content_resources',
609 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc',
610 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h',
611 'common/gpu/gpu_memory_buffer_factory_io_surface.cc',
612 'common/gpu/gpu_memory_buffer_factory_io_surface.h',
613 'common/gpu/media/vt.h',
614 'common/gpu/media/vt_video_decode_accelerator.cc',
615 'common/gpu/media/vt_video_decode_accelerator.h',
618 'common/plugin_list_posix.cc',
622 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
623 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
627 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
628 'extra_header': 'common/gpu/media/vt_stubs_header.fragment',
629 'sig_files': ['common/gpu/media/vt.sig'],
630 'outfile_type': 'posix_stubs',
631 'stubs_filename_root': 'vt_stubs',
632 'project_path': 'content/common/gpu/media',
633 'intermediate_dir': '<(INTERMEDIATE_DIR)',
634 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs',
641 'action_name': 'generate_stubs',
643 '<(generate_stubs_script)',
648 '<(intermediate_dir)/<(stubs_filename_root).cc',
649 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
652 '<(generate_stubs_script)',
653 '-i', '<(intermediate_dir)',
654 '-o', '<(output_root)/<(project_path)',
655 '-t', '<(outfile_type)',
656 '-e', '<(extra_header)',
657 '-s', '<(stubs_filename_root)',
658 '-p', '<(project_path)',
661 'process_outputs_as_sources': 1,
662 'message': 'Generating VideoToolbox stubs for dynamic loading',
668 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc',
669 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h',
670 'common/gpu/gpu_memory_buffer_factory_surface_texture.cc',
671 'common/gpu/gpu_memory_buffer_factory_surface_texture.h',
675 '-landroid', # ANativeWindow
679 'content.gyp:content_jni_headers',
680 'content.gyp:common_aidl',
685 '../build/linux/system.gyp:pangocairo',
688 'common/font_list_ozone.cc',
693 '<(DEPTH)/third_party/khronos',
696 '<(DEPTH)/build/linux/system.gyp:xcomposite',
699 'common/gpu/gpu_memory_buffer_factory_x11_pixmap.cc',
700 'common/gpu/gpu_memory_buffer_factory_x11_pixmap.h',
703 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
705 'common/gpu/x_util.cc',
706 'common/gpu/x_util.h',
709 ['enable_plugins==1', {
711 '../ppapi/ppapi_internal.gyp:ppapi_shared',
713 }, { # enable_plugins == 0
715 'common/pepper_file_util.cc',
716 'common/pepper_file_util.h',
717 'common/pepper_messages.h',
718 'common/pepper_plugin_list.cc',
719 'common/pepper_plugin_list.h',
720 'common/pepper_renderer_instance_data.cc',
721 'common/pepper_renderer_instance_data.h',
722 'common/plugin_list.cc',
723 'common/plugin_list.h',
724 'common/plugin_list_posix.cc',
725 'common/sandbox_util.cc',
726 'public/common/pepper_plugin_info.cc',
727 'public/common/pepper_plugin_info.h',
732 '../media/media.gyp:media',
735 'common/gpu/media/android_video_decode_accelerator.cc',
736 'common/gpu/media/android_video_decode_accelerator.h',
739 ['OS=="android" and enable_webrtc==1', {
741 '../third_party/libyuv/libyuv.gyp:libyuv',
744 'common/gpu/media/android_video_encode_accelerator.cc',
745 'common/gpu/media/android_video_encode_accelerator.h',
748 ['enable_webrtc==1', {
750 '../third_party/libjingle/libjingle.gyp:libjingle',
753 ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', {
755 '../media/media.gyp:media',
758 'common/gpu/media/exynos_v4l2_video_device.cc',
759 'common/gpu/media/exynos_v4l2_video_device.h',
760 'common/gpu/media/tegra_v4l2_video_device.cc',
761 'common/gpu/media/tegra_v4l2_video_device.h',
762 'common/gpu/media/v4l2_image_processor.cc',
763 'common/gpu/media/v4l2_image_processor.h',
764 'common/gpu/media/v4l2_video_decode_accelerator.cc',
765 'common/gpu/media/v4l2_video_decode_accelerator.h',
766 'common/gpu/media/v4l2_video_device.cc',
767 'common/gpu/media/v4l2_video_device.h',
768 'common/gpu/media/v4l2_video_encode_accelerator.cc',
769 'common/gpu/media/v4l2_video_encode_accelerator.h',
772 '<(DEPTH)/third_party/khronos',
775 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', {
777 '../media/media.gyp:media',
778 '../third_party/libyuv/libyuv.gyp:libyuv',
781 'common/gpu/media/h264_dpb.cc',
782 'common/gpu/media/h264_dpb.h',
783 'common/gpu/media/va_surface.h',
784 'common/gpu/media/vaapi_h264_decoder.cc',
785 'common/gpu/media/vaapi_h264_decoder.h',
786 'common/gpu/media/vaapi_video_decode_accelerator.cc',
787 'common/gpu/media/vaapi_video_decode_accelerator.h',
788 'common/gpu/media/vaapi_video_encode_accelerator.cc',
789 'common/gpu/media/vaapi_video_encode_accelerator.h',
790 'common/gpu/media/vaapi_wrapper.cc',
791 'common/gpu/media/vaapi_wrapper.h',
794 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
795 'extra_header': 'common/gpu/media/va_stub_header.fragment',
796 'sig_files': ['common/gpu/media/va.sigs'],
797 'outfile_type': 'posix_stubs',
798 'stubs_filename_root': 'va_stubs',
799 'project_path': 'content/common/gpu/media',
800 'intermediate_dir': '<(INTERMEDIATE_DIR)',
801 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
804 '<(DEPTH)/third_party/libva',
805 '<(DEPTH)/third_party/libyuv',
810 'action_name': 'generate_stubs',
812 '<(generate_stubs_script)',
817 '<(intermediate_dir)/<(stubs_filename_root).cc',
818 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
821 '<(generate_stubs_script)',
822 '-i', '<(intermediate_dir)',
823 '-o', '<(output_root)/<(project_path)',
824 '-t', '<(outfile_type)',
825 '-e', '<(extra_header)',
826 '-s', '<(stubs_filename_root)',
827 '-p', '<(project_path)',
830 'process_outputs_as_sources': 1,
831 'message': 'Generating libva stubs for dynamic loading',
837 '../media/media.gyp:media',
838 '../ui/gl/gl.gyp:gl',
861 'common/gpu/media/dxva_video_decode_accelerator.cc',
862 'common/gpu/media/dxva_video_decode_accelerator.h',
865 '<(DEPTH)/third_party/khronos',
868 ['OS=="win" and directxsdk_exists=="True"', {
871 'action_name': 'extract_xinput',
873 'input': 'APR2007_xinput_<(winsdk_arch).cab',
874 'output': 'xinput1_3.dll',
877 '../third_party/directxsdk/files/Redist/<(input)',
880 '<(PRODUCT_DIR)/<(output)',
884 '../build/extract_from_cab.py',
885 '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
892 ['use_seccomp_bpf==0', {
894 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
895 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
896 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
897 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
898 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
899 'common/sandbox_linux/bpf_gpu_policy_linux.h',
900 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
901 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
902 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
903 'common/sandbox_linux/bpf_renderer_policy_linux.h',
904 'common/sandbox_linux/bpf_utility_policy_linux.cc',
905 'common/sandbox_linux/bpf_utility_policy_linux.h',
906 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
907 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
910 'defines': ['USE_SECCOMP_BPF'],
914 '../ui/ozone/ozone.gyp:ozone',
915 '../ui/ozone/gpu/ozone_gpu.gyp:ozone_gpu',
918 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
921 'common/gpu/client/gpu_memory_buffer_impl_linux.cc',