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/gfx/gfx.gyp:gfx',
18 '../ui/gfx/gfx.gyp:gfx_geometry',
19 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
20 '../url/url.gyp:url_lib',
25 'export_dependent_settings': [
26 '../base/base.gyp:base',
27 # The public content API headers directly include Blink API headers, so we
28 # have to export the blink header settings so that relative paths in these
29 # headers resolve correctly.
30 '../third_party/WebKit/public/blink_headers.gyp:blink_headers',
33 'public/common/assert_matching_enums.cc',
34 'public/common/bindings_policy.h',
35 'public/common/browser_plugin_permission_type.h',
36 'public/common/child_process_host.h',
37 'public/common/child_process_host_delegate.cc',
38 'public/common/child_process_host_delegate.h',
39 'public/common/child_process_sandbox_support_linux.h',
40 'public/common/color_suggestion.cc',
41 'public/common/color_suggestion.h',
42 'public/common/common_param_traits.cc',
43 'public/common/common_param_traits.h',
44 'public/common/common_param_traits_macros.h',
45 'public/common/console_message_level.h',
46 'public/common/content_client.cc',
47 'public/common/content_client.h',
48 'public/common/content_constants.cc',
49 'public/common/content_constants.h',
50 'public/common/content_descriptors.h',
51 'public/common/content_ipc_logging.h',
52 'public/common/content_paths.h',
53 'public/common/content_switches.cc',
54 'public/common/content_switches.h',
55 'public/common/context_menu_params.cc',
56 'public/common/context_menu_params.h',
57 'public/common/drop_data.cc',
58 'public/common/drop_data.h',
59 'public/common/eme_codec.h',
60 'public/common/favicon_url.cc',
61 'public/common/favicon_url.h',
62 'public/common/file_chooser_params.cc',
63 'public/common/file_chooser_params.h',
64 'public/common/frame_navigate_params.cc',
65 'public/common/frame_navigate_params.h',
66 'public/common/geoposition.cc',
67 'public/common/geoposition.h',
68 'public/common/gpu_memory_stats.cc',
69 'public/common/gpu_memory_stats.h',
70 'public/common/injection_test_mac.h',
71 'public/common/injection_test_win.h',
72 'public/common/javascript_message_type.h',
73 'public/common/main_function_params.h',
74 'public/common/media_stream_request.cc',
75 'public/common/media_stream_request.h',
76 'public/common/menu_item.cc',
77 'public/common/menu_item.h',
78 'public/common/page_state.cc',
79 'public/common/page_state.h',
80 'public/common/page_transition_types.cc',
81 'public/common/page_transition_types.h',
82 'public/common/page_transition_types_list.h',
83 'public/common/page_type.h',
84 'public/common/page_zoom.h',
85 'public/common/pepper_plugin_info.cc',
86 'public/common/pepper_plugin_info.h',
87 'public/common/process_type.h',
88 'public/common/referrer.h',
89 'public/common/renderer_preferences.cc',
90 'public/common/renderer_preferences.h',
91 'public/common/resource_response.h',
92 'public/common/result_codes.h',
93 'public/common/result_codes_list.h',
94 'public/common/sandbox_init.h',
95 'public/common/sandbox_linux.h',
96 'public/common/sandbox_type_mac.h',
97 'public/common/sandboxed_process_launcher_delegate.cc',
98 'public/common/sandboxed_process_launcher_delegate.h',
99 'public/common/security_style.h',
100 'public/common/show_desktop_notification_params.cc',
101 'public/common/show_desktop_notification_params.h',
102 'public/common/signed_certificate_timestamp_id_and_status.cc',
103 'public/common/signed_certificate_timestamp_id_and_status.h',
104 'public/common/speech_recognition_error.h',
105 'public/common/speech_recognition_grammar.h',
106 'public/common/speech_recognition_result.cc',
107 'public/common/speech_recognition_result.h',
108 'public/common/ssl_status.cc',
109 'public/common/ssl_status.h',
110 'public/common/stop_find_action.h',
111 'public/common/storage_quota_params.h',
112 'public/common/three_d_api_types.h',
113 'public/common/top_controls_state.h',
114 'public/common/top_controls_state_list.h',
115 'public/common/url_constants.cc',
116 'public/common/url_constants.h',
117 'public/common/url_fetcher.h',
118 'public/common/url_utils.cc',
119 'public/common/url_utils.h',
120 'public/common/user_agent.h',
121 'public/common/webplugininfo.cc',
122 'public/common/webplugininfo.h',
123 'public/common/window_container_type.cc',
124 'public/common/window_container_type.h',
125 'public/common/zygote_fork_delegate_linux.h',
126 'common/accessibility_messages.h',
127 'common/all_messages.h',
128 'common/android/address_parser.cc',
129 'common/android/address_parser.h',
130 'common/android/address_parser_internal.cc',
131 'common/android/address_parser_internal.h',
132 'common/android/common_jni_registrar.cc',
133 'common/android/common_jni_registrar.h',
134 'common/android/gin_java_bridge_value.cc',
135 'common/android/gin_java_bridge_value.h',
136 'common/android/hash_set.cc',
137 'common/android/hash_set.h',
138 'common/android/surface_texture_lookup.cc',
139 'common/android/surface_texture_lookup.h',
140 'common/android/surface_texture_peer.cc',
141 'common/android/surface_texture_peer.h',
142 'common/appcache_messages.h',
143 'common/browser_plugin/browser_plugin_constants.cc',
144 'common/browser_plugin/browser_plugin_constants.h',
145 'common/browser_plugin/browser_plugin_messages.h',
146 'common/cc_messages.cc',
147 'common/cc_messages.h',
148 'common/child_process_host_impl.cc',
149 'common/child_process_host_impl.h',
150 'common/child_process_messages.h',
151 'common/child_process_sandbox_support_impl_linux.cc',
152 'common/child_process_sandbox_support_impl_linux.h',
153 'common/child_process_sandbox_support_impl_shm_linux.cc',
154 'common/clipboard_format.h',
155 'common/clipboard_messages.h',
156 'common/content_constants_internal.cc',
157 'common/content_constants_internal.h',
158 'common/content_export.h',
159 'common/content_ipc_logging.cc',
160 'common/content_message_generator.cc',
161 'common/content_message_generator.h',
162 'common/content_param_traits.cc',
163 'common/content_param_traits.h',
164 'common/content_param_traits_macros.h',
165 'common/content_paths.cc',
166 'common/content_switches_internal.cc',
167 'common/content_switches_internal.h',
168 'common/cookie_data.cc',
169 'common/cookie_data.h',
170 'common/cursors/webcursor.cc',
171 'common/cursors/webcursor.h',
172 'common/cursors/webcursor_android.cc',
173 'common/cursors/webcursor_aura.cc',
174 'common/cursors/webcursor_aurawin.cc',
175 'common/cursors/webcursor_aurax11.cc',
176 'common/cursors/webcursor_mac.mm',
177 'common/cursors/webcursor_ozone.cc',
178 'common/database_messages.h',
179 'common/date_time_suggestion.h',
180 'common/desktop_notification_messages.h',
181 'common/device_sensors/device_motion_hardware_buffer.h',
182 'common/device_sensors/device_motion_messages.h',
183 'common/device_sensors/device_orientation_hardware_buffer.h',
184 'common/device_sensors/device_orientation_messages.h',
185 'common/devtools_messages.h',
186 'common/dom_storage/dom_storage_map.cc',
187 'common/dom_storage/dom_storage_map.h',
188 'common/dom_storage/dom_storage_messages.h',
189 'common/drag_event_source_info.h',
190 'common/drag_messages.h',
191 'common/drag_traits.h',
192 'common/edit_command.h',
193 'common/file_utilities_messages.h',
194 'common/fileapi/file_system_messages.h',
195 'common/fileapi/webblob_messages.h',
196 'common/font_cache_dispatcher_win.cc',
197 'common/font_cache_dispatcher_win.h',
198 'common/font_config_ipc_linux.cc',
199 'common/font_config_ipc_linux.h',
200 'common/font_list.cc',
201 'common/font_list.h',
202 'common/font_list_android.cc',
203 'common/font_list_mac.mm',
204 'common/font_list_ozone.cc',
205 'common/font_list_pango.cc',
206 'common/font_list_win.cc',
207 'common/frame_message_enums.h',
208 'common/frame_messages.h',
209 'common/frame_param.cc',
210 'common/frame_param.h',
211 'common/frame_param_macros.h',
212 'common/gamepad_hardware_buffer.h',
213 'common/gamepad_messages.h',
214 'common/gamepad_param_traits.cc',
215 'common/gamepad_param_traits.h',
216 'common/gamepad_user_gesture.cc',
217 'common/gamepad_user_gesture.h',
218 'common/geolocation_messages.h',
219 'common/gin_java_bridge_messages.h',
220 'common/gpu/client/command_buffer_proxy_impl.cc',
221 'common/gpu/client/command_buffer_proxy_impl.h',
222 'common/gpu/client/context_provider_command_buffer.cc',
223 'common/gpu/client/context_provider_command_buffer.h',
224 'common/gpu/client/gl_helper.cc',
225 'common/gpu/client/gl_helper.h',
226 'common/gpu/client/gl_helper_readback_support.cc',
227 'common/gpu/client/gl_helper_readback_support.h',
228 'common/gpu/client/gl_helper_scaling.cc',
229 'common/gpu/client/gl_helper_scaling.h',
230 'common/gpu/client/gpu_channel_host.cc',
231 'common/gpu/client/gpu_channel_host.h',
232 'common/gpu/client/gpu_memory_buffer_impl.cc',
233 'common/gpu/client/gpu_memory_buffer_impl.h',
234 'common/gpu/client/gpu_memory_buffer_impl_android.cc',
235 'common/gpu/client/gpu_memory_buffer_impl_linux.cc',
236 'common/gpu/client/gpu_memory_buffer_impl_mac.cc',
237 'common/gpu/client/gpu_memory_buffer_impl_shm.cc',
238 'common/gpu/client/gpu_memory_buffer_impl_shm.h',
239 'common/gpu/client/gpu_memory_buffer_impl_win.cc',
240 'common/gpu/client/gpu_video_decode_accelerator_host.cc',
241 'common/gpu/client/gpu_video_decode_accelerator_host.h',
242 'common/gpu/client/gpu_video_encode_accelerator_host.cc',
243 'common/gpu/client/gpu_video_encode_accelerator_host.h',
244 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
245 'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
246 'common/gpu/devtools_gpu_agent.cc',
247 'common/gpu/devtools_gpu_agent.h',
248 'common/gpu/devtools_gpu_instrumentation.cc',
249 'common/gpu/devtools_gpu_instrumentation.h',
250 'common/gpu/gpu_channel.cc',
251 'common/gpu/gpu_channel.h',
252 'common/gpu/gpu_channel_manager.cc',
253 'common/gpu/gpu_channel_manager.h',
254 'common/gpu/gpu_command_buffer_stub.cc',
255 'common/gpu/gpu_command_buffer_stub.h',
256 'common/gpu/gpu_config.h',
257 'common/gpu/gpu_memory_manager.cc',
258 'common/gpu/gpu_memory_manager.h',
259 'common/gpu/gpu_memory_manager_client.cc',
260 'common/gpu/gpu_memory_manager_client.h',
261 'common/gpu/gpu_memory_tracking.cc',
262 'common/gpu/gpu_memory_tracking.h',
263 'common/gpu/gpu_memory_uma_stats.h',
264 'common/gpu/gpu_messages.h',
265 'common/gpu/gpu_process_launch_causes.h',
266 'common/gpu/gpu_surface_lookup.cc',
267 'common/gpu/gpu_surface_lookup.h',
268 'common/gpu/gpu_watchdog.h',
269 'common/gpu/image_transport_surface.cc',
270 'common/gpu/image_transport_surface.h',
271 'common/gpu/image_transport_surface_android.cc',
272 'common/gpu/image_transport_surface_linux.cc',
273 'common/gpu/image_transport_surface_mac.cc',
274 'common/gpu/image_transport_surface_win.cc',
275 'common/gpu/media/gpu_video_decode_accelerator.cc',
276 'common/gpu/media/gpu_video_decode_accelerator.h',
277 'common/gpu/media/gpu_video_encode_accelerator.cc',
278 'common/gpu/media/gpu_video_encode_accelerator.h',
279 'common/gpu/media/video_decode_accelerator_impl.cc',
280 'common/gpu/media/video_decode_accelerator_impl.h',
281 'common/gpu/stream_texture_android.cc',
282 'common/gpu/stream_texture_android.h',
283 'common/gpu/sync_point_manager.cc',
284 'common/gpu/sync_point_manager.h',
285 'common/gpu/texture_image_transport_surface.cc',
286 'common/gpu/texture_image_transport_surface.h',
287 'common/handle_enumerator_win.cc',
288 'common/handle_enumerator_win.h',
289 'common/host_shared_bitmap_manager.cc',
290 'common/host_shared_bitmap_manager.h',
291 'common/image_messages.h',
292 'common/indexed_db/indexed_db_constants.h',
293 'common/indexed_db/indexed_db_key.cc',
294 'common/indexed_db/indexed_db_key.h',
295 'common/indexed_db/indexed_db_key_path.cc',
296 'common/indexed_db/indexed_db_key_path.h',
297 'common/indexed_db/indexed_db_key_range.cc',
298 'common/indexed_db/indexed_db_key_range.h',
299 'common/indexed_db/indexed_db_messages.h',
300 'common/indexed_db/indexed_db_param_traits.cc',
301 'common/indexed_db/indexed_db_param_traits.h',
302 'common/input/did_overscroll_params.h',
303 'common/input/gesture_event_stream_validator.cc',
304 'common/input/gesture_event_stream_validator.h',
305 'common/input/input_event.cc',
306 'common/input/input_event.h',
307 'common/input/input_event_ack_state.h',
308 'common/input/input_event_stream_validator.cc',
309 'common/input/input_event_stream_validator.h',
310 'common/input/input_param_traits.cc',
311 'common/input/input_param_traits.h',
312 'common/input/scoped_web_input_event.cc',
313 'common/input/scoped_web_input_event.h',
314 'common/input/synthetic_gesture_packet.cc',
315 'common/input/synthetic_gesture_packet.h',
316 'common/input/synthetic_gesture_params.cc',
317 'common/input/synthetic_gesture_params.h',
318 'common/input/synthetic_pinch_gesture_params.cc',
319 'common/input/synthetic_pinch_gesture_params.h',
320 'common/input/synthetic_smooth_scroll_gesture_params.cc',
321 'common/input/synthetic_smooth_scroll_gesture_params.h',
322 'common/input/synthetic_tap_gesture_params.cc',
323 'common/input/synthetic_tap_gesture_params.h',
324 'common/input/synthetic_web_input_event_builders.cc',
325 'common/input/synthetic_web_input_event_builders.h',
326 'common/input/web_input_event_traits.cc',
327 'common/input/web_input_event_traits.h',
328 'common/input/web_touch_event_traits.cc',
329 'common/input/web_touch_event_traits.h',
330 'common/input_messages.h',
331 'common/inter_process_time_ticks_converter.cc',
332 'common/inter_process_time_ticks_converter.h',
333 'common/java_bridge_messages.h',
334 'common/mac/attributed_string_coder.h',
335 'common/mac/attributed_string_coder.mm',
336 'common/mac/font_descriptor.h',
337 'common/mac/font_descriptor.mm',
338 'common/mac/font_loader.h',
339 'common/mac/font_loader.mm',
340 'common/media/audio_messages.h',
341 'common/media/cdm_messages.h',
342 'common/media/cdm_messages_enums.h',
343 'common/media/media_param_traits.cc',
344 'common/media/media_param_traits.h',
345 'common/media/media_player_messages_android.h',
346 'common/media/media_player_messages_enums_android.h',
347 'common/media/media_stream_messages.h',
348 'common/media/media_stream_options.cc',
349 'common/media/media_stream_options.h',
350 'common/media/media_stream_track_metrics_host_messages.h',
351 'common/media/midi_messages.h',
352 'common/media/video_capture.h',
353 'common/media/video_capture_messages.h',
354 'common/media/webrtc_identity_messages.h',
355 'common/memory_benchmark_messages.h',
356 'common/message_port_messages.h',
357 'common/message_router.cc',
358 'common/message_router.h',
359 'common/mime_registry_messages.h',
360 'common/mojo/mojo_messages.h',
361 'common/mojo/mojo_service_names.cc',
362 'common/mojo/mojo_service_names.h',
363 'common/navigation_gesture.h',
364 'common/net/url_fetcher.cc',
365 'common/net/url_request_user_data.cc',
366 'common/net/url_request_user_data.h',
367 'common/one_writer_seqlock.cc',
368 'common/one_writer_seqlock.h',
369 'common/p2p_messages.h',
370 'common/page_state_serialization.cc',
371 'common/page_state_serialization.h',
372 'common/page_zoom.cc',
373 'common/pepper_messages.h',
374 'common/pepper_plugin_list.cc',
375 'common/pepper_plugin_list.h',
376 'common/pepper_renderer_instance_data.cc',
377 'common/pepper_renderer_instance_data.h',
378 'common/plugin_carbon_interpose_constants_mac.cc',
379 'common/plugin_carbon_interpose_constants_mac.h',
380 'common/plugin_constants_win.cc',
381 'common/plugin_constants_win.h',
382 'common/plugin_list.cc',
383 'common/plugin_list.h',
384 'common/plugin_list_mac.mm',
385 'common/plugin_list_posix.cc',
386 'common/plugin_list_win.cc',
387 'common/plugin_process_messages.h',
388 'common/power_monitor_messages.h',
389 'common/process_type.cc',
390 'common/push_messaging_messages.h',
391 'common/quota_messages.h',
392 'common/resource_messages.cc',
393 'common/resource_messages.h',
394 'common/resource_request_body.cc',
395 'common/resource_request_body.h',
396 'common/sandbox_init_mac.cc',
397 'common/sandbox_init_mac.h',
398 'common/sandbox_init_win.cc',
399 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
400 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
401 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
402 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
403 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
404 'common/sandbox_linux/bpf_gpu_policy_linux.h',
405 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
406 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
407 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
408 'common/sandbox_linux/bpf_renderer_policy_linux.h',
409 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
410 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
411 'common/sandbox_linux/sandbox_init_linux.cc',
412 'common/sandbox_linux/sandbox_linux.cc',
413 'common/sandbox_linux/sandbox_linux.h',
414 'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
415 'common/sandbox_linux/sandbox_seccomp_bpf_linux.h',
416 'common/sandbox_mac.h',
417 'common/sandbox_mac.mm',
418 'common/sandbox_util.cc',
419 'common/sandbox_util.h',
420 'common/sandbox_win.cc',
421 'common/sandbox_win.h',
422 'common/savable_url_schemes.cc',
423 'common/savable_url_schemes.h',
424 'common/screen_orientation_messages.h',
425 'common/service_worker/embedded_worker_messages.h',
426 'common/service_worker/service_worker_messages.h',
427 'common/service_worker/service_worker_status_code.cc',
428 'common/service_worker/service_worker_status_code.h',
429 'common/service_worker/service_worker_types.cc',
430 'common/service_worker/service_worker_types.h',
431 'common/set_process_title.cc',
432 'common/set_process_title.h',
433 'common/set_process_title_linux.cc',
434 'common/set_process_title_linux.h',
435 'common/socket_stream.h',
436 'common/socket_stream_handle_data.h',
437 'common/socket_stream_messages.h',
438 'common/speech_recognition_messages.h',
439 'common/ssl_status_serialization.cc',
440 'common/ssl_status_serialization.h',
441 'common/swapped_out_messages.cc',
442 'common/swapped_out_messages.h',
443 'common/text_input_client_messages.h',
444 'common/url_schemes.cc',
445 'common/url_schemes.h',
446 'common/user_agent.cc',
447 'common/user_agent_ios.mm',
448 'common/utility_messages.h',
449 'common/view_message_enums.h',
450 'common/view_messages.h',
451 'common/webplugin_geometry.cc',
452 'common/webplugin_geometry.h',
453 'common/websocket.cc',
454 'common/websocket.h',
455 'common/websocket_messages.h',
456 'common/worker_messages.h',
457 'common/zygote_commands_linux.h',
459 'target_conditions': [
460 ['OS=="android" and <(use_seccomp_bpf)==1', {
462 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'],
463 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
470 'common/cursors/webcursor_mac.mm',
474 # iOS has different user-agent construction utilities, since the
475 # version strings is not derived from webkit_version, and follows
476 # a different format.
478 'common/user_agent.cc',
481 # iOS only needs a small portion of content; exclude all the
482 # implementation, and re-include what is used.
483 ['exclude', '\\.(cc|mm)$'],
484 ['include', '_ios\\.(cc|mm)$'],
485 ['include', '^public/common/content_client\\.cc$'],
486 ['include', '^public/common/content_constants\\.cc$'],
487 ['include', '^public/common/content_switches\\.cc$'],
488 ['include', '^public/common/frame_navigate_params\\.cc$'],
489 ['include', '^public/common/media_stream_request\\.cc$'],
490 ['include', '^public/common/page_state\\.cc$'],
491 ['include', '^public/common/page_transition_types\\.cc$'],
492 ['include', '^public/common/password_form\\.cc$'],
493 ['include', '^public/common/signed_certificate_timestamp_id_and_status\\.cc$'],
494 ['include', '^public/common/speech_recognition_result\\.cc$'],
495 ['include', '^public/common/ssl_status\\.cc$'],
496 ['include', '^public/common/url_constants\\.cc$'],
497 ['include', '^common/content_paths\\.cc$'],
498 ['include', '^common/media/media_stream_options\\.cc$'],
499 ['include', '^common/net/url_fetcher\\.cc$'],
500 ['include', '^common/net/url_request_user_data\\.cc$'],
501 ['include', '^common/page_state_serialization\\.cc$'],
502 ['include', '^common/savable_url_schemes\\.cc$'],
503 ['include', '^common/url_schemes\\.cc$'],
508 '../gpu/gpu.gyp:command_buffer_service',
509 '../gpu/gpu.gyp:gles2_c_lib',
510 '../gpu/gpu.gyp:gles2_implementation',
511 # TODO: the dependency on gl_in_process_context should be decoupled from
512 # content and moved to android_webview. See crbug.com/365797.
513 '../gpu/gpu.gyp:gl_in_process_context',
514 '../gpu/gpu.gyp:gpu_ipc',
515 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
516 '../ipc/ipc.gyp:ipc',
517 '../media/media.gyp:media',
518 '../media/media.gyp:shared_memory_support',
519 '../mojo/mojo.gyp:mojo_environment_chromium',
520 '../mojo/mojo.gyp:mojo_system_impl',
521 '../third_party/WebKit/public/blink.gyp:blink',
522 '../ui/gl/gl.gyp:gl',
523 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
524 '../webkit/common/webkit_common.gyp:webkit_common',
525 '../webkit/storage_browser.gyp:webkit_storage_browser',
526 '../webkit/storage_common.gyp:webkit_storage_common',
527 'content.gyp:webkit_version',
532 '../webkit/webkit_resources.gyp:webkit_resources',
535 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc',
536 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h',
539 'common/plugin_list_posix.cc',
543 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
549 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc',
550 'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h',
554 '-landroid', # ANativeWindow
558 'content.gyp:content_jni_headers',
559 'content.gyp:common_aidl',
564 '../build/linux/system.gyp:pangocairo',
567 'common/font_list_ozone.cc',
572 '<(DEPTH)/third_party/khronos',
575 '<(DEPTH)/build/linux/system.gyp:xcomposite',
578 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
580 'common/gpu/x_util.cc',
581 'common/gpu/x_util.h',
584 ['enable_plugins==1', {
586 '../ppapi/ppapi_internal.gyp:ppapi_shared',
588 }, { # enable_plugins == 0
590 'common/pepper_plugin_list.cc',
591 'common/pepper_plugin_list.h',
592 'common/sandbox_util.cc',
597 '../media/media.gyp:media',
600 'common/gpu/media/android_video_decode_accelerator.cc',
601 'common/gpu/media/android_video_decode_accelerator.h',
604 ['OS=="android" and enable_webrtc==1', {
606 '../third_party/libyuv/libyuv.gyp:libyuv',
609 'common/gpu/media/android_video_encode_accelerator.cc',
610 'common/gpu/media/android_video_encode_accelerator.h',
613 ['target_arch=="arm" and chromeos == 1 and use_x11 == 1', {
615 '../media/media.gyp:media',
618 'common/gpu/media/exynos_v4l2_video_device.cc',
619 'common/gpu/media/exynos_v4l2_video_device.h',
620 'common/gpu/media/tegra_v4l2_video_device.cc',
621 'common/gpu/media/tegra_v4l2_video_device.h',
622 'common/gpu/media/v4l2_image_processor.cc',
623 'common/gpu/media/v4l2_image_processor.h',
624 'common/gpu/media/v4l2_video_decode_accelerator.cc',
625 'common/gpu/media/v4l2_video_decode_accelerator.h',
626 'common/gpu/media/v4l2_video_device.cc',
627 'common/gpu/media/v4l2_video_device.h',
628 'common/gpu/media/v4l2_video_encode_accelerator.cc',
629 'common/gpu/media/v4l2_video_encode_accelerator.h',
632 '<(DEPTH)/third_party/khronos',
641 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', {
643 'common/gpu/media/h264_dpb.cc',
644 'common/gpu/media/h264_dpb.h',
645 'common/gpu/media/va_surface.h',
646 'common/gpu/media/vaapi_h264_decoder.cc',
647 'common/gpu/media/vaapi_h264_decoder.h',
648 'common/gpu/media/vaapi_video_decode_accelerator.cc',
649 'common/gpu/media/vaapi_video_decode_accelerator.h',
650 'common/gpu/media/vaapi_wrapper.cc',
651 'common/gpu/media/vaapi_wrapper.h',
654 'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
655 'extra_header': 'common/gpu/media/va_stub_header.fragment',
656 'sig_files': ['common/gpu/media/va.sigs'],
657 'outfile_type': 'posix_stubs',
658 'stubs_filename_root': 'va_stubs',
659 'project_path': 'content/common/gpu/media',
660 'intermediate_dir': '<(INTERMEDIATE_DIR)',
661 'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
664 '<(DEPTH)/third_party/libva',
669 'action_name': 'generate_stubs',
671 '<(generate_stubs_script)',
676 '<(intermediate_dir)/<(stubs_filename_root).cc',
677 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
680 '<(generate_stubs_script)',
681 '-i', '<(intermediate_dir)',
682 '-o', '<(output_root)/<(project_path)',
683 '-t', '<(outfile_type)',
684 '-e', '<(extra_header)',
685 '-s', '<(stubs_filename_root)',
686 '-p', '<(project_path)',
689 'process_outputs_as_sources': 1,
690 'message': 'Generating libva stubs for dynamic loading',
696 '../media/media.gyp:media',
697 '../ui/gl/gl.gyp:gl',
720 'common/gpu/media/dxva_video_decode_accelerator.cc',
721 'common/gpu/media/dxva_video_decode_accelerator.h',
724 '<(DEPTH)/third_party/khronos',
727 ['OS=="win" and directxsdk_exists=="True"', {
730 'action_name': 'extract_xinput',
732 'input': 'APR2007_xinput_<(winsdk_arch).cab',
733 'output': 'xinput1_3.dll',
736 '../third_party/directxsdk/files/Redist/<(input)',
739 '<(PRODUCT_DIR)/<(output)',
743 '../build/extract_from_cab.py',
744 '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
751 ['use_seccomp_bpf==0', {
753 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
754 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
755 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
756 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
757 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
758 'common/sandbox_linux/bpf_gpu_policy_linux.h',
759 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
760 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
761 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
762 'common/sandbox_linux/bpf_renderer_policy_linux.h',
763 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
764 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
767 'defines': ['USE_SECCOMP_BPF'],