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/accessibility/accessibility.gyp:ax_gen',
16 '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
17 '../ui/base/ui_base.gyp:ui_base',
18 '../ui/events/events.gyp:events_ipc',
19 '../ui/gfx/gfx.gyp:gfx',
20 '../ui/gfx/gfx.gyp:gfx_geometry',
21 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
22 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
23 '../url/url.gyp:url_lib',
28 'export_dependent_settings': [
29 '../base/base.gyp:base',
30 # The public content API headers directly include Blink API headers, so we
31 # have to export the blink header settings so that relative paths in these
32 # headers resolve correctly.
33 '../third_party/WebKit/public/blink_headers.gyp:blink_headers',
34 '../ui/accessibility/accessibility.gyp:ax_gen',
39 'public_common_sources': [
40 'public/common/appcache_info.h',
41 'public/common/bindings_policy.h',
42 'public/common/browser_plugin_guest_mode.cc',
43 'public/common/browser_plugin_guest_mode.h',
44 'public/common/child_process_host.h',
45 'public/common/child_process_host_delegate.cc',
46 'public/common/child_process_host_delegate.h',
47 'public/common/child_process_sandbox_support_linux.h',
48 'public/common/color_suggestion.cc',
49 'public/common/color_suggestion.h',
50 'public/common/common_param_traits.cc',
51 'public/common/common_param_traits.h',
52 'public/common/common_param_traits_macros.h',
53 'public/common/console_message_level.h',
54 'public/common/content_client.cc',
55 'public/common/content_client.h',
56 'public/common/content_constants.cc',
57 'public/common/content_constants.h',
58 'public/common/content_descriptors.h',
59 'public/common/content_ipc_logging.h',
60 'public/common/content_paths.h',
61 'public/common/content_switches.cc',
62 'public/common/content_switches.h',
63 'public/common/context_menu_params.cc',
64 'public/common/context_menu_params.h',
65 'public/common/drop_data.cc',
66 'public/common/drop_data.h',
67 'public/common/dwrite_font_platform_win.h',
68 'public/common/favicon_url.cc',
69 'public/common/favicon_url.h',
70 'public/common/file_chooser_file_info.cc',
71 'public/common/file_chooser_file_info.h',
72 'public/common/file_chooser_params.cc',
73 'public/common/file_chooser_params.h',
74 'public/common/frame_navigate_params.cc',
75 'public/common/frame_navigate_params.h',
76 'public/common/geoposition.cc',
77 'public/common/geoposition.h',
78 'public/common/gpu_memory_stats.cc',
79 'public/common/gpu_memory_stats.h',
80 'public/common/injection_test_mac.h',
81 'public/common/injection_test_win.h',
82 'public/common/javascript_message_type.h',
83 'public/common/main_function_params.h',
84 'public/common/manifest.cc',
85 'public/common/manifest.h',
86 'public/common/media_stream_request.cc',
87 'public/common/media_stream_request.h',
88 'public/common/menu_item.cc',
89 'public/common/menu_item.h',
90 'public/common/message_port_types.cc',
91 'public/common/message_port_types.h',
92 'public/common/mojo_channel_switches.cc',
93 'public/common/mojo_channel_switches.h',
94 'public/common/navigator_connect_client.cc',
95 'public/common/navigator_connect_client.h',
96 'public/common/origin_util.h',
97 'public/common/page_state.cc',
98 'public/common/page_state.h',
99 'public/common/page_type.h',
100 'public/common/page_zoom.h',
101 'public/common/pepper_plugin_info.cc',
102 'public/common/pepper_plugin_info.h',
103 'public/common/persistent_notification_status.h',
104 'public/common/platform_notification_data.cc',
105 'public/common/platform_notification_data.h',
106 'public/common/presentation_constants.cc',
107 'public/common/presentation_constants.h',
108 'public/common/process_type.h',
109 'public/common/push_messaging_status.cc',
110 'public/common/push_messaging_status.h',
111 'public/common/referrer.cc',
112 'public/common/referrer.h',
113 'public/common/renderer_preferences.cc',
114 'public/common/renderer_preferences.h',
115 'public/common/request_context_frame_type.h',
116 'public/common/request_context_type.h',
117 'public/common/resource_devtools_info.cc',
118 'public/common/resource_devtools_info.h',
119 'public/common/resource_response.cc',
120 'public/common/resource_response.h',
121 'public/common/resource_response_info.cc',
122 'public/common/resource_response_info.h',
123 'public/common/resource_type.cc',
124 'public/common/resource_type.h',
125 'public/common/result_codes.h',
126 'public/common/sandbox_init.h',
127 'public/common/sandbox_linux.h',
128 'public/common/sandbox_type.h',
129 'public/common/sandboxed_process_launcher_delegate.cc',
130 'public/common/sandboxed_process_launcher_delegate.h',
131 'public/common/security_style.h',
132 'public/common/send_zygote_child_ping_linux.h',
133 'public/common/service_registry.h',
134 'public/common/signed_certificate_timestamp_id_and_status.cc',
135 'public/common/signed_certificate_timestamp_id_and_status.h',
136 'public/common/speech_recognition_error.h',
137 'public/common/speech_recognition_grammar.h',
138 'public/common/speech_recognition_result.cc',
139 'public/common/speech_recognition_result.h',
140 'public/common/ssl_status.cc',
141 'public/common/ssl_status.h',
142 'public/common/stop_find_action.h',
143 'public/common/storage_quota_params.h',
144 'public/common/three_d_api_types.h',
145 'public/common/top_controls_state.h',
146 'public/common/transition_element.h',
147 'public/common/url_constants.cc',
148 'public/common/url_constants.h',
149 'public/common/url_fetcher.h',
150 'public/common/url_utils.cc',
151 'public/common/url_utils.h',
152 'public/common/user_agent.h',
153 'public/common/web_preferences.cc',
154 'public/common/web_preferences.h',
155 'public/common/webplugininfo.cc',
156 'public/common/webplugininfo.h',
157 'public/common/window_container_type.cc',
158 'public/common/window_container_type.h',
159 'public/common/zygote_fork_delegate_linux.h',
161 'private_common_sources': [
162 'common/accessibility_messages.h',
163 'common/all_messages.h',
164 'common/android/address_parser.cc',
165 'common/android/address_parser.h',
166 'common/android/address_parser_internal.cc',
167 'common/android/address_parser_internal.h',
168 'common/android/common_jni_registrar.cc',
169 'common/android/common_jni_registrar.h',
170 'common/android/gin_java_bridge_errors.cc',
171 'common/android/gin_java_bridge_errors.h',
172 'common/android/gin_java_bridge_value.cc',
173 'common/android/gin_java_bridge_value.h',
174 'common/android/hash_set.cc',
175 'common/android/hash_set.h',
176 'common/android/surface_texture_manager.cc',
177 'common/android/surface_texture_manager.h',
178 'common/android/surface_texture_peer.cc',
179 'common/android/surface_texture_peer.h',
180 'common/appcache_interfaces.cc',
181 'common/appcache_interfaces.h',
182 'common/appcache_messages.h',
183 'common/ax_content_node_data.cc',
184 'common/ax_content_node_data.h',
185 'common/bluetooth/bluetooth_device.cc',
186 'common/bluetooth/bluetooth_device.h',
187 'common/bluetooth/bluetooth_messages.h',
188 'common/bluetooth/bluetooth_scan_filter.cc',
189 'common/bluetooth/bluetooth_scan_filter.h',
190 'common/browser_plugin/browser_plugin_constants.cc',
191 'common/browser_plugin/browser_plugin_constants.h',
192 'common/browser_plugin/browser_plugin_messages.h',
193 'common/cache_storage/cache_storage_messages.h',
194 'common/cache_storage/cache_storage_types.cc',
195 'common/cache_storage/cache_storage_types.h',
196 'common/cc_messages.cc',
197 'common/cc_messages.h',
198 'common/child_process_host_impl.cc',
199 'common/child_process_host_impl.h',
200 'common/child_process_messages.h',
201 'common/child_process_sandbox_support_impl_linux.cc',
202 'common/child_process_sandbox_support_impl_linux.h',
203 'common/child_process_sandbox_support_impl_shm_linux.cc',
204 'common/clipboard_format.h',
205 'common/clipboard_messages.h',
206 'common/content_constants_internal.cc',
207 'common/content_constants_internal.h',
208 'common/content_export.h',
209 'common/content_ipc_logging.cc',
210 'common/content_message_generator.cc',
211 'common/content_message_generator.h',
212 'common/content_param_traits.cc',
213 'common/content_param_traits.h',
214 'common/content_param_traits_macros.h',
215 'common/content_paths.cc',
216 'common/content_switches_internal.cc',
217 'common/content_switches_internal.h',
218 'common/cross_site_document_classifier.cc',
219 'common/cross_site_document_classifier.h',
220 'common/cursors/webcursor.cc',
221 'common/cursors/webcursor.h',
222 'common/cursors/webcursor_android.cc',
223 'common/cursors/webcursor_aura.cc',
224 'common/cursors/webcursor_aurawin.cc',
225 'common/cursors/webcursor_aurax11.cc',
226 'common/cursors/webcursor_mac.mm',
227 'common/cursors/webcursor_ozone.cc',
228 'common/database_messages.h',
229 'common/date_time_suggestion.h',
230 'common/device_sensors/device_light_data.h',
231 'common/device_sensors/device_light_hardware_buffer.h',
232 'common/device_sensors/device_light_messages.h',
233 'common/device_sensors/device_motion_hardware_buffer.h',
234 'common/device_sensors/device_motion_messages.h',
235 'common/device_sensors/device_orientation_hardware_buffer.h',
236 'common/device_sensors/device_orientation_messages.h',
237 'common/devtools_messages.h',
238 'common/discardable_shared_memory_heap.cc',
239 'common/discardable_shared_memory_heap.h',
240 'common/dom_storage/dom_storage_map.cc',
241 'common/dom_storage/dom_storage_map.h',
242 'common/dom_storage/dom_storage_messages.h',
243 'common/drag_event_source_info.h',
244 'common/drag_messages.h',
245 'common/drag_traits.h',
246 'common/dwrite_font_platform_win.cc',
247 'common/edit_command.h',
248 'common/file_utilities_messages.h',
249 'common/fileapi/file_system_messages.h',
250 'common/fileapi/webblob_messages.h',
251 'common/font_cache_dispatcher_win.cc',
252 'common/font_cache_dispatcher_win.h',
253 'common/font_config_ipc_linux.cc',
254 'common/font_config_ipc_linux.h',
255 'common/font_list.cc',
256 'common/font_list.h',
257 'common/font_list_android.cc',
258 'common/font_list_mac.mm',
259 'common/font_list_ozone.cc',
260 'common/font_list_pango.cc',
261 'common/font_list_win.cc',
262 'common/frame_message_enums.h',
263 'common/frame_messages.h',
264 'common/frame_param.cc',
265 'common/frame_param.h',
266 'common/frame_param_macros.h',
267 'common/frame_replication_state.cc',
268 'common/frame_replication_state.h',
269 'common/gamepad_hardware_buffer.h',
270 'common/gamepad_messages.h',
271 'common/gamepad_param_traits.cc',
272 'common/gamepad_param_traits.h',
273 'common/gamepad_user_gesture.cc',
274 'common/gamepad_user_gesture.h',
275 'common/generic_shared_memory_id_generator.cc',
276 'common/generic_shared_memory_id_generator.h',
277 'common/geofencing_messages.h',
278 'common/geofencing_types.cc',
279 'common/geofencing_types.h',
280 'common/gin_java_bridge_messages.h',
281 'common/gpu/client/command_buffer_metrics.cc',
282 'common/gpu/client/command_buffer_metrics.h',
283 'common/gpu/client/command_buffer_proxy_impl.cc',
284 'common/gpu/client/command_buffer_proxy_impl.h',
285 'common/gpu/client/context_provider_command_buffer.cc',
286 'common/gpu/client/context_provider_command_buffer.h',
287 'common/gpu/client/gl_helper.cc',
288 'common/gpu/client/gl_helper.h',
289 'common/gpu/client/gl_helper_readback_support.cc',
290 'common/gpu/client/gl_helper_readback_support.h',
291 'common/gpu/client/gl_helper_scaling.cc',
292 'common/gpu/client/gl_helper_scaling.h',
293 'common/gpu/client/gpu_channel_host.cc',
294 'common/gpu/client/gpu_channel_host.h',
295 'common/gpu/client/gpu_jpeg_decode_accelerator_host.cc',
296 'common/gpu/client/gpu_jpeg_decode_accelerator_host.h',
297 'common/gpu/client/gpu_memory_buffer_impl.cc',
298 'common/gpu/client/gpu_memory_buffer_impl.h',
299 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc',
300 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h',
301 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc',
302 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.h',
303 'common/gpu/client/gpu_video_decode_accelerator_host.cc',
304 'common/gpu/client/gpu_video_decode_accelerator_host.h',
305 'common/gpu/client/gpu_video_encode_accelerator_host.cc',
306 'common/gpu/client/gpu_video_encode_accelerator_host.h',
307 'common/gpu/client/grcontext_for_webgraphicscontext3d.cc',
308 'common/gpu/client/grcontext_for_webgraphicscontext3d.h',
309 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
310 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
311 'common/gpu/gpu_channel.cc',
312 'common/gpu/gpu_channel.h',
313 'common/gpu/gpu_channel_manager.cc',
314 'common/gpu/gpu_channel_manager.h',
315 'common/gpu/gpu_command_buffer_stub.cc',
316 'common/gpu/gpu_command_buffer_stub.h',
317 'common/gpu/gpu_config.h',
318 'common/gpu/gpu_memory_buffer_factory.cc',
319 'common/gpu/gpu_memory_buffer_factory.h',
320 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
321 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
322 'common/gpu/gpu_memory_buffer_factory_shared_memory.cc',
323 'common/gpu/gpu_memory_buffer_factory_shared_memory.h',
324 'common/gpu/gpu_memory_manager.cc',
325 'common/gpu/gpu_memory_manager.h',
326 'common/gpu/gpu_memory_manager_client.cc',
327 'common/gpu/gpu_memory_manager_client.h',
328 'common/gpu/gpu_memory_tracking.cc',
329 'common/gpu/gpu_memory_tracking.h',
330 'common/gpu/gpu_memory_uma_stats.h',
331 'common/gpu/gpu_messages.h',
332 'common/gpu/gpu_process_launch_causes.h',
333 'common/gpu/gpu_result_codes.h',
334 'common/gpu/gpu_stream_priority.h',
335 'common/gpu/gpu_surface_lookup.cc',
336 'common/gpu/gpu_surface_lookup.h',
337 'common/gpu/gpu_watchdog.h',
338 'common/gpu/image_transport_surface.cc',
339 'common/gpu/image_transport_surface.h',
340 'common/gpu/image_transport_surface_android.cc',
341 'common/gpu/image_transport_surface_calayer_mac.h',
342 'common/gpu/image_transport_surface_calayer_mac.mm',
343 'common/gpu/image_transport_surface_fbo_mac.h',
344 'common/gpu/image_transport_surface_fbo_mac.mm',
345 'common/gpu/image_transport_surface_iosurface_mac.cc',
346 'common/gpu/image_transport_surface_iosurface_mac.h',
347 'common/gpu/image_transport_surface_linux.cc',
348 'common/gpu/image_transport_surface_overlay_mac.h',
349 'common/gpu/image_transport_surface_overlay_mac.mm',
350 'common/gpu/image_transport_surface_mac.mm',
351 'common/gpu/image_transport_surface_win.cc',
352 'common/gpu/media/fake_video_decode_accelerator.cc',
353 'common/gpu/media/fake_video_decode_accelerator.h',
354 'common/gpu/media/gpu_jpeg_decode_accelerator.cc',
355 'common/gpu/media/gpu_jpeg_decode_accelerator.h',
356 'common/gpu/media/gpu_video_accelerator_util.cc',
357 'common/gpu/media/gpu_video_accelerator_util.h',
358 'common/gpu/media/gpu_video_decode_accelerator.cc',
359 'common/gpu/media/gpu_video_decode_accelerator.h',
360 'common/gpu/media/gpu_video_encode_accelerator.cc',
361 'common/gpu/media/gpu_video_encode_accelerator.h',
362 'common/gpu/null_transport_surface.cc',
363 'common/gpu/null_transport_surface.h',
364 'common/gpu/stream_texture_android.cc',
365 'common/gpu/stream_texture_android.h',
366 'common/host_discardable_shared_memory_manager.cc',
367 'common/host_discardable_shared_memory_manager.h',
368 'common/host_shared_bitmap_manager.cc',
369 'common/host_shared_bitmap_manager.h',
370 'common/in_process_child_thread_params.cc',
371 'common/in_process_child_thread_params.h',
372 'common/indexed_db/indexed_db_constants.h',
373 'common/indexed_db/indexed_db_key.cc',
374 'common/indexed_db/indexed_db_key.h',
375 'common/indexed_db/indexed_db_key_path.cc',
376 'common/indexed_db/indexed_db_key_path.h',
377 'common/indexed_db/indexed_db_key_range.cc',
378 'common/indexed_db/indexed_db_key_range.h',
379 'common/indexed_db/indexed_db_messages.h',
380 'common/indexed_db/indexed_db_param_traits.cc',
381 'common/indexed_db/indexed_db_param_traits.h',
382 'common/input/did_overscroll_params.cc',
383 'common/input/did_overscroll_params.h',
384 'common/input/gesture_event_stream_validator.cc',
385 'common/input/gesture_event_stream_validator.h',
386 'common/input/input_event.cc',
387 'common/input/input_event.h',
388 'common/input/input_event_ack.cc',
389 'common/input/input_event_ack.h',
390 'common/input/input_event_stream_validator.cc',
391 'common/input/input_event_stream_validator.h',
392 'common/input/input_param_traits.cc',
393 'common/input/input_param_traits.h',
394 'common/input/scoped_web_input_event.cc',
395 'common/input/scoped_web_input_event.h',
396 'common/input/synthetic_gesture_packet.cc',
397 'common/input/synthetic_gesture_packet.h',
398 'common/input/synthetic_gesture_params.cc',
399 'common/input/synthetic_gesture_params.h',
400 'common/input/synthetic_pinch_gesture_params.cc',
401 'common/input/synthetic_pinch_gesture_params.h',
402 'common/input/synthetic_smooth_drag_gesture_params.cc',
403 'common/input/synthetic_smooth_drag_gesture_params.h',
404 'common/input/synthetic_smooth_scroll_gesture_params.cc',
405 'common/input/synthetic_smooth_scroll_gesture_params.h',
406 'common/input/synthetic_tap_gesture_params.cc',
407 'common/input/synthetic_tap_gesture_params.h',
408 'common/input/synthetic_web_input_event_builders.cc',
409 'common/input/synthetic_web_input_event_builders.h',
410 'common/input/touch_event_stream_validator.cc',
411 'common/input/touch_event_stream_validator.h',
412 'common/input/web_input_event_traits.cc',
413 'common/input/web_input_event_traits.h',
414 'common/input/web_touch_event_traits.cc',
415 'common/input/web_touch_event_traits.h',
416 'common/input_messages.h',
417 'common/inter_process_time_ticks_converter.cc',
418 'common/inter_process_time_ticks_converter.h',
419 'common/mac/attributed_string_coder.h',
420 'common/mac/attributed_string_coder.mm',
421 'common/mac/font_descriptor.h',
422 'common/mac/font_descriptor.mm',
423 'common/mac/font_loader.h',
424 'common/mac/font_loader.mm',
425 'common/mac/io_surface_manager.cc',
426 'common/mac/io_surface_manager.h',
427 'common/mac/io_surface_manager_messages.h',
428 'common/mac/io_surface_manager_token.h',
429 'common/manifest_manager_messages.h',
430 'common/media/aec_dump_messages.h',
431 'common/media/audio_messages.h',
432 'common/media/cdm_messages.h',
433 'common/media/cdm_messages_enums.h',
434 'common/media/media_param_traits.cc',
435 'common/media/media_param_traits.h',
436 'common/media/media_player_messages_android.h',
437 'common/media/media_player_messages_enums_android.h',
438 'common/media/media_stream_messages.h',
439 'common/media/media_stream_options.cc',
440 'common/media/media_stream_options.h',
441 'common/media/media_stream_track_metrics_host_messages.h',
442 'common/media/midi_messages.h',
443 'common/media/video_capture.h',
444 'common/media/video_capture_messages.h',
445 'common/media/webrtc_identity_messages.h',
446 'common/memory_benchmark_messages.h',
447 'common/message_port_messages.h',
448 'common/message_router.cc',
449 'common/message_router.h',
450 'common/mime_registry_messages.h',
451 'common/mojo/channel_init.cc',
452 'common/mojo/channel_init.h',
453 'common/mojo/mojo_messages.h',
454 'common/mojo/service_registry_impl.cc',
455 'common/mojo/service_registry_impl.h',
456 'common/navigation_gesture.h',
457 'common/navigation_params.cc',
458 'common/navigation_params.h',
459 'common/net/url_fetcher.cc',
460 'common/net/url_request_user_data.cc',
461 'common/net/url_request_user_data.h',
462 'common/notification_constants.h',
463 'common/one_writer_seqlock.cc',
464 'common/one_writer_seqlock.h',
465 'common/origin_util.cc',
466 'common/p2p_messages.h',
467 'common/page_state_serialization.cc',
468 'common/page_state_serialization.h',
469 'common/page_zoom.cc',
470 'common/pepper_file_util.cc',
471 'common/pepper_file_util.h',
472 'common/pepper_messages.h',
473 'common/pepper_plugin_list.cc',
474 'common/pepper_plugin_list.h',
475 'common/pepper_renderer_instance_data.cc',
476 'common/pepper_renderer_instance_data.h',
477 'common/platform_notification_messages.h',
478 'common/plugin_constants_win.cc',
479 'common/plugin_constants_win.h',
480 'common/plugin_list.cc',
481 'common/plugin_list.h',
482 'common/plugin_list_mac.mm',
483 'common/plugin_list_posix.cc',
484 'common/plugin_list_win.cc',
485 'common/plugin_process_messages.h',
486 'common/power_monitor_messages.h',
487 'common/process_type.cc',
488 'common/push_messaging_messages.h',
489 'common/quota_messages.h',
490 'common/resource_messages.cc',
491 'common/resource_messages.h',
492 'common/resource_request_body.cc',
493 'common/resource_request_body.h',
494 'common/sandbox_init_mac.cc',
495 'common/sandbox_init_mac.h',
496 'common/sandbox_init_win.cc',
497 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
498 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
499 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
500 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
501 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
502 'common/sandbox_linux/bpf_gpu_policy_linux.h',
503 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
504 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
505 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
506 'common/sandbox_linux/bpf_renderer_policy_linux.h',
507 'common/sandbox_linux/bpf_utility_policy_linux.cc',
508 'common/sandbox_linux/bpf_utility_policy_linux.h',
509 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
510 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
511 'common/sandbox_linux/sandbox_debug_handling_linux.cc',
512 'common/sandbox_linux/sandbox_debug_handling_linux.h',
513 'common/sandbox_linux/sandbox_init_linux.cc',
514 'common/sandbox_linux/sandbox_linux.cc',
515 'common/sandbox_linux/sandbox_linux.h',
516 'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
517 'common/sandbox_linux/sandbox_seccomp_bpf_linux.h',
518 'common/sandbox_mac.h',
519 'common/sandbox_mac.mm',
520 'common/sandbox_util.cc',
521 'common/sandbox_util.h',
522 'common/sandbox_win.cc',
523 'common/sandbox_win.h',
524 'common/savable_url_schemes.cc',
525 'common/savable_url_schemes.h',
526 'common/screen_orientation_messages.h',
527 'common/send_zygote_child_ping_linux.cc',
528 'common/service_port_type_converters.cc',
529 'common/service_port_type_converters.h',
530 'common/service_worker/embedded_worker_messages.h',
531 'common/service_worker/service_worker_client_info.cc',
532 'common/service_worker/service_worker_client_info.h',
533 'common/service_worker/service_worker_messages.h',
534 'common/service_worker/service_worker_status_code.cc',
535 'common/service_worker/service_worker_status_code.h',
536 'common/service_worker/service_worker_types.cc',
537 'common/service_worker/service_worker_types.h',
538 'common/service_worker/service_worker_type_converters.cc',
539 'common/service_worker/service_worker_type_converters.h',
540 'common/service_worker/service_worker_utils.cc',
541 'common/service_worker/service_worker_utils.h',
542 'common/set_process_title.cc',
543 'common/set_process_title.h',
544 'common/set_process_title_linux.cc',
545 'common/set_process_title_linux.h',
546 'common/site_isolation_policy.cc',
547 'common/site_isolation_policy.h',
548 'common/speech_recognition_messages.h',
549 'common/ssl_status_serialization.cc',
550 'common/ssl_status_serialization.h',
551 'common/swapped_out_messages.cc',
552 'common/swapped_out_messages.h',
553 'common/text_input_client_messages.h',
554 'common/url_schemes.cc',
555 'common/url_schemes.h',
556 'common/user_agent.cc',
557 'common/utility_messages.h',
558 'common/view_message_enums.h',
559 'common/view_messages.h',
560 'common/webplugin_geometry.cc',
561 'common/webplugin_geometry.h',
562 'common/websocket.cc',
563 'common/websocket.h',
564 'common/websocket_messages.h',
565 'common/worker_messages.h',
566 'common/zygote_commands_linux.h',
570 '<@(public_common_sources)',
571 '<@(private_common_sources)',
573 'target_conditions': [
574 ['OS=="android" and <(use_seccomp_bpf)==1', {
576 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'],
577 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
583 # iOS has different user-agent construction utilities, since the
584 # version strings is not derived from webkit_version, and follows
585 # a different format.
587 'common/user_agent.cc',
590 # iOS only needs a small portion of content; exclude all the
591 # implementation, and re-include what is used.
592 ['exclude', '\\.(cc|mm)$'],
593 ['include', '_ios\\.(cc|mm)$'],
594 ['include', '^public/common/content_client\\.cc$'],
595 ['include', '^public/common/content_constants\\.cc$'],
596 ['include', '^public/common/content_switches\\.cc$'],
597 ['include', '^public/common/frame_navigate_params\\.cc$'],
598 ['include', '^public/common/media_stream_request\\.cc$'],
599 ['include', '^public/common/page_state\\.cc$'],
600 ['include', '^public/common/password_form\\.cc$'],
601 ['include', '^public/common/signed_certificate_timestamp_id_and_status\\.cc$'],
602 ['include', '^public/common/speech_recognition_result\\.cc$'],
603 ['include', '^public/common/ssl_status\\.cc$'],
604 ['include', '^public/common/url_constants\\.cc$'],
605 ['include', '^common/content_paths\\.cc$'],
606 ['include', '^common/media/media_stream_options\\.cc$'],
607 ['include', '^common/net/url_fetcher\\.cc$'],
608 ['include', '^common/net/url_request_user_data\\.cc$'],
609 ['include', '^common/page_state_serialization\\.cc$'],
610 ['include', '^common/savable_url_schemes\\.cc$'],
611 ['include', '^common/url_schemes\\.cc$'],
616 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
617 '../gpu/blink/gpu_blink.gyp:gpu_blink',
618 '../gpu/gpu.gyp:command_buffer_service',
619 '../gpu/gpu.gyp:gles2_c_lib',
620 '../gpu/gpu.gyp:gles2_implementation',
621 # TODO: the dependency on gl_in_process_context should be decoupled from
622 # content and moved to android_webview. See crbug.com/365797.
623 '../gpu/gpu.gyp:gl_in_process_context',
624 '../gpu/gpu.gyp:gpu_ipc',
625 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
626 '../ipc/ipc.gyp:ipc',
627 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo',
628 '../media/media.gyp:media',
629 '../media/media.gyp:shared_memory_support',
630 '../media/midi/midi.gyp:midi',
631 '../mojo/mojo_base.gyp:mojo_application_bindings',
632 '../mojo/mojo_base.gyp:mojo_environment_chromium',
633 '../storage/storage_common.gyp:storage_common',
634 '../third_party/WebKit/public/blink.gyp:blink',
635 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
636 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
637 '../ui/gl/gl.gyp:gl',
638 'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
640 'export_dependent_settings' : [
641 '../mojo/mojo_base.gyp:mojo_application_bindings',
642 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
646 'action_name': 'generate_webkit_version',
653 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
657 '-f', '<(lastchange)',
662 'script': '<(DEPTH)/build/util/version.py',
663 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink',
664 'template': 'webkit_version.h.in',
671 '../media/media.gyp:media',
672 'app/resources/content_resources.gyp:content_resources',
673 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac'
676 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc',
677 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h',
678 'common/gpu/gpu_memory_buffer_factory_io_surface.cc',
679 'common/gpu/gpu_memory_buffer_factory_io_surface.h',
680 'common/gpu/media/vt.h',
681 'common/gpu/media/vt_video_decode_accelerator.cc',
682 'common/gpu/media/vt_video_decode_accelerator.h',
685 'common/plugin_list_posix.cc',
689 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
690 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
691 '$(SDKROOT)/usr/lib/libsandbox.dylib',
695 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
696 'extra_header': 'common/gpu/media/vt_stubs_header.fragment',
697 'sig_files': ['common/gpu/media/vt.sig'],
698 'outfile_type': 'posix_stubs',
699 'stubs_filename_root': 'vt_stubs',
700 'project_path': 'content/common/gpu/media',
701 'intermediate_dir': '<(INTERMEDIATE_DIR)',
702 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs',
709 'action_name': 'generate_stubs',
711 '<(generate_stubs_script)',
716 '<(intermediate_dir)/<(stubs_filename_root).cc',
717 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
720 '<(generate_stubs_script)',
721 '-i', '<(intermediate_dir)',
722 '-o', '<(output_root)/<(project_path)',
723 '-t', '<(outfile_type)',
724 '-e', '<(extra_header)',
725 '-s', '<(stubs_filename_root)',
726 '-p', '<(project_path)',
729 'process_outputs_as_sources': 1,
730 'message': 'Generating VideoToolbox stubs for dynamic loading',
736 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc',
737 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h',
738 'common/gpu/gpu_memory_buffer_factory_surface_texture.cc',
739 'common/gpu/gpu_memory_buffer_factory_surface_texture.h',
743 '-landroid', # ANativeWindow
747 'content.gyp:content_jni_headers',
748 'content.gyp:common_aidl',
753 '../build/linux/system.gyp:pangocairo',
756 'common/font_list_ozone.cc',
761 '<(DEPTH)/third_party/khronos',
764 '<(DEPTH)/build/linux/system.gyp:xcomposite',
767 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
769 'common/gpu/x_util.h',
772 ['enable_plugins==1', {
774 '../ppapi/ppapi_internal.gyp:ppapi_shared',
776 }, { # enable_plugins == 0
778 'common/pepper_file_util.cc',
779 'common/pepper_file_util.h',
780 'common/pepper_messages.h',
781 'common/pepper_plugin_list.cc',
782 'common/pepper_plugin_list.h',
783 'common/pepper_renderer_instance_data.cc',
784 'common/pepper_renderer_instance_data.h',
785 'common/plugin_list.cc',
786 'common/plugin_list.h',
787 'common/plugin_list_posix.cc',
788 'common/sandbox_util.cc',
789 'public/common/pepper_plugin_info.cc',
790 'public/common/pepper_plugin_info.h',
795 '../media/media.gyp:media',
798 'common/gpu/media/android_video_decode_accelerator.cc',
799 'common/gpu/media/android_video_decode_accelerator.h',
802 ['OS=="android" and enable_webrtc==1', {
804 '../third_party/libyuv/libyuv.gyp:libyuv',
807 'common/gpu/media/android_video_encode_accelerator.cc',
808 'common/gpu/media/android_video_encode_accelerator.h',
811 ['enable_webrtc==1', {
813 '../third_party/libjingle/libjingle.gyp:libjingle',
816 ['use_v4lplugin==1 and chromeos==1', {
821 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
822 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment',
823 'sig_files': ['common/gpu/media/v4l2.sig'],
824 'outfile_type': 'posix_stubs',
825 'stubs_filename_root': 'v4l2_stubs',
826 'project_path': 'content/common/gpu/media',
827 'intermediate_dir': '<(INTERMEDIATE_DIR)',
828 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2',
835 'action_name': 'generate_stubs',
837 '<(generate_stubs_script)',
842 '<(intermediate_dir)/<(stubs_filename_root).cc',
843 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
846 '<(generate_stubs_script)',
847 '-i', '<(intermediate_dir)',
848 '-o', '<(output_root)/<(project_path)',
849 '-t', '<(outfile_type)',
850 '-e', '<(extra_header)',
851 '-s', '<(stubs_filename_root)',
852 '-p', '<(project_path)',
855 'process_outputs_as_sources': 1,
856 'message': 'Generating libv4l2 stubs for dynamic loading',
862 'common/gpu/media/accelerated_video_decoder.h',
863 'common/gpu/media/h264_decoder.cc',
864 'common/gpu/media/h264_decoder.h',
865 'common/gpu/media/h264_dpb.cc',
866 'common/gpu/media/h264_dpb.h',
867 'common/gpu/media/vp8_decoder.cc',
868 'common/gpu/media/vp8_decoder.h',
869 'common/gpu/media/vp8_picture.cc',
870 'common/gpu/media/vp8_picture.h',
873 ['chromeos==1 and use_v4l2_codec==1', {
874 'direct_dependent_settings': {
883 '../media/media.gyp:media',
884 '../third_party/libyuv/libyuv.gyp:libyuv',
887 'common/gpu/media/generic_v4l2_device.cc',
888 'common/gpu/media/generic_v4l2_device.h',
889 'common/gpu/media/v4l2_device.cc',
890 'common/gpu/media/v4l2_device.h',
891 'common/gpu/media/v4l2_image_processor.cc',
892 'common/gpu/media/v4l2_image_processor.h',
893 'common/gpu/media/v4l2_jpeg_decode_accelerator.cc',
894 'common/gpu/media/v4l2_jpeg_decode_accelerator.h',
895 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc',
896 'common/gpu/media/v4l2_slice_video_decode_accelerator.h',
897 'common/gpu/media/v4l2_video_decode_accelerator.cc',
898 'common/gpu/media/v4l2_video_decode_accelerator.h',
899 'common/gpu/media/v4l2_video_encode_accelerator.cc',
900 'common/gpu/media/v4l2_video_encode_accelerator.h',
903 '<(DEPTH)/third_party/khronos',
906 ['target_arch == "arm" and chromeos == 1', {
908 'common/gpu/media/tegra_v4l2_device.cc',
909 'common/gpu/media/tegra_v4l2_device.h',
912 ['target_arch != "arm" and chromeos == 1', {
914 '../media/media.gyp:media',
915 '../third_party/libyuv/libyuv.gyp:libyuv',
918 'common/gpu/media/va_surface.h',
919 'common/gpu/media/vaapi_jpeg_decode_accelerator.cc',
920 'common/gpu/media/vaapi_jpeg_decode_accelerator.h',
921 'common/gpu/media/vaapi_jpeg_decoder.cc',
922 'common/gpu/media/vaapi_jpeg_decoder.h',
923 'common/gpu/media/vaapi_picture.cc',
924 'common/gpu/media/vaapi_picture.h',
925 'common/gpu/media/vaapi_video_decode_accelerator.cc',
926 'common/gpu/media/vaapi_video_decode_accelerator.h',
927 'common/gpu/media/vaapi_video_encode_accelerator.cc',
928 'common/gpu/media/vaapi_video_encode_accelerator.h',
929 'common/gpu/media/vaapi_wrapper.cc',
930 'common/gpu/media/vaapi_wrapper.h',
936 'common/gpu/media/va.sigs',
937 'common/gpu/media/va_x11.sigs',
941 'common/gpu/media/vaapi_tfp_picture.cc',
942 'common/gpu/media/vaapi_tfp_picture.h',
947 'common/gpu/media/va.sigs',
948 'common/gpu/media/va_drm.sigs',
952 'common/gpu/media/vaapi_drm_picture.cc',
953 'common/gpu/media/vaapi_drm_picture.h',
958 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
959 'extra_header': 'common/gpu/media/va_stub_header.fragment',
960 'outfile_type': 'posix_stubs',
961 'stubs_filename_root': 'va_stubs',
962 'project_path': 'content/common/gpu/media',
963 'intermediate_dir': '<(INTERMEDIATE_DIR)',
964 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
967 '<(DEPTH)/third_party/libva',
968 '<(DEPTH)/third_party/libyuv',
973 'action_name': 'generate_stubs',
975 '<(generate_stubs_script)',
980 '<(intermediate_dir)/<(stubs_filename_root).cc',
981 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
984 '<(generate_stubs_script)',
985 '-i', '<(intermediate_dir)',
986 '-o', '<(output_root)/<(project_path)',
987 '-t', '<(outfile_type)',
988 '-e', '<(extra_header)',
989 '-s', '<(stubs_filename_root)',
990 '-p', '<(project_path)',
993 'process_outputs_as_sources': 1,
994 'message': 'Generating libva stubs for dynamic loading',
1000 '../media/media.gyp:media',
1001 '../ui/gl/gl.gyp:gl',
1026 'common/gpu/media/dxva_video_decode_accelerator.cc',
1027 'common/gpu/media/dxva_video_decode_accelerator.h',
1030 '<(DEPTH)/third_party/khronos',
1033 ['OS=="win" and directxsdk_exists=="True"', {
1036 'action_name': 'extract_xinput',
1038 'input': 'APR2007_xinput_<(winsdk_arch).cab',
1039 'output': 'xinput1_3.dll',
1042 '../third_party/directxsdk/files/Redist/<(input)',
1045 '<(PRODUCT_DIR)/<(output)',
1049 '../build/extract_from_cab.py',
1050 '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
1057 ['use_seccomp_bpf==0', {
1059 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
1060 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
1061 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
1062 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
1063 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
1064 'common/sandbox_linux/bpf_gpu_policy_linux.h',
1065 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
1066 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
1067 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
1068 'common/sandbox_linux/bpf_renderer_policy_linux.h',
1069 'common/sandbox_linux/bpf_utility_policy_linux.cc',
1070 'common/sandbox_linux/bpf_utility_policy_linux.h',
1071 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
1072 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
1075 'defines': ['USE_SECCOMP_BPF'],
1079 '../ui/ozone/ozone.gyp:ozone',
1080 '../ui/ozone/ozone.gyp:ozone_base',
1083 'common/gpu/client/gpu_memory_buffer_impl_linux.cc',
1084 'common/gpu/gpu_memory_buffer_factory_linux.cc',
1088 'common/cursors/webcursor_ozone.cc',
1089 'common/font_list_ozone.cc',
1090 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
1091 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc',
1092 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h',
1093 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1094 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
1095 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',