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/font_warmup_win.cc',
263 'common/font_warmup_win.h',
264 'common/frame_message_enums.h',
265 'common/frame_messages.h',
266 'common/frame_param.cc',
267 'common/frame_param.h',
268 'common/frame_param_macros.h',
269 'common/frame_replication_state.cc',
270 'common/frame_replication_state.h',
271 'common/gamepad_hardware_buffer.h',
272 'common/gamepad_messages.h',
273 'common/gamepad_param_traits.cc',
274 'common/gamepad_param_traits.h',
275 'common/gamepad_user_gesture.cc',
276 'common/gamepad_user_gesture.h',
277 'common/generic_shared_memory_id_generator.cc',
278 'common/generic_shared_memory_id_generator.h',
279 'common/geofencing_messages.h',
280 'common/geofencing_types.cc',
281 'common/geofencing_types.h',
282 'common/gin_java_bridge_messages.h',
283 'common/gpu/client/command_buffer_metrics.cc',
284 'common/gpu/client/command_buffer_metrics.h',
285 'common/gpu/client/command_buffer_proxy_impl.cc',
286 'common/gpu/client/command_buffer_proxy_impl.h',
287 'common/gpu/client/context_provider_command_buffer.cc',
288 'common/gpu/client/context_provider_command_buffer.h',
289 'common/gpu/client/gl_helper.cc',
290 'common/gpu/client/gl_helper.h',
291 'common/gpu/client/gl_helper_readback_support.cc',
292 'common/gpu/client/gl_helper_readback_support.h',
293 'common/gpu/client/gl_helper_scaling.cc',
294 'common/gpu/client/gl_helper_scaling.h',
295 'common/gpu/client/gpu_channel_host.cc',
296 'common/gpu/client/gpu_channel_host.h',
297 'common/gpu/client/gpu_jpeg_decode_accelerator_host.cc',
298 'common/gpu/client/gpu_jpeg_decode_accelerator_host.h',
299 'common/gpu/client/gpu_memory_buffer_impl.cc',
300 'common/gpu/client/gpu_memory_buffer_impl.h',
301 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc',
302 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h',
303 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc',
304 'common/gpu/client/gpu_memory_buffer_impl_shared_memory.h',
305 'common/gpu/client/gpu_video_decode_accelerator_host.cc',
306 'common/gpu/client/gpu_video_decode_accelerator_host.h',
307 'common/gpu/client/gpu_video_encode_accelerator_host.cc',
308 'common/gpu/client/gpu_video_encode_accelerator_host.h',
309 'common/gpu/client/grcontext_for_webgraphicscontext3d.cc',
310 'common/gpu/client/grcontext_for_webgraphicscontext3d.h',
311 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
312 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
313 'common/gpu/gpu_channel.cc',
314 'common/gpu/gpu_channel.h',
315 'common/gpu/gpu_channel_manager.cc',
316 'common/gpu/gpu_channel_manager.h',
317 'common/gpu/gpu_command_buffer_stub.cc',
318 'common/gpu/gpu_command_buffer_stub.h',
319 'common/gpu/gpu_config.h',
320 'common/gpu/gpu_memory_buffer_factory.cc',
321 'common/gpu/gpu_memory_buffer_factory.h',
322 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
323 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
324 'common/gpu/gpu_memory_buffer_factory_shared_memory.cc',
325 'common/gpu/gpu_memory_buffer_factory_shared_memory.h',
326 'common/gpu/gpu_memory_manager.cc',
327 'common/gpu/gpu_memory_manager.h',
328 'common/gpu/gpu_memory_manager_client.cc',
329 'common/gpu/gpu_memory_manager_client.h',
330 'common/gpu/gpu_memory_tracking.cc',
331 'common/gpu/gpu_memory_tracking.h',
332 'common/gpu/gpu_memory_uma_stats.h',
333 'common/gpu/gpu_messages.h',
334 'common/gpu/gpu_process_launch_causes.h',
335 'common/gpu/gpu_result_codes.h',
336 'common/gpu/gpu_stream_priority.h',
337 'common/gpu/gpu_surface_lookup.cc',
338 'common/gpu/gpu_surface_lookup.h',
339 'common/gpu/gpu_watchdog.h',
340 'common/gpu/image_transport_surface.cc',
341 'common/gpu/image_transport_surface.h',
342 'common/gpu/image_transport_surface_android.cc',
343 'common/gpu/image_transport_surface_calayer_mac.h',
344 'common/gpu/image_transport_surface_calayer_mac.mm',
345 'common/gpu/image_transport_surface_fbo_mac.h',
346 'common/gpu/image_transport_surface_fbo_mac.mm',
347 'common/gpu/image_transport_surface_iosurface_mac.cc',
348 'common/gpu/image_transport_surface_iosurface_mac.h',
349 'common/gpu/image_transport_surface_linux.cc',
350 'common/gpu/image_transport_surface_overlay_mac.h',
351 'common/gpu/image_transport_surface_overlay_mac.mm',
352 'common/gpu/image_transport_surface_mac.mm',
353 'common/gpu/image_transport_surface_win.cc',
354 'common/gpu/media/fake_video_decode_accelerator.cc',
355 'common/gpu/media/fake_video_decode_accelerator.h',
356 'common/gpu/media/gpu_jpeg_decode_accelerator.cc',
357 'common/gpu/media/gpu_jpeg_decode_accelerator.h',
358 'common/gpu/media/gpu_video_accelerator_util.cc',
359 'common/gpu/media/gpu_video_accelerator_util.h',
360 'common/gpu/media/gpu_video_decode_accelerator.cc',
361 'common/gpu/media/gpu_video_decode_accelerator.h',
362 'common/gpu/media/gpu_video_encode_accelerator.cc',
363 'common/gpu/media/gpu_video_encode_accelerator.h',
364 'common/gpu/null_transport_surface.cc',
365 'common/gpu/null_transport_surface.h',
366 'common/gpu/stream_texture_android.cc',
367 'common/gpu/stream_texture_android.h',
368 'common/host_discardable_shared_memory_manager.cc',
369 'common/host_discardable_shared_memory_manager.h',
370 'common/host_shared_bitmap_manager.cc',
371 'common/host_shared_bitmap_manager.h',
372 'common/in_process_child_thread_params.cc',
373 'common/in_process_child_thread_params.h',
374 'common/indexed_db/indexed_db_constants.h',
375 'common/indexed_db/indexed_db_key.cc',
376 'common/indexed_db/indexed_db_key.h',
377 'common/indexed_db/indexed_db_key_path.cc',
378 'common/indexed_db/indexed_db_key_path.h',
379 'common/indexed_db/indexed_db_key_range.cc',
380 'common/indexed_db/indexed_db_key_range.h',
381 'common/indexed_db/indexed_db_messages.h',
382 'common/indexed_db/indexed_db_param_traits.cc',
383 'common/indexed_db/indexed_db_param_traits.h',
384 'common/input/did_overscroll_params.cc',
385 'common/input/did_overscroll_params.h',
386 'common/input/gesture_event_stream_validator.cc',
387 'common/input/gesture_event_stream_validator.h',
388 'common/input/input_event.cc',
389 'common/input/input_event.h',
390 'common/input/input_event_ack.cc',
391 'common/input/input_event_ack.h',
392 'common/input/input_event_stream_validator.cc',
393 'common/input/input_event_stream_validator.h',
394 'common/input/input_param_traits.cc',
395 'common/input/input_param_traits.h',
396 'common/input/scoped_web_input_event.cc',
397 'common/input/scoped_web_input_event.h',
398 'common/input/synthetic_gesture_packet.cc',
399 'common/input/synthetic_gesture_packet.h',
400 'common/input/synthetic_gesture_params.cc',
401 'common/input/synthetic_gesture_params.h',
402 'common/input/synthetic_pinch_gesture_params.cc',
403 'common/input/synthetic_pinch_gesture_params.h',
404 'common/input/synthetic_smooth_drag_gesture_params.cc',
405 'common/input/synthetic_smooth_drag_gesture_params.h',
406 'common/input/synthetic_smooth_scroll_gesture_params.cc',
407 'common/input/synthetic_smooth_scroll_gesture_params.h',
408 'common/input/synthetic_tap_gesture_params.cc',
409 'common/input/synthetic_tap_gesture_params.h',
410 'common/input/synthetic_web_input_event_builders.cc',
411 'common/input/synthetic_web_input_event_builders.h',
412 'common/input/touch_event_stream_validator.cc',
413 'common/input/touch_event_stream_validator.h',
414 'common/input/web_input_event_traits.cc',
415 'common/input/web_input_event_traits.h',
416 'common/input/web_touch_event_traits.cc',
417 'common/input/web_touch_event_traits.h',
418 'common/input_messages.h',
419 'common/inter_process_time_ticks_converter.cc',
420 'common/inter_process_time_ticks_converter.h',
421 'common/mac/attributed_string_coder.h',
422 'common/mac/attributed_string_coder.mm',
423 'common/mac/font_descriptor.h',
424 'common/mac/font_descriptor.mm',
425 'common/mac/font_loader.h',
426 'common/mac/font_loader.mm',
427 'common/mac/io_surface_manager.cc',
428 'common/mac/io_surface_manager.h',
429 'common/mac/io_surface_manager_messages.h',
430 'common/mac/io_surface_manager_token.h',
431 'common/manifest_manager_messages.h',
432 'common/media/aec_dump_messages.h',
433 'common/media/audio_messages.h',
434 'common/media/cdm_messages.h',
435 'common/media/cdm_messages_enums.h',
436 'common/media/media_param_traits.cc',
437 'common/media/media_param_traits.h',
438 'common/media/media_player_messages_android.h',
439 'common/media/media_player_messages_enums_android.h',
440 'common/media/media_stream_messages.h',
441 'common/media/media_stream_options.cc',
442 'common/media/media_stream_options.h',
443 'common/media/media_stream_track_metrics_host_messages.h',
444 'common/media/midi_messages.h',
445 'common/media/video_capture.h',
446 'common/media/video_capture_messages.h',
447 'common/media/webrtc_identity_messages.h',
448 'common/memory_benchmark_messages.h',
449 'common/message_port_messages.h',
450 'common/message_router.cc',
451 'common/message_router.h',
452 'common/mime_registry_messages.h',
453 'common/mojo/channel_init.cc',
454 'common/mojo/channel_init.h',
455 'common/mojo/mojo_messages.h',
456 'common/mojo/service_registry_impl.cc',
457 'common/mojo/service_registry_impl.h',
458 'common/navigation_gesture.h',
459 'common/navigation_params.cc',
460 'common/navigation_params.h',
461 'common/net/url_fetcher.cc',
462 'common/net/url_request_user_data.cc',
463 'common/net/url_request_user_data.h',
464 'common/notification_constants.h',
465 'common/one_writer_seqlock.cc',
466 'common/one_writer_seqlock.h',
467 'common/origin_util.cc',
468 'common/p2p_messages.h',
469 'common/page_state_serialization.cc',
470 'common/page_state_serialization.h',
471 'common/page_zoom.cc',
472 'common/pepper_file_util.cc',
473 'common/pepper_file_util.h',
474 'common/pepper_messages.h',
475 'common/pepper_plugin_list.cc',
476 'common/pepper_plugin_list.h',
477 'common/pepper_renderer_instance_data.cc',
478 'common/pepper_renderer_instance_data.h',
479 'common/platform_notification_messages.h',
480 'common/plugin_constants_win.cc',
481 'common/plugin_constants_win.h',
482 'common/plugin_list.cc',
483 'common/plugin_list.h',
484 'common/plugin_list_mac.mm',
485 'common/plugin_list_posix.cc',
486 'common/plugin_list_win.cc',
487 'common/plugin_process_messages.h',
488 'common/power_monitor_messages.h',
489 'common/process_type.cc',
490 'common/push_messaging_messages.h',
491 'common/quota_messages.h',
492 'common/render_process_messages.h',
493 'common/resource_messages.cc',
494 'common/resource_messages.h',
495 'common/resource_request_body.cc',
496 'common/resource_request_body.h',
497 'common/sandbox_init_mac.cc',
498 'common/sandbox_init_mac.h',
499 'common/sandbox_init_win.cc',
500 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
501 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
502 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
503 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
504 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
505 'common/sandbox_linux/bpf_gpu_policy_linux.h',
506 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
507 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
508 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
509 'common/sandbox_linux/bpf_renderer_policy_linux.h',
510 'common/sandbox_linux/bpf_utility_policy_linux.cc',
511 'common/sandbox_linux/bpf_utility_policy_linux.h',
512 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
513 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
514 'common/sandbox_linux/sandbox_debug_handling_linux.cc',
515 'common/sandbox_linux/sandbox_debug_handling_linux.h',
516 'common/sandbox_linux/sandbox_init_linux.cc',
517 'common/sandbox_linux/sandbox_linux.cc',
518 'common/sandbox_linux/sandbox_linux.h',
519 'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
520 'common/sandbox_linux/sandbox_seccomp_bpf_linux.h',
521 'common/sandbox_mac.h',
522 'common/sandbox_mac.mm',
523 'common/sandbox_util.cc',
524 'common/sandbox_util.h',
525 'common/sandbox_win.cc',
526 'common/sandbox_win.h',
527 'common/savable_url_schemes.cc',
528 'common/savable_url_schemes.h',
529 'common/screen_orientation_messages.h',
530 'common/send_zygote_child_ping_linux.cc',
531 'common/service_port_type_converters.cc',
532 'common/service_port_type_converters.h',
533 'common/service_worker/embedded_worker_messages.h',
534 'common/service_worker/service_worker_client_info.cc',
535 'common/service_worker/service_worker_client_info.h',
536 'common/service_worker/service_worker_messages.h',
537 'common/service_worker/service_worker_status_code.cc',
538 'common/service_worker/service_worker_status_code.h',
539 'common/service_worker/service_worker_types.cc',
540 'common/service_worker/service_worker_types.h',
541 'common/service_worker/service_worker_type_converters.cc',
542 'common/service_worker/service_worker_type_converters.h',
543 'common/service_worker/service_worker_utils.cc',
544 'common/service_worker/service_worker_utils.h',
545 'common/set_process_title.cc',
546 'common/set_process_title.h',
547 'common/set_process_title_linux.cc',
548 'common/set_process_title_linux.h',
549 'common/site_isolation_policy.cc',
550 'common/site_isolation_policy.h',
551 'common/speech_recognition_messages.h',
552 'common/ssl_status_serialization.cc',
553 'common/ssl_status_serialization.h',
554 'common/swapped_out_messages.cc',
555 'common/swapped_out_messages.h',
556 'common/text_input_client_messages.h',
557 'common/url_schemes.cc',
558 'common/url_schemes.h',
559 'common/user_agent.cc',
560 'common/utility_messages.h',
561 'common/view_message_enums.h',
562 'common/view_messages.h',
563 'common/webplugin_geometry.cc',
564 'common/webplugin_geometry.h',
565 'common/websocket.cc',
566 'common/websocket.h',
567 'common/websocket_messages.h',
568 'common/worker_messages.h',
569 'common/zygote_commands_linux.h',
573 '<@(public_common_sources)',
574 '<@(private_common_sources)',
576 'target_conditions': [
577 ['OS=="android" and <(use_seccomp_bpf)==1', {
579 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'],
580 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
586 # iOS has different user-agent construction utilities, since the
587 # version strings is not derived from webkit_version, and follows
588 # a different format.
590 'common/user_agent.cc',
593 # iOS only needs a small portion of content; exclude all the
594 # implementation, and re-include what is used.
595 ['exclude', '\\.(cc|mm)$'],
596 ['include', '_ios\\.(cc|mm)$'],
597 ['include', '^public/common/content_client\\.cc$'],
598 ['include', '^public/common/content_constants\\.cc$'],
599 ['include', '^public/common/content_switches\\.cc$'],
600 ['include', '^public/common/frame_navigate_params\\.cc$'],
601 ['include', '^public/common/media_stream_request\\.cc$'],
602 ['include', '^public/common/page_state\\.cc$'],
603 ['include', '^public/common/password_form\\.cc$'],
604 ['include', '^public/common/signed_certificate_timestamp_id_and_status\\.cc$'],
605 ['include', '^public/common/speech_recognition_result\\.cc$'],
606 ['include', '^public/common/ssl_status\\.cc$'],
607 ['include', '^public/common/url_constants\\.cc$'],
608 ['include', '^common/content_paths\\.cc$'],
609 ['include', '^common/media/media_stream_options\\.cc$'],
610 ['include', '^common/net/url_fetcher\\.cc$'],
611 ['include', '^common/net/url_request_user_data\\.cc$'],
612 ['include', '^common/page_state_serialization\\.cc$'],
613 ['include', '^common/savable_url_schemes\\.cc$'],
614 ['include', '^common/url_schemes\\.cc$'],
619 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
620 '../gpu/blink/gpu_blink.gyp:gpu_blink',
621 '../gpu/gpu.gyp:command_buffer_service',
622 '../gpu/gpu.gyp:gles2_c_lib',
623 '../gpu/gpu.gyp:gles2_implementation',
624 # TODO: the dependency on gl_in_process_context should be decoupled from
625 # content and moved to android_webview. See crbug.com/365797.
626 '../gpu/gpu.gyp:gl_in_process_context',
627 '../gpu/gpu.gyp:gpu_ipc',
628 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
629 '../ipc/ipc.gyp:ipc',
630 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo',
631 '../media/media.gyp:media',
632 '../media/media.gyp:shared_memory_support',
633 '../media/midi/midi.gyp:midi',
634 '../mojo/mojo_base.gyp:mojo_application_bindings',
635 '../mojo/mojo_base.gyp:mojo_environment_chromium',
636 '../storage/storage_common.gyp:storage_common',
637 '../third_party/WebKit/public/blink.gyp:blink',
638 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
639 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
640 '../ui/gl/gl.gyp:gl',
641 'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
643 'export_dependent_settings' : [
644 '../mojo/mojo_base.gyp:mojo_application_bindings',
645 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
649 'action_name': 'generate_webkit_version',
656 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
660 '-f', '<(lastchange)',
665 'script': '<(DEPTH)/build/util/version.py',
666 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink',
667 'template': 'webkit_version.h.in',
674 '../media/media.gyp:media',
675 'app/resources/content_resources.gyp:content_resources',
676 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac'
679 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc',
680 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h',
681 'common/gpu/gpu_memory_buffer_factory_io_surface.cc',
682 'common/gpu/gpu_memory_buffer_factory_io_surface.h',
683 'common/gpu/media/vt.h',
684 'common/gpu/media/vt_video_decode_accelerator.cc',
685 'common/gpu/media/vt_video_decode_accelerator.h',
688 'common/plugin_list_posix.cc',
692 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
693 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
694 '$(SDKROOT)/usr/lib/libsandbox.dylib',
698 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
699 'extra_header': 'common/gpu/media/vt_stubs_header.fragment',
700 'sig_files': ['common/gpu/media/vt.sig'],
701 'outfile_type': 'posix_stubs',
702 'stubs_filename_root': 'vt_stubs',
703 'project_path': 'content/common/gpu/media',
704 'intermediate_dir': '<(INTERMEDIATE_DIR)',
705 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs',
712 'action_name': 'generate_stubs',
714 '<(generate_stubs_script)',
719 '<(intermediate_dir)/<(stubs_filename_root).cc',
720 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
723 '<(generate_stubs_script)',
724 '-i', '<(intermediate_dir)',
725 '-o', '<(output_root)/<(project_path)',
726 '-t', '<(outfile_type)',
727 '-e', '<(extra_header)',
728 '-s', '<(stubs_filename_root)',
729 '-p', '<(project_path)',
732 'process_outputs_as_sources': 1,
733 'message': 'Generating VideoToolbox stubs for dynamic loading',
739 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc',
740 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h',
741 'common/gpu/gpu_memory_buffer_factory_surface_texture.cc',
742 'common/gpu/gpu_memory_buffer_factory_surface_texture.h',
746 '-landroid', # ANativeWindow
750 'content.gyp:content_jni_headers',
751 'content.gyp:common_aidl',
756 '../build/linux/system.gyp:pangocairo',
759 'common/font_list_ozone.cc',
764 '<(DEPTH)/third_party/khronos',
767 '<(DEPTH)/build/linux/system.gyp:xcomposite',
770 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
772 'common/gpu/x_util.h',
775 ['enable_plugins==1', {
777 '../ppapi/ppapi_internal.gyp:ppapi_shared',
779 }, { # enable_plugins == 0
781 'common/pepper_file_util.cc',
782 'common/pepper_file_util.h',
783 'common/pepper_messages.h',
784 'common/pepper_plugin_list.cc',
785 'common/pepper_plugin_list.h',
786 'common/pepper_renderer_instance_data.cc',
787 'common/pepper_renderer_instance_data.h',
788 'common/plugin_list.cc',
789 'common/plugin_list.h',
790 'common/plugin_list_posix.cc',
791 'common/sandbox_util.cc',
792 'public/common/pepper_plugin_info.cc',
793 'public/common/pepper_plugin_info.h',
798 '../media/media.gyp:media',
801 'common/gpu/media/android_copying_backing_strategy.cc',
802 'common/gpu/media/android_copying_backing_strategy.h',
803 'common/gpu/media/android_video_decode_accelerator.cc',
804 'common/gpu/media/android_video_decode_accelerator.h',
805 'common/gpu/media/avda_return_on_failure.h',
808 ['OS=="android" and enable_webrtc==1', {
810 '../third_party/libyuv/libyuv.gyp:libyuv',
813 'common/gpu/media/android_video_encode_accelerator.cc',
814 'common/gpu/media/android_video_encode_accelerator.h',
817 ['enable_webrtc==1', {
819 '../third_party/libjingle/libjingle.gyp:libjingle',
822 ['use_v4lplugin==1 and chromeos==1', {
827 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
828 'extra_header': 'common/gpu/media/v4l2_stub_header.fragment',
829 'sig_files': ['common/gpu/media/v4l2.sig'],
830 'outfile_type': 'posix_stubs',
831 'stubs_filename_root': 'v4l2_stubs',
832 'project_path': 'content/common/gpu/media',
833 'intermediate_dir': '<(INTERMEDIATE_DIR)',
834 'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2',
841 'action_name': 'generate_stubs',
843 '<(generate_stubs_script)',
848 '<(intermediate_dir)/<(stubs_filename_root).cc',
849 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
852 '<(generate_stubs_script)',
853 '-i', '<(intermediate_dir)',
854 '-o', '<(output_root)/<(project_path)',
855 '-t', '<(outfile_type)',
856 '-e', '<(extra_header)',
857 '-s', '<(stubs_filename_root)',
858 '-p', '<(project_path)',
861 'process_outputs_as_sources': 1,
862 'message': 'Generating libv4l2 stubs for dynamic loading',
868 'common/gpu/media/accelerated_video_decoder.h',
869 'common/gpu/media/h264_decoder.cc',
870 'common/gpu/media/h264_decoder.h',
871 'common/gpu/media/h264_dpb.cc',
872 'common/gpu/media/h264_dpb.h',
873 'common/gpu/media/vp8_decoder.cc',
874 'common/gpu/media/vp8_decoder.h',
875 'common/gpu/media/vp9_decoder.cc',
876 'common/gpu/media/vp9_decoder.h',
877 'common/gpu/media/vp8_picture.cc',
878 'common/gpu/media/vp8_picture.h',
879 'common/gpu/media/vp9_picture.cc',
880 'common/gpu/media/vp9_picture.h',
883 ['chromeos==1 and use_v4l2_codec==1', {
884 'direct_dependent_settings': {
893 '../media/media.gyp:media',
894 '../third_party/libyuv/libyuv.gyp:libyuv',
897 'common/gpu/media/generic_v4l2_device.cc',
898 'common/gpu/media/generic_v4l2_device.h',
899 'common/gpu/media/v4l2_device.cc',
900 'common/gpu/media/v4l2_device.h',
901 'common/gpu/media/v4l2_image_processor.cc',
902 'common/gpu/media/v4l2_image_processor.h',
903 'common/gpu/media/v4l2_jpeg_decode_accelerator.cc',
904 'common/gpu/media/v4l2_jpeg_decode_accelerator.h',
905 'common/gpu/media/v4l2_slice_video_decode_accelerator.cc',
906 'common/gpu/media/v4l2_slice_video_decode_accelerator.h',
907 'common/gpu/media/v4l2_video_decode_accelerator.cc',
908 'common/gpu/media/v4l2_video_decode_accelerator.h',
909 'common/gpu/media/v4l2_video_encode_accelerator.cc',
910 'common/gpu/media/v4l2_video_encode_accelerator.h',
913 '<(DEPTH)/third_party/khronos',
916 ['target_arch == "arm" and chromeos == 1', {
918 'common/gpu/media/tegra_v4l2_device.cc',
919 'common/gpu/media/tegra_v4l2_device.h',
922 ['target_arch != "arm" and chromeos == 1', {
924 '../media/media.gyp:media',
925 '../third_party/libyuv/libyuv.gyp:libyuv',
928 'common/gpu/media/va_surface.h',
929 'common/gpu/media/vaapi_jpeg_decode_accelerator.cc',
930 'common/gpu/media/vaapi_jpeg_decode_accelerator.h',
931 'common/gpu/media/vaapi_jpeg_decoder.cc',
932 'common/gpu/media/vaapi_jpeg_decoder.h',
933 'common/gpu/media/vaapi_picture.cc',
934 'common/gpu/media/vaapi_picture.h',
935 'common/gpu/media/vaapi_video_decode_accelerator.cc',
936 'common/gpu/media/vaapi_video_decode_accelerator.h',
937 'common/gpu/media/vaapi_video_encode_accelerator.cc',
938 'common/gpu/media/vaapi_video_encode_accelerator.h',
939 'common/gpu/media/vaapi_wrapper.cc',
940 'common/gpu/media/vaapi_wrapper.h',
946 'common/gpu/media/va.sigs',
947 'common/gpu/media/va_x11.sigs',
951 'common/gpu/media/vaapi_tfp_picture.cc',
952 'common/gpu/media/vaapi_tfp_picture.h',
957 'common/gpu/media/va.sigs',
958 'common/gpu/media/va_drm.sigs',
962 'common/gpu/media/vaapi_drm_picture.cc',
963 'common/gpu/media/vaapi_drm_picture.h',
968 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
969 'extra_header': 'common/gpu/media/va_stub_header.fragment',
970 'outfile_type': 'posix_stubs',
971 'stubs_filename_root': 'va_stubs',
972 'project_path': 'content/common/gpu/media',
973 'intermediate_dir': '<(INTERMEDIATE_DIR)',
974 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
977 '<(DEPTH)/third_party/libva',
978 '<(DEPTH)/third_party/libyuv',
983 'action_name': 'generate_stubs',
985 '<(generate_stubs_script)',
990 '<(intermediate_dir)/<(stubs_filename_root).cc',
991 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
994 '<(generate_stubs_script)',
995 '-i', '<(intermediate_dir)',
996 '-o', '<(output_root)/<(project_path)',
997 '-t', '<(outfile_type)',
998 '-e', '<(extra_header)',
999 '-s', '<(stubs_filename_root)',
1000 '-p', '<(project_path)',
1003 'process_outputs_as_sources': 1,
1004 'message': 'Generating libva stubs for dynamic loading',
1010 '../media/media.gyp:media',
1011 '../ui/gl/gl.gyp:gl',
1036 'common/gpu/media/dxva_video_decode_accelerator.cc',
1037 'common/gpu/media/dxva_video_decode_accelerator.h',
1040 '<(DEPTH)/third_party/khronos',
1043 ['OS=="win" and directxsdk_exists=="True"', {
1046 'action_name': 'extract_xinput',
1048 'input': 'APR2007_xinput_<(winsdk_arch).cab',
1049 'output': 'xinput1_3.dll',
1052 '../third_party/directxsdk/files/Redist/<(input)',
1055 '<(PRODUCT_DIR)/<(output)',
1059 '../build/extract_from_cab.py',
1060 '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
1067 ['use_seccomp_bpf==0', {
1069 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
1070 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
1071 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
1072 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
1073 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
1074 'common/sandbox_linux/bpf_gpu_policy_linux.h',
1075 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
1076 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
1077 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
1078 'common/sandbox_linux/bpf_renderer_policy_linux.h',
1079 'common/sandbox_linux/bpf_utility_policy_linux.cc',
1080 'common/sandbox_linux/bpf_utility_policy_linux.h',
1081 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
1082 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
1085 'defines': ['USE_SECCOMP_BPF'],
1089 '../ui/ozone/ozone.gyp:ozone',
1090 '../ui/ozone/ozone.gyp:ozone_base',
1093 'common/gpu/client/gpu_memory_buffer_impl_linux.cc',
1094 'common/gpu/gpu_memory_buffer_factory_linux.cc',
1098 'common/cursors/webcursor_ozone.cc',
1099 'common/font_list_ozone.cc',
1100 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
1101 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc',
1102 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h',
1103 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1104 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
1105 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',