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