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 '../third_party/libjingle/libjingle.gyp:libjingle',
15 '../ui/accessibility/accessibility.gyp:accessibility',
16 '../ui/base/ui_base.gyp:ui_base',
17 '../ui/events/ipc/events_ipc.gyp:events_ipc',
18 '../ui/gfx/gfx.gyp:gfx',
19 '../ui/gfx/gfx.gyp:gfx_geometry',
20 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
21 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
22 '../url/url.gyp:url_lib',
27 'export_dependent_settings': [
28 '../base/base.gyp:base',
29 # The public content API headers directly include Blink API headers, so we
30 # have to export the blink header settings so that relative paths in these
31 # headers resolve correctly.
32 '../third_party/WebKit/public/blink_headers.gyp:blink_headers',
35 'public_common_sources': [
36 'public/common/appcache_info.h',
37 'public/common/bindings_policy.h',
38 'public/common/child_process_host.h',
39 'public/common/child_process_host_delegate.cc',
40 'public/common/child_process_host_delegate.h',
41 'public/common/child_process_sandbox_support_linux.h',
42 'public/common/color_suggestion.cc',
43 'public/common/color_suggestion.h',
44 'public/common/common_param_traits.cc',
45 'public/common/common_param_traits.h',
46 'public/common/common_param_traits_macros.h',
47 'public/common/console_message_level.h',
48 'public/common/content_client.cc',
49 'public/common/content_client.h',
50 'public/common/content_constants.cc',
51 'public/common/content_constants.h',
52 'public/common/content_descriptors.h',
53 'public/common/content_ipc_logging.h',
54 'public/common/content_paths.h',
55 'public/common/content_switches.cc',
56 'public/common/content_switches.h',
57 'public/common/context_menu_params.cc',
58 'public/common/context_menu_params.h',
59 'public/common/drop_data.cc',
60 'public/common/drop_data.h',
61 'public/common/eme_codec.h',
62 'public/common/favicon_url.cc',
63 'public/common/favicon_url.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/main_function_params.h',
76 'public/common/media_stream_request.cc',
77 'public/common/media_stream_request.h',
78 'public/common/menu_item.cc',
79 'public/common/menu_item.h',
80 'public/common/page_state.cc',
81 'public/common/page_state.h',
82 'public/common/page_transition_types.cc',
83 'public/common/page_transition_types.h',
84 'public/common/page_transition_types_list.h',
85 'public/common/page_type.h',
86 'public/common/page_zoom.h',
87 'public/common/pepper_plugin_info.cc',
88 'public/common/pepper_plugin_info.h',
89 'public/common/process_type.h',
90 'public/common/push_messaging_status.cc',
91 'public/common/push_messaging_status.h',
92 'public/common/referrer.h',
93 'public/common/renderer_preferences.cc',
94 'public/common/renderer_preferences.h',
95 'public/common/resource_devtools_info.cc',
96 'public/common/resource_devtools_info.h',
97 'public/common/resource_response.h',
98 'public/common/resource_response_info.cc',
99 'public/common/resource_response_info.h',
100 'public/common/resource_type.cc',
101 'public/common/resource_type.h',
102 'public/common/result_codes.h',
103 'public/common/result_codes_list.h',
104 'public/common/sandbox_init.h',
105 'public/common/sandbox_linux.h',
106 'public/common/sandbox_type_mac.h',
107 'public/common/sandboxed_process_launcher_delegate.cc',
108 'public/common/sandboxed_process_launcher_delegate.h',
109 'public/common/security_style.h',
110 'public/common/service_registry.h',
111 'public/common/show_desktop_notification_params.cc',
112 'public/common/show_desktop_notification_params.h',
113 'public/common/signed_certificate_timestamp_id_and_status.cc',
114 'public/common/signed_certificate_timestamp_id_and_status.h',
115 'public/common/speech_recognition_error.h',
116 'public/common/speech_recognition_grammar.h',
117 'public/common/speech_recognition_result.cc',
118 'public/common/speech_recognition_result.h',
119 'public/common/ssl_status.cc',
120 'public/common/ssl_status.h',
121 'public/common/stop_find_action.h',
122 'public/common/storage_quota_params.h',
123 'public/common/three_d_api_types.h',
124 'public/common/top_controls_state.h',
125 'public/common/top_controls_state_list.h',
126 'public/common/url_constants.cc',
127 'public/common/url_constants.h',
128 'public/common/url_fetcher.h',
129 'public/common/url_utils.cc',
130 'public/common/url_utils.h',
131 'public/common/user_agent.h',
132 'public/common/web_preferences.cc',
133 'public/common/web_preferences.h',
134 'public/common/webplugininfo.cc',
135 'public/common/webplugininfo.h',
136 'public/common/window_container_type.cc',
137 'public/common/window_container_type.h',
138 'public/common/zygote_fork_delegate_linux.h',
140 'private_common_sources': [
141 'common/accessibility_messages.h',
142 'common/all_messages.h',
143 'common/android/address_parser.cc',
144 'common/android/address_parser.h',
145 'common/android/address_parser_internal.cc',
146 'common/android/address_parser_internal.h',
147 'common/android/common_jni_registrar.cc',
148 'common/android/common_jni_registrar.h',
149 'common/android/gin_java_bridge_errors.cc',
150 'common/android/gin_java_bridge_errors.h',
151 'common/android/gin_java_bridge_value.cc',
152 'common/android/gin_java_bridge_value.h',
153 'common/android/hash_set.cc',
154 'common/android/hash_set.h',
155 'common/android/surface_texture_lookup.cc',
156 'common/android/surface_texture_lookup.h',
157 'common/android/surface_texture_peer.cc',
158 'common/android/surface_texture_peer.h',
159 'common/appcache_interfaces.cc',
160 'common/appcache_interfaces.h',
161 'common/appcache_messages.h',
162 'common/battery_status_messages.h',
163 'common/browser_plugin/browser_plugin_constants.cc',
164 'common/browser_plugin/browser_plugin_constants.h',
165 'common/browser_plugin/browser_plugin_messages.h',
166 'common/cc_messages.cc',
167 'common/cc_messages.h',
168 'common/child_process_host_impl.cc',
169 'common/child_process_host_impl.h',
170 'common/child_process_messages.h',
171 'common/child_process_sandbox_support_impl_linux.cc',
172 'common/child_process_sandbox_support_impl_linux.h',
173 'common/child_process_sandbox_support_impl_shm_linux.cc',
174 'common/clipboard_format.h',
175 'common/clipboard_messages.h',
176 'common/content_constants_internal.cc',
177 'common/content_constants_internal.h',
178 'common/content_export.h',
179 'common/content_ipc_logging.cc',
180 'common/content_message_generator.cc',
181 'common/content_message_generator.h',
182 'common/content_param_traits.cc',
183 'common/content_param_traits.h',
184 'common/content_param_traits_macros.h',
185 'common/content_paths.cc',
186 'common/content_switches_internal.cc',
187 'common/content_switches_internal.h',
188 'common/cookie_data.cc',
189 'common/cookie_data.h',
190 'common/cursors/webcursor.cc',
191 'common/cursors/webcursor.h',
192 'common/cursors/webcursor_android.cc',
193 'common/cursors/webcursor_aura.cc',
194 'common/cursors/webcursor_aurawin.cc',
195 'common/cursors/webcursor_aurax11.cc',
196 'common/cursors/webcursor_mac.mm',
197 'common/cursors/webcursor_ozone.cc',
198 'common/database_messages.h',
199 'common/date_time_suggestion.h',
200 'common/desktop_notification_messages.h',
201 'common/device_sensors/device_light_data.h',
202 'common/device_sensors/device_light_hardware_buffer.h',
203 'common/device_sensors/device_light_messages.h',
204 'common/device_sensors/device_motion_hardware_buffer.h',
205 'common/device_sensors/device_motion_messages.h',
206 'common/device_sensors/device_orientation_hardware_buffer.h',
207 'common/device_sensors/device_orientation_messages.h',
208 'common/devtools_messages.h',
209 'common/dom_storage/dom_storage_map.cc',
210 'common/dom_storage/dom_storage_map.h',
211 'common/dom_storage/dom_storage_messages.h',
212 'common/drag_event_source_info.h',
213 'common/drag_messages.h',
214 'common/drag_traits.h',
215 'common/edit_command.h',
216 'common/file_utilities_messages.h',
217 'common/fileapi/file_system_messages.h',
218 'common/fileapi/webblob_messages.h',
219 'common/font_cache_dispatcher_win.cc',
220 'common/font_cache_dispatcher_win.h',
221 'common/font_config_ipc_linux.cc',
222 'common/font_config_ipc_linux.h',
223 'common/font_list.cc',
224 'common/font_list.h',
225 'common/font_list_android.cc',
226 'common/font_list_mac.mm',
227 'common/font_list_ozone.cc',
228 'common/font_list_pango.cc',
229 'common/font_list_win.cc',
230 'common/frame_message_enums.h',
231 'common/frame_messages.h',
232 'common/frame_param.cc',
233 'common/frame_param.h',
234 'common/frame_param_macros.h',
235 'common/gamepad_hardware_buffer.h',
236 'common/gamepad_messages.h',
237 'common/gamepad_param_traits.cc',
238 'common/gamepad_param_traits.h',
239 'common/gamepad_user_gesture.cc',
240 'common/gamepad_user_gesture.h',
241 'common/geolocation_messages.h',
242 'common/gin_java_bridge_messages.h',
243 'common/gpu/client/command_buffer_proxy_impl.cc',
244 'common/gpu/client/command_buffer_proxy_impl.h',
245 'common/gpu/client/context_provider_command_buffer.cc',
246 'common/gpu/client/context_provider_command_buffer.h',
247 'common/gpu/client/gl_helper.cc',
248 'common/gpu/client/gl_helper.h',
249 'common/gpu/client/gl_helper_readback_support.cc',
250 'common/gpu/client/gl_helper_readback_support.h',
251 'common/gpu/client/gl_helper_scaling.cc',
252 'common/gpu/client/gl_helper_scaling.h',
253 'common/gpu/client/gpu_channel_host.cc',
254 'common/gpu/client/gpu_channel_host.h',
255 'common/gpu/client/gpu_memory_buffer_factory_host.h',
256 'common/gpu/client/gpu_memory_buffer_impl.cc',
257 'common/gpu/client/gpu_memory_buffer_impl.h',
258 'common/gpu/client/gpu_memory_buffer_impl_android.cc',
259 'common/gpu/client/gpu_memory_buffer_impl_linux.cc',
260 'common/gpu/client/gpu_memory_buffer_impl_mac.cc',
261 'common/gpu/client/gpu_memory_buffer_impl_shm.cc',
262 'common/gpu/client/gpu_memory_buffer_impl_shm.h',
263 'common/gpu/client/gpu_memory_buffer_impl_win.cc',
264 'common/gpu/client/gpu_video_decode_accelerator_host.cc',
265 'common/gpu/client/gpu_video_decode_accelerator_host.h',
266 'common/gpu/client/gpu_video_encode_accelerator_host.cc',
267 'common/gpu/client/gpu_video_encode_accelerator_host.h',
268 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
269 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
270 'common/gpu/devtools_gpu_agent.cc',
271 'common/gpu/devtools_gpu_agent.h',
272 'common/gpu/devtools_gpu_instrumentation.cc',
273 'common/gpu/devtools_gpu_instrumentation.h',
274 'common/gpu/gpu_channel.cc',
275 'common/gpu/gpu_channel.h',
276 'common/gpu/gpu_channel_manager.cc',
277 'common/gpu/gpu_channel_manager.h',
278 'common/gpu/gpu_command_buffer_stub.cc',
279 'common/gpu/gpu_command_buffer_stub.h',
280 'common/gpu/gpu_config.h',
281 'common/gpu/gpu_memory_manager.cc',
282 'common/gpu/gpu_memory_manager.h',
283 'common/gpu/gpu_memory_manager_client.cc',
284 'common/gpu/gpu_memory_manager_client.h',
285 'common/gpu/gpu_memory_tracking.cc',
286 'common/gpu/gpu_memory_tracking.h',
287 'common/gpu/gpu_memory_uma_stats.h',
288 'common/gpu/gpu_messages.h',
289 'common/gpu/gpu_process_launch_causes.h',
290 'common/gpu/gpu_result_codes.h',
291 'common/gpu/gpu_surface_lookup.cc',
292 'common/gpu/gpu_surface_lookup.h',
293 'common/gpu/gpu_watchdog.h',
294 'common/gpu/image_transport_surface.cc',
295 'common/gpu/image_transport_surface.h',
296 'common/gpu/image_transport_surface_android.cc',
297 'common/gpu/image_transport_surface_calayer_mac.mm',
298 'common/gpu/image_transport_surface_calayer_mac.h',
299 'common/gpu/image_transport_surface_fbo_mac.cc',
300 'common/gpu/image_transport_surface_fbo_mac.h',
301 'common/gpu/image_transport_surface_linux.cc',
302 'common/gpu/image_transport_surface_mac.mm',
303 'common/gpu/image_transport_surface_iosurface_mac.cc',
304 'common/gpu/image_transport_surface_iosurface_mac.h',
305 'common/gpu/image_transport_surface_win.cc',
306 'common/gpu/media/gpu_video_decode_accelerator.cc',
307 'common/gpu/media/gpu_video_decode_accelerator.h',
308 'common/gpu/media/gpu_video_encode_accelerator.cc',
309 'common/gpu/media/gpu_video_encode_accelerator.h',
310 'common/gpu/stream_texture_android.cc',
311 'common/gpu/stream_texture_android.h',
312 'common/gpu/surface_handle_types_mac.cc',
313 'common/gpu/surface_handle_types_mac.h',
314 'common/gpu/sync_point_manager.cc',
315 'common/gpu/sync_point_manager.h',
316 'common/gpu/texture_image_transport_surface.cc',
317 'common/gpu/texture_image_transport_surface.h',
318 'common/handle_enumerator_win.cc',
319 'common/handle_enumerator_win.h',
320 'common/host_shared_bitmap_manager.cc',
321 'common/host_shared_bitmap_manager.h',
322 'common/image_messages.h',
323 'common/indexed_db/indexed_db_constants.h',
324 'common/indexed_db/indexed_db_key.cc',
325 'common/indexed_db/indexed_db_key.h',
326 'common/indexed_db/indexed_db_key_path.cc',
327 'common/indexed_db/indexed_db_key_path.h',
328 'common/indexed_db/indexed_db_key_range.cc',
329 'common/indexed_db/indexed_db_key_range.h',
330 'common/indexed_db/indexed_db_messages.h',
331 'common/indexed_db/indexed_db_param_traits.cc',
332 'common/indexed_db/indexed_db_param_traits.h',
333 'common/input/did_overscroll_params.h',
334 'common/input/gesture_event_stream_validator.cc',
335 'common/input/gesture_event_stream_validator.h',
336 'common/input/input_event.cc',
337 'common/input/input_event.h',
338 'common/input/input_event_stream_validator.cc',
339 'common/input/input_event_stream_validator.h',
340 'common/input/input_param_traits.cc',
341 'common/input/input_param_traits.h',
342 'common/input/scoped_web_input_event.cc',
343 'common/input/scoped_web_input_event.h',
344 'common/input/synthetic_gesture_packet.cc',
345 'common/input/synthetic_gesture_packet.h',
346 'common/input/synthetic_gesture_params.cc',
347 'common/input/synthetic_gesture_params.h',
348 'common/input/synthetic_pinch_gesture_params.cc',
349 'common/input/synthetic_pinch_gesture_params.h',
350 'common/input/synthetic_smooth_scroll_gesture_params.cc',
351 'common/input/synthetic_smooth_scroll_gesture_params.h',
352 'common/input/synthetic_tap_gesture_params.cc',
353 'common/input/synthetic_tap_gesture_params.h',
354 'common/input/synthetic_web_input_event_builders.cc',
355 'common/input/synthetic_web_input_event_builders.h',
356 'common/input/touch_event_stream_validator.cc',
357 'common/input/touch_event_stream_validator.h',
358 'common/input/web_input_event_traits.cc',
359 'common/input/web_input_event_traits.h',
360 'common/input/web_touch_event_traits.cc',
361 'common/input/web_touch_event_traits.h',
362 'common/input_messages.h',
363 'common/inter_process_time_ticks_converter.cc',
364 'common/inter_process_time_ticks_converter.h',
365 'common/mac/attributed_string_coder.h',
366 'common/mac/attributed_string_coder.mm',
367 'common/mac/font_descriptor.h',
368 'common/mac/font_descriptor.mm',
369 'common/mac/font_loader.h',
370 'common/mac/font_loader.mm',
371 'common/media/aec_dump_messages.h',
372 'common/media/audio_messages.h',
373 'common/media/cdm_messages.h',
374 'common/media/cdm_messages_enums.h',
375 'common/media/media_param_traits.cc',
376 'common/media/media_param_traits.h',
377 'common/media/media_player_messages_android.h',
378 'common/media/media_player_messages_enums_android.h',
379 'common/media/media_stream_messages.h',
380 'common/media/media_stream_options.cc',
381 'common/media/media_stream_options.h',
382 'common/media/media_stream_track_metrics_host_messages.h',
383 'common/media/midi_messages.h',
384 'common/media/video_capture.h',
385 'common/media/video_capture_messages.h',
386 'common/media/webrtc_identity_messages.h',
387 'common/memory_benchmark_messages.h',
388 'common/message_port_messages.h',
389 'common/message_router.cc',
390 'common/message_router.h',
391 'common/mime_registry_messages.h',
392 'common/mojo/mojo_messages.h',
393 'common/mojo/service_registry_impl.cc',
394 'common/mojo/service_registry_impl.h',
395 'common/navigation_gesture.h',
396 'common/net/url_fetcher.cc',
397 'common/net/url_request_user_data.cc',
398 'common/net/url_request_user_data.h',
399 'common/one_writer_seqlock.cc',
400 'common/one_writer_seqlock.h',
401 'common/p2p_messages.h',
402 'common/page_state_serialization.cc',
403 'common/page_state_serialization.h',
404 'common/page_zoom.cc',
405 'common/pepper_messages.h',
406 'common/pepper_plugin_list.cc',
407 'common/pepper_plugin_list.h',
408 'common/pepper_renderer_instance_data.cc',
409 'common/pepper_renderer_instance_data.h',
410 'common/plugin_constants_win.cc',
411 'common/plugin_constants_win.h',
412 'common/plugin_list.cc',
413 'common/plugin_list.h',
414 'common/plugin_list_mac.mm',
415 'common/plugin_list_posix.cc',
416 'common/plugin_list_win.cc',
417 'common/plugin_process_messages.h',
418 'common/power_monitor_messages.h',
419 'common/process_type.cc',
420 'common/push_messaging_messages.h',
421 'common/quota_messages.h',
422 'common/resource_messages.cc',
423 'common/resource_messages.h',
424 'common/resource_request_body.cc',
425 'common/resource_request_body.h',
426 'common/sandbox_init_mac.cc',
427 'common/sandbox_init_mac.h',
428 'common/sandbox_init_win.cc',
429 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
430 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
431 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
432 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
433 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
434 'common/sandbox_linux/bpf_gpu_policy_linux.h',
435 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
436 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
437 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
438 'common/sandbox_linux/bpf_renderer_policy_linux.h',
439 'common/sandbox_linux/bpf_utility_policy_linux.cc',
440 'common/sandbox_linux/bpf_utility_policy_linux.h',
441 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
442 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
443 'common/sandbox_linux/sandbox_init_linux.cc',
444 'common/sandbox_linux/sandbox_linux.cc',
445 'common/sandbox_linux/sandbox_linux.h',
446 'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
447 'common/sandbox_linux/sandbox_seccomp_bpf_linux.h',
448 'common/sandbox_mac.h',
449 'common/sandbox_mac.mm',
450 'common/sandbox_util.cc',
451 'common/sandbox_util.h',
452 'common/sandbox_win.cc',
453 'common/sandbox_win.h',
454 'common/savable_url_schemes.cc',
455 'common/savable_url_schemes.h',
456 'common/screen_orientation_messages.h',
457 'common/service_worker/embedded_worker_messages.h',
458 'common/service_worker/service_worker_messages.h',
459 'common/service_worker/service_worker_status_code.cc',
460 'common/service_worker/service_worker_status_code.h',
461 'common/service_worker/service_worker_types.cc',
462 'common/service_worker/service_worker_types.h',
463 'common/set_process_title.cc',
464 'common/set_process_title.h',
465 'common/set_process_title_linux.cc',
466 'common/set_process_title_linux.h',
467 'common/socket_stream.h',
468 'common/socket_stream_handle_data.h',
469 'common/socket_stream_messages.h',
470 'common/speech_recognition_messages.h',
471 'common/ssl_status_serialization.cc',
472 'common/ssl_status_serialization.h',
473 'common/swapped_out_messages.cc',
474 'common/swapped_out_messages.h',
475 'common/text_input_client_messages.h',
476 'common/url_schemes.cc',
477 'common/url_schemes.h',
478 'common/user_agent.cc',
479 'common/utility_messages.h',
480 'common/view_message_enums.h',
481 'common/view_messages.h',
482 'common/webplugin_geometry.cc',
483 'common/webplugin_geometry.h',
484 'common/websocket.cc',
485 'common/websocket.h',
486 'common/websocket_messages.h',
487 'common/worker_messages.h',
488 'common/zygote_commands_linux.h',
492 '<@(public_common_sources)',
493 '<@(private_common_sources)',
495 'target_conditions': [
496 ['OS=="android" and <(use_seccomp_bpf)==1', {
498 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'],
499 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
505 # iOS has different user-agent construction utilities, since the
506 # version strings is not derived from webkit_version, and follows
507 # a different format.
509 'common/user_agent.cc',
512 # iOS only needs a small portion of content; exclude all the
513 # implementation, and re-include what is used.
514 ['exclude', '\\.(cc|mm)$'],
515 ['include', '_ios\\.(cc|mm)$'],
516 ['include', '^public/common/content_client\\.cc$'],
517 ['include', '^public/common/content_constants\\.cc$'],
518 ['include', '^public/common/content_switches\\.cc$'],
519 ['include', '^public/common/frame_navigate_params\\.cc$'],
520 ['include', '^public/common/media_stream_request\\.cc$'],
521 ['include', '^public/common/page_state\\.cc$'],
522 ['include', '^public/common/page_transition_types\\.cc$'],
523 ['include', '^public/common/password_form\\.cc$'],
524 ['include', '^public/common/signed_certificate_timestamp_id_and_status\\.cc$'],
525 ['include', '^public/common/speech_recognition_result\\.cc$'],
526 ['include', '^public/common/ssl_status\\.cc$'],
527 ['include', '^public/common/url_constants\\.cc$'],
528 ['include', '^common/content_paths\\.cc$'],
529 ['include', '^common/media/media_stream_options\\.cc$'],
530 ['include', '^common/net/url_fetcher\\.cc$'],
531 ['include', '^common/net/url_request_user_data\\.cc$'],
532 ['include', '^common/page_state_serialization\\.cc$'],
533 ['include', '^common/savable_url_schemes\\.cc$'],
534 ['include', '^common/url_schemes\\.cc$'],
539 '../gpu/gpu.gyp:command_buffer_service',
540 '../gpu/gpu.gyp:gles2_c_lib',
541 '../gpu/gpu.gyp:gles2_implementation',
542 # TODO: the dependency on gl_in_process_context should be decoupled from
543 # content and moved to android_webview. See crbug.com/365797.
544 '../gpu/gpu.gyp:gl_in_process_context',
545 '../gpu/gpu.gyp:gpu_ipc',
546 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
547 '../ipc/ipc.gyp:ipc',
548 '../media/media.gyp:media',
549 '../media/media.gyp:shared_memory_support',
550 '../mojo/mojo.gyp:mojo_cpp_bindings',
551 '../mojo/mojo.gyp:mojo_environment_chromium',
552 '../mojo/mojo.gyp:mojo_service_provider_bindings',
553 '../mojo/mojo.gyp:mojo_system_impl',
554 '../third_party/WebKit/public/blink.gyp:blink',
555 '../ui/gl/gl.gyp:gl',
556 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
557 '../webkit/common/webkit_common.gyp:webkit_common',
558 '../webkit/storage_browser.gyp:webkit_storage_browser',
559 '../webkit/storage_common.gyp:webkit_storage_common',
563 'action_name': 'generate_webkit_version',
570 '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
574 '-f', '<(lastchange)',
579 'script': '<(DEPTH)/build/util/version.py',
580 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink',
581 'template': 'webkit_version.h.in',
588 '../webkit/webkit_resources.gyp:webkit_resources',
591 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc',
592 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h',
593 'common/gpu/media/vt.h',
594 'common/gpu/media/vt_video_decode_accelerator.cc',
595 'common/gpu/media/vt_video_decode_accelerator.h',
598 'common/plugin_list_posix.cc',
602 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
603 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
607 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
608 'extra_header': 'common/gpu/media/vt_stubs_header.fragment',
609 'sig_files': ['common/gpu/media/vt.sig'],
610 'outfile_type': 'posix_stubs',
611 'stubs_filename_root': 'vt_stubs',
612 'project_path': 'content/common/gpu/media',
613 'intermediate_dir': '<(INTERMEDIATE_DIR)',
614 'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs',
621 'action_name': 'generate_stubs',
623 '<(generate_stubs_script)',
628 '<(intermediate_dir)/<(stubs_filename_root).cc',
629 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
632 '<(generate_stubs_script)',
633 '-i', '<(intermediate_dir)',
634 '-o', '<(output_root)/<(project_path)',
635 '-t', '<(outfile_type)',
636 '-e', '<(extra_header)',
637 '-s', '<(stubs_filename_root)',
638 '-p', '<(project_path)',
641 'process_outputs_as_sources': 1,
642 'message': 'Generating VideoToolbox stubs for dynamic loading',
648 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc',
649 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h',
653 '-landroid', # ANativeWindow
657 'content.gyp:content_jni_headers',
658 'content.gyp:common_aidl',
663 '../build/linux/system.gyp:pangocairo',
666 'common/font_list_ozone.cc',
671 '<(DEPTH)/third_party/khronos',
674 '<(DEPTH)/build/linux/system.gyp:xcomposite',
677 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
679 'common/gpu/x_util.cc',
680 'common/gpu/x_util.h',
683 ['enable_plugins==1', {
685 '../ppapi/ppapi_internal.gyp:ppapi_shared',
687 }, { # enable_plugins == 0
689 'common/pepper_plugin_list.cc',
690 'common/pepper_plugin_list.h',
691 'common/sandbox_util.cc',
696 '../media/media.gyp:media',
699 'common/gpu/media/android_video_decode_accelerator.cc',
700 'common/gpu/media/android_video_decode_accelerator.h',
703 ['OS=="android" and enable_webrtc==1', {
705 '../third_party/libyuv/libyuv.gyp:libyuv',
708 'common/gpu/media/android_video_encode_accelerator.cc',
709 'common/gpu/media/android_video_encode_accelerator.h',
712 ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', {
714 '../media/media.gyp:media',
717 'common/gpu/media/exynos_v4l2_video_device.cc',
718 'common/gpu/media/exynos_v4l2_video_device.h',
719 'common/gpu/media/tegra_v4l2_video_device.cc',
720 'common/gpu/media/tegra_v4l2_video_device.h',
721 'common/gpu/media/v4l2_image_processor.cc',
722 'common/gpu/media/v4l2_image_processor.h',
723 'common/gpu/media/v4l2_video_decode_accelerator.cc',
724 'common/gpu/media/v4l2_video_decode_accelerator.h',
725 'common/gpu/media/v4l2_video_device.cc',
726 'common/gpu/media/v4l2_video_device.h',
727 'common/gpu/media/v4l2_video_encode_accelerator.cc',
728 'common/gpu/media/v4l2_video_encode_accelerator.h',
731 '<(DEPTH)/third_party/khronos',
734 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', {
736 '../media/media.gyp:media',
737 '../third_party/libyuv/libyuv.gyp:libyuv',
740 'common/gpu/media/h264_dpb.cc',
741 'common/gpu/media/h264_dpb.h',
742 'common/gpu/media/va_surface.h',
743 'common/gpu/media/vaapi_h264_decoder.cc',
744 'common/gpu/media/vaapi_h264_decoder.h',
745 'common/gpu/media/vaapi_video_decode_accelerator.cc',
746 'common/gpu/media/vaapi_video_decode_accelerator.h',
747 'common/gpu/media/vaapi_video_encode_accelerator.cc',
748 'common/gpu/media/vaapi_video_encode_accelerator.h',
749 'common/gpu/media/vaapi_wrapper.cc',
750 'common/gpu/media/vaapi_wrapper.h',
753 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
754 'extra_header': 'common/gpu/media/va_stub_header.fragment',
755 'sig_files': ['common/gpu/media/va.sigs'],
756 'outfile_type': 'posix_stubs',
757 'stubs_filename_root': 'va_stubs',
758 'project_path': 'content/common/gpu/media',
759 'intermediate_dir': '<(INTERMEDIATE_DIR)',
760 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
763 '<(DEPTH)/third_party/libva',
764 '<(DEPTH)/third_party/libyuv',
769 'action_name': 'generate_stubs',
771 '<(generate_stubs_script)',
776 '<(intermediate_dir)/<(stubs_filename_root).cc',
777 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
780 '<(generate_stubs_script)',
781 '-i', '<(intermediate_dir)',
782 '-o', '<(output_root)/<(project_path)',
783 '-t', '<(outfile_type)',
784 '-e', '<(extra_header)',
785 '-s', '<(stubs_filename_root)',
786 '-p', '<(project_path)',
789 'process_outputs_as_sources': 1,
790 'message': 'Generating libva stubs for dynamic loading',
796 '../media/media.gyp:media',
797 '../ui/gl/gl.gyp:gl',
820 'common/gpu/media/dxva_video_decode_accelerator.cc',
821 'common/gpu/media/dxva_video_decode_accelerator.h',
824 '<(DEPTH)/third_party/khronos',
827 ['OS=="win" and directxsdk_exists=="True"', {
830 'action_name': 'extract_xinput',
832 'input': 'APR2007_xinput_<(winsdk_arch).cab',
833 'output': 'xinput1_3.dll',
836 '../third_party/directxsdk/files/Redist/<(input)',
839 '<(PRODUCT_DIR)/<(output)',
843 '../build/extract_from_cab.py',
844 '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
851 ['use_seccomp_bpf==0', {
853 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
854 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
855 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
856 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
857 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
858 'common/sandbox_linux/bpf_gpu_policy_linux.h',
859 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
860 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
861 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
862 'common/sandbox_linux/bpf_renderer_policy_linux.h',
863 'common/sandbox_linux/bpf_utility_policy_linux.cc',
864 'common/sandbox_linux/bpf_utility_policy_linux.h',
865 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
866 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
869 'defines': ['USE_SECCOMP_BPF'],
873 '../ui/ozone/ozone.gyp:ozone',