[Android] Remove more uses of android_commands from build/android/pylib.
[chromium-blink-merge.git] / content / content_common.gypi
blobd4ef54f9b18eb2bd67a0a4999728ce9a9c24c015
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.
6   'dependencies': [
7     '../base/base.gyp:base',
8     '../components/tracing.gyp:tracing',
9     '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
10     '../net/net.gyp:net',
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/ime/ui_base_ime.gyp:ui_base_ime',
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',
23   ],
24   'include_dirs': [
25     '..',
26   ],
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',
33   ],
34   'variables': {
35     'use_v4lplugin%': 0,
36     'use_v4l2_codec%': 0,
37     'public_common_sources': [
38       'public/common/appcache_info.h',
39       'public/common/bindings_policy.h',
40       'public/common/child_process_host.h',
41       'public/common/child_process_host_delegate.cc',
42       'public/common/child_process_host_delegate.h',
43       'public/common/child_process_sandbox_support_linux.h',
44       'public/common/color_suggestion.cc',
45       'public/common/color_suggestion.h',
46       'public/common/common_param_traits.cc',
47       'public/common/common_param_traits.h',
48       'public/common/common_param_traits_macros.h',
49       'public/common/console_message_level.h',
50       'public/common/content_client.cc',
51       'public/common/content_client.h',
52       'public/common/content_constants.cc',
53       'public/common/content_constants.h',
54       'public/common/content_descriptors.h',
55       'public/common/content_ipc_logging.h',
56       'public/common/content_paths.h',
57       'public/common/content_switches.cc',
58       'public/common/content_switches.h',
59       'public/common/context_menu_params.cc',
60       'public/common/context_menu_params.h',
61       'public/common/drop_data.cc',
62       'public/common/drop_data.h',
63       'public/common/dwrite_font_platform_win.h',
64       'public/common/favicon_url.cc',
65       'public/common/favicon_url.h',
66       'public/common/file_chooser_file_info.cc',
67       'public/common/file_chooser_file_info.h',
68       'public/common/file_chooser_params.cc',
69       'public/common/file_chooser_params.h',
70       'public/common/frame_navigate_params.cc',
71       'public/common/frame_navigate_params.h',
72       'public/common/geoposition.cc',
73       'public/common/geoposition.h',
74       'public/common/gpu_memory_stats.cc',
75       'public/common/gpu_memory_stats.h',
76       'public/common/injection_test_mac.h',
77       'public/common/injection_test_win.h',
78       'public/common/javascript_message_type.h',
79       'public/common/main_function_params.h',
80       'public/common/manifest.cc',
81       'public/common/manifest.h',
82       'public/common/media_stream_request.cc',
83       'public/common/media_stream_request.h',
84       'public/common/menu_item.cc',
85       'public/common/menu_item.h',
86       'public/common/message_port_types.cc',
87       'public/common/message_port_types.h',
88       'public/common/mojo_channel_switches.cc',
89       'public/common/mojo_channel_switches.h',
90       'public/common/navigator_connect_client.cc',
91       'public/common/navigator_connect_client.h',
92       'public/common/origin_util.h',
93       'public/common/page_state.cc',
94       'public/common/page_state.h',
95       'public/common/page_type.h',
96       'public/common/page_zoom.h',
97       'public/common/pepper_plugin_info.cc',
98       'public/common/pepper_plugin_info.h',
99       'public/common/persistent_notification_status.h',
100       'public/common/platform_notification_data.cc',
101       'public/common/platform_notification_data.h',
102       'public/common/process_type.h',
103       'public/common/push_messaging_status.cc',
104       'public/common/push_messaging_status.h',
105       'public/common/referrer.cc',
106       'public/common/referrer.h',
107       'public/common/renderer_preferences.cc',
108       'public/common/renderer_preferences.h',
109       'public/common/request_context_frame_type.h',
110       'public/common/request_context_type.h',
111       'public/common/resource_devtools_info.cc',
112       'public/common/resource_devtools_info.h',
113       'public/common/resource_response.cc',
114       'public/common/resource_response.h',
115       'public/common/resource_response_info.cc',
116       'public/common/resource_response_info.h',
117       'public/common/resource_type.cc',
118       'public/common/resource_type.h',
119       'public/common/result_codes.h',
120       'public/common/sandbox_init.h',
121       'public/common/sandbox_linux.h',
122       'public/common/sandbox_type_mac.h',
123       'public/common/sandboxed_process_launcher_delegate.cc',
124       'public/common/sandboxed_process_launcher_delegate.h',
125       'public/common/security_style.h',
126       'public/common/send_zygote_child_ping_linux.h',
127       'public/common/service_registry.h',
128       'public/common/signed_certificate_timestamp_id_and_status.cc',
129       'public/common/signed_certificate_timestamp_id_and_status.h',
130       'public/common/speech_recognition_error.h',
131       'public/common/speech_recognition_grammar.h',
132       'public/common/speech_recognition_result.cc',
133       'public/common/speech_recognition_result.h',
134       'public/common/ssl_status.cc',
135       'public/common/ssl_status.h',
136       'public/common/stop_find_action.h',
137       'public/common/storage_quota_params.h',
138       'public/common/three_d_api_types.h',
139       'public/common/top_controls_state.h',
140       'public/common/transition_element.h',
141       'public/common/url_constants.cc',
142       'public/common/url_constants.h',
143       'public/common/url_fetcher.h',
144       'public/common/url_utils.cc',
145       'public/common/url_utils.h',
146       'public/common/user_agent.h',
147       'public/common/web_preferences.cc',
148       'public/common/web_preferences.h',
149       'public/common/webplugininfo.cc',
150       'public/common/webplugininfo.h',
151       'public/common/window_container_type.cc',
152       'public/common/window_container_type.h',
153       'public/common/zygote_fork_delegate_linux.h',
154     ],
155     'private_common_sources': [
156       'common/accessibility_messages.h',
157       'common/all_messages.h',
158       'common/android/address_parser.cc',
159       'common/android/address_parser.h',
160       'common/android/address_parser_internal.cc',
161       'common/android/address_parser_internal.h',
162       'common/android/common_jni_registrar.cc',
163       'common/android/common_jni_registrar.h',
164       'common/android/gin_java_bridge_errors.cc',
165       'common/android/gin_java_bridge_errors.h',
166       'common/android/gin_java_bridge_value.cc',
167       'common/android/gin_java_bridge_value.h',
168       'common/android/hash_set.cc',
169       'common/android/hash_set.h',
170       'common/android/surface_texture_manager.cc',
171       'common/android/surface_texture_manager.h',
172       'common/android/surface_texture_peer.cc',
173       'common/android/surface_texture_peer.h',
174       'common/appcache_interfaces.cc',
175       'common/appcache_interfaces.h',
176       'common/appcache_messages.h',
177       'common/bluetooth/bluetooth_device.cc',
178       'common/bluetooth/bluetooth_device.h',
179       'common/bluetooth/bluetooth_error.h',
180       'common/bluetooth/bluetooth_messages.h',
181       'common/browser_plugin/browser_plugin_constants.cc',
182       'common/browser_plugin/browser_plugin_constants.h',
183       'common/browser_plugin/browser_plugin_messages.h',
184       'common/cache_storage/cache_storage_messages.h',
185       'common/cache_storage/cache_storage_types.cc',
186       'common/cache_storage/cache_storage_types.h',
187       'common/cc_messages.cc',
188       'common/cc_messages.h',
189       'common/child_process_host_impl.cc',
190       'common/child_process_host_impl.h',
191       'common/child_process_messages.h',
192       'common/child_process_sandbox_support_impl_linux.cc',
193       'common/child_process_sandbox_support_impl_linux.h',
194       'common/child_process_sandbox_support_impl_shm_linux.cc',
195       'common/clipboard_format.h',
196       'common/clipboard_messages.h',
197       'common/content_constants_internal.cc',
198       'common/content_constants_internal.h',
199       'common/content_export.h',
200       'common/content_ipc_logging.cc',
201       'common/content_message_generator.cc',
202       'common/content_message_generator.h',
203       'common/content_param_traits.cc',
204       'common/content_param_traits.h',
205       'common/content_param_traits_macros.h',
206       'common/content_paths.cc',
207       'common/content_switches_internal.cc',
208       'common/content_switches_internal.h',
209       'common/cursors/webcursor.cc',
210       'common/cursors/webcursor.h',
211       'common/cursors/webcursor_android.cc',
212       'common/cursors/webcursor_aura.cc',
213       'common/cursors/webcursor_aurawin.cc',
214       'common/cursors/webcursor_aurax11.cc',
215       'common/cursors/webcursor_mac.mm',
216       'common/cursors/webcursor_ozone.cc',
217       'common/database_messages.h',
218       'common/date_time_suggestion.h',
219       'common/device_sensors/device_light_data.h',
220       'common/device_sensors/device_light_hardware_buffer.h',
221       'common/device_sensors/device_light_messages.h',
222       'common/device_sensors/device_motion_hardware_buffer.h',
223       'common/device_sensors/device_motion_messages.h',
224       'common/device_sensors/device_orientation_hardware_buffer.h',
225       'common/device_sensors/device_orientation_messages.h',
226       'common/devtools_messages.h',
227       'common/discardable_shared_memory_heap.cc',
228       'common/discardable_shared_memory_heap.h',
229       'common/dom_storage/dom_storage_map.cc',
230       'common/dom_storage/dom_storage_map.h',
231       'common/dom_storage/dom_storage_messages.h',
232       'common/drag_event_source_info.h',
233       'common/drag_messages.h',
234       'common/drag_traits.h',
235       'common/dwrite_font_platform_win.cc',
236       'common/edit_command.h',
237       'common/file_utilities_messages.h',
238       'common/fileapi/file_system_messages.h',
239       'common/fileapi/webblob_messages.h',
240       'common/font_cache_dispatcher_win.cc',
241       'common/font_cache_dispatcher_win.h',
242       'common/font_config_ipc_linux.cc',
243       'common/font_config_ipc_linux.h',
244       'common/font_list.cc',
245       'common/font_list.h',
246       'common/font_list_android.cc',
247       'common/font_list_mac.mm',
248       'common/font_list_ozone.cc',
249       'common/font_list_pango.cc',
250       'common/font_list_win.cc',
251       'common/frame_message_enums.h',
252       'common/frame_messages.h',
253       'common/frame_param.cc',
254       'common/frame_param.h',
255       'common/frame_param_macros.h',
256       'common/frame_replication_state.cc',
257       'common/frame_replication_state.h',
258       'common/gamepad_hardware_buffer.h',
259       'common/gamepad_messages.h',
260       'common/gamepad_param_traits.cc',
261       'common/gamepad_param_traits.h',
262       'common/gamepad_user_gesture.cc',
263       'common/gamepad_user_gesture.h',
264       'common/geofencing_messages.h',
265       'common/geofencing_types.cc',
266       'common/geofencing_types.h',
267       'common/gin_java_bridge_messages.h',
268       'common/gpu/client/command_buffer_proxy_impl.cc',
269       'common/gpu/client/command_buffer_proxy_impl.h',
270       'common/gpu/client/command_buffer_metrics.cc',
271       'common/gpu/client/command_buffer_metrics.h',
272       'common/gpu/client/context_provider_command_buffer.cc',
273       'common/gpu/client/context_provider_command_buffer.h',
274       'common/gpu/client/gl_helper.cc',
275       'common/gpu/client/gl_helper.h',
276       'common/gpu/client/gl_helper_readback_support.cc',
277       'common/gpu/client/gl_helper_readback_support.h',
278       'common/gpu/client/gl_helper_scaling.cc',
279       'common/gpu/client/gl_helper_scaling.h',
280       'common/gpu/client/gpu_channel_host.cc',
281       'common/gpu/client/gpu_channel_host.h',
282       'common/gpu/client/gpu_memory_buffer_factory_host.h',
283       'common/gpu/client/gpu_memory_buffer_impl.cc',
284       'common/gpu/client/gpu_memory_buffer_impl.h',
285       'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc',
286       'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h',
287       'common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc',
288       'common/gpu/client/gpu_memory_buffer_impl_shared_memory.h',
289       'common/gpu/client/gpu_video_decode_accelerator_host.cc',
290       'common/gpu/client/gpu_video_decode_accelerator_host.h',
291       'common/gpu/client/gpu_video_encode_accelerator_host.cc',
292       'common/gpu/client/gpu_video_encode_accelerator_host.h',
293       'common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc',
294       'common/gpu/client/webgraphicscontext3d_command_buffer_impl.h',
295       'common/gpu/gpu_channel.cc',
296       'common/gpu/gpu_channel.h',
297       'common/gpu/gpu_channel_manager.cc',
298       'common/gpu/gpu_channel_manager.h',
299       'common/gpu/gpu_command_buffer_stub.cc',
300       'common/gpu/gpu_command_buffer_stub.h',
301       'common/gpu/gpu_config.h',
302       'common/gpu/gpu_memory_buffer_factory.cc',
303       'common/gpu/gpu_memory_buffer_factory.h',
304       'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc',
305       'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h',
306       'common/gpu/gpu_memory_buffer_factory_shared_memory.cc',
307       'common/gpu/gpu_memory_buffer_factory_shared_memory.h',
308       'common/gpu/gpu_memory_manager.cc',
309       'common/gpu/gpu_memory_manager.h',
310       'common/gpu/gpu_memory_manager_client.cc',
311       'common/gpu/gpu_memory_manager_client.h',
312       'common/gpu/gpu_memory_tracking.cc',
313       'common/gpu/gpu_memory_tracking.h',
314       'common/gpu/gpu_memory_uma_stats.h',
315       'common/gpu/gpu_messages.h',
316       'common/gpu/gpu_process_launch_causes.h',
317       'common/gpu/gpu_result_codes.h',
318       'common/gpu/gpu_surface_lookup.cc',
319       'common/gpu/gpu_surface_lookup.h',
320       'common/gpu/gpu_watchdog.h',
321       'common/gpu/image_transport_surface.cc',
322       'common/gpu/image_transport_surface.h',
323       'common/gpu/image_transport_surface_android.cc',
324       'common/gpu/image_transport_surface_calayer_mac.h',
325       'common/gpu/image_transport_surface_calayer_mac.mm',
326       'common/gpu/image_transport_surface_fbo_mac.h',
327       'common/gpu/image_transport_surface_fbo_mac.mm',
328       'common/gpu/image_transport_surface_iosurface_mac.cc',
329       'common/gpu/image_transport_surface_iosurface_mac.h',
330       'common/gpu/image_transport_surface_linux.cc',
331       'common/gpu/image_transport_surface_mac.mm',
332       'common/gpu/image_transport_surface_win.cc',
333       'common/gpu/media/fake_video_decode_accelerator.cc',
334       'common/gpu/media/fake_video_decode_accelerator.h',
335       'common/gpu/media/gpu_video_accelerator_util.cc',
336       'common/gpu/media/gpu_video_accelerator_util.h',
337       'common/gpu/media/gpu_video_decode_accelerator.cc',
338       'common/gpu/media/gpu_video_decode_accelerator.h',
339       'common/gpu/media/gpu_video_encode_accelerator.cc',
340       'common/gpu/media/gpu_video_encode_accelerator.h',
341       'common/gpu/null_transport_surface.cc',
342       'common/gpu/null_transport_surface.h',
343       'common/gpu/stream_texture_android.cc',
344       'common/gpu/stream_texture_android.h',
345       'common/handle_enumerator_win.cc',
346       'common/handle_enumerator_win.h',
347       'common/host_discardable_shared_memory_manager.cc',
348       'common/host_discardable_shared_memory_manager.h',
349       'common/host_shared_bitmap_manager.cc',
350       'common/host_shared_bitmap_manager.h',
351       'common/image_messages.h',
352       'common/indexed_db/indexed_db_constants.h',
353       'common/indexed_db/indexed_db_key.cc',
354       'common/indexed_db/indexed_db_key.h',
355       'common/indexed_db/indexed_db_key_path.cc',
356       'common/indexed_db/indexed_db_key_path.h',
357       'common/indexed_db/indexed_db_key_range.cc',
358       'common/indexed_db/indexed_db_key_range.h',
359       'common/indexed_db/indexed_db_messages.h',
360       'common/indexed_db/indexed_db_param_traits.cc',
361       'common/indexed_db/indexed_db_param_traits.h',
362       'common/input/did_overscroll_params.cc',
363       'common/input/did_overscroll_params.h',
364       'common/input/gesture_event_stream_validator.cc',
365       'common/input/gesture_event_stream_validator.h',
366       'common/input/input_event.cc',
367       'common/input/input_event.h',
368       'common/input/input_event_stream_validator.cc',
369       'common/input/input_event_stream_validator.h',
370       'common/input/input_param_traits.cc',
371       'common/input/input_param_traits.h',
372       'common/input/scoped_web_input_event.cc',
373       'common/input/scoped_web_input_event.h',
374       'common/input/synthetic_gesture_packet.cc',
375       'common/input/synthetic_gesture_packet.h',
376       'common/input/synthetic_gesture_params.cc',
377       'common/input/synthetic_gesture_params.h',
378       'common/input/synthetic_pinch_gesture_params.cc',
379       'common/input/synthetic_pinch_gesture_params.h',
380       'common/input/synthetic_smooth_drag_gesture_params.cc',
381       'common/input/synthetic_smooth_drag_gesture_params.h',
382       'common/input/synthetic_smooth_scroll_gesture_params.cc',
383       'common/input/synthetic_smooth_scroll_gesture_params.h',
384       'common/input/synthetic_tap_gesture_params.cc',
385       'common/input/synthetic_tap_gesture_params.h',
386       'common/input/synthetic_web_input_event_builders.cc',
387       'common/input/synthetic_web_input_event_builders.h',
388       'common/input/touch_event_stream_validator.cc',
389       'common/input/touch_event_stream_validator.h',
390       'common/input/web_input_event_traits.cc',
391       'common/input/web_input_event_traits.h',
392       'common/input/web_touch_event_traits.cc',
393       'common/input/web_touch_event_traits.h',
394       'common/input_messages.h',
395       'common/inter_process_time_ticks_converter.cc',
396       'common/inter_process_time_ticks_converter.h',
397       'common/in_process_child_thread_params.cc',
398       'common/in_process_child_thread_params.h',
399       'common/mac/attributed_string_coder.h',
400       'common/mac/attributed_string_coder.mm',
401       'common/mac/font_descriptor.h',
402       'common/mac/font_descriptor.mm',
403       'common/mac/font_loader.h',
404       'common/mac/font_loader.mm',
405       'common/manifest_manager_messages.h',
406       'common/media/aec_dump_messages.h',
407       'common/media/audio_messages.h',
408       'common/media/cdm_messages.h',
409       'common/media/cdm_messages_enums.h',
410       'common/media/media_param_traits.cc',
411       'common/media/media_param_traits.h',
412       'common/media/media_player_messages_android.h',
413       'common/media/media_player_messages_enums_android.h',
414       'common/media/media_stream_messages.h',
415       'common/media/media_stream_options.cc',
416       'common/media/media_stream_options.h',
417       'common/media/media_stream_track_metrics_host_messages.h',
418       'common/media/midi_messages.h',
419       'common/media/video_capture.h',
420       'common/media/video_capture_messages.h',
421       'common/media/webrtc_identity_messages.h',
422       'common/memory_benchmark_messages.h',
423       'common/message_port_messages.h',
424       'common/message_router.cc',
425       'common/message_router.h',
426       'common/mime_registry_messages.h',
427       'common/mojo/channel_init.cc',
428       'common/mojo/channel_init.h',
429       'common/mojo/mojo_messages.h',
430       'common/mojo/service_registry_impl.cc',
431       'common/mojo/service_registry_impl.h',
432       'common/navigation_gesture.h',
433       'common/navigation_params.cc',
434       'common/navigation_params.h',
435       'common/navigator_connect_messages.h',
436       'common/net/url_fetcher.cc',
437       'common/net/url_request_user_data.cc',
438       'common/net/url_request_user_data.h',
439       'common/one_writer_seqlock.cc',
440       'common/one_writer_seqlock.h',
441       'common/p2p_messages.h',
442       'common/origin_util.cc',
443       'common/page_state_serialization.cc',
444       'common/page_state_serialization.h',
445       'common/page_zoom.cc',
446       'common/pepper_file_util.cc',
447       'common/pepper_file_util.h',
448       'common/pepper_messages.h',
449       'common/pepper_plugin_list.cc',
450       'common/pepper_plugin_list.h',
451       'common/pepper_renderer_instance_data.cc',
452       'common/pepper_renderer_instance_data.h',
453       'common/platform_notification_messages.h',
454       'common/plugin_constants_win.cc',
455       'common/plugin_constants_win.h',
456       'common/plugin_list.cc',
457       'common/plugin_list.h',
458       'common/plugin_list_mac.mm',
459       'common/plugin_list_posix.cc',
460       'common/plugin_list_win.cc',
461       'common/plugin_process_messages.h',
462       'common/power_monitor_messages.h',
463       'common/process_type.cc',
464       'common/push_messaging_messages.h',
465       'common/quota_messages.h',
466       'common/resource_messages.cc',
467       'common/resource_messages.h',
468       'common/resource_request_body.cc',
469       'common/resource_request_body.h',
470       'common/sandbox_init_mac.cc',
471       'common/sandbox_init_mac.h',
472       'common/sandbox_init_win.cc',
473       'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
474       'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
475       'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
476       'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
477       'common/sandbox_linux/bpf_gpu_policy_linux.cc',
478       'common/sandbox_linux/bpf_gpu_policy_linux.h',
479       'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
480       'common/sandbox_linux/bpf_ppapi_policy_linux.h',
481       'common/sandbox_linux/bpf_renderer_policy_linux.cc',
482       'common/sandbox_linux/bpf_renderer_policy_linux.h',
483       'common/sandbox_linux/bpf_utility_policy_linux.cc',
484       'common/sandbox_linux/bpf_utility_policy_linux.h',
485       'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
486       'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
487       'common/sandbox_linux/sandbox_debug_handling_linux.cc',
488       'common/sandbox_linux/sandbox_debug_handling_linux.h',
489       'common/sandbox_linux/sandbox_init_linux.cc',
490       'common/sandbox_linux/sandbox_linux.cc',
491       'common/sandbox_linux/sandbox_linux.h',
492       'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
493       'common/sandbox_linux/sandbox_seccomp_bpf_linux.h',
494       'common/sandbox_mac.h',
495       'common/sandbox_mac.mm',
496       'common/sandbox_util.cc',
497       'common/sandbox_util.h',
498       'common/sandbox_win.cc',
499       'common/sandbox_win.h',
500       'common/savable_url_schemes.cc',
501       'common/savable_url_schemes.h',
502       'common/screen_orientation_messages.h',
503       'common/send_zygote_child_ping_linux.cc',
504       'common/service_worker/embedded_worker_messages.h',
505       'common/service_worker/service_worker_client_info.cc',
506       'common/service_worker/service_worker_client_info.h',
507       'common/service_worker/service_worker_messages.h',
508       'common/service_worker/service_worker_status_code.cc',
509       'common/service_worker/service_worker_status_code.h',
510       'common/service_worker/service_worker_types.cc',
511       'common/service_worker/service_worker_types.h',
512       'common/set_process_title.cc',
513       'common/set_process_title.h',
514       'common/set_process_title_linux.cc',
515       'common/set_process_title_linux.h',
516       'common/speech_recognition_messages.h',
517       'common/ssl_status_serialization.cc',
518       'common/ssl_status_serialization.h',
519       'common/swapped_out_messages.cc',
520       'common/swapped_out_messages.h',
521       'common/text_input_client_messages.h',
522       'common/url_schemes.cc',
523       'common/url_schemes.h',
524       'common/user_agent.cc',
525       'common/utility_messages.h',
526       'common/view_message_enums.h',
527       'common/view_messages.h',
528       'common/webplugin_geometry.cc',
529       'common/webplugin_geometry.h',
530       'common/websocket.cc',
531       'common/websocket.h',
532       'common/websocket_messages.h',
533       'common/worker_messages.h',
534       'common/zygote_commands_linux.h',
535     ],
536   },
537   'sources': [
538     '<@(public_common_sources)',
539     '<@(private_common_sources)',
540   ],
541   'target_conditions': [
542     ['OS=="android" and <(use_seccomp_bpf)==1', {
543       'sources/': [
544         ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'],
545         ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
546       ],
547     }],
548   ],
549   'conditions': [
550     ['OS=="ios"', {
551       # iOS has different user-agent construction utilities, since the
552       # version strings is not derived from webkit_version, and follows
553       # a different format.
554       'sources!': [
555         'common/user_agent.cc',
556       ],
557       'sources/': [
558         # iOS only needs a small portion of content; exclude all the
559         # implementation, and re-include what is used.
560         ['exclude', '\\.(cc|mm)$'],
561         ['include', '_ios\\.(cc|mm)$'],
562         ['include', '^public/common/content_client\\.cc$'],
563         ['include', '^public/common/content_constants\\.cc$'],
564         ['include', '^public/common/content_switches\\.cc$'],
565         ['include', '^public/common/frame_navigate_params\\.cc$'],
566         ['include', '^public/common/media_stream_request\\.cc$'],
567         ['include', '^public/common/page_state\\.cc$'],
568         ['include', '^public/common/password_form\\.cc$'],
569         ['include', '^public/common/signed_certificate_timestamp_id_and_status\\.cc$'],
570         ['include', '^public/common/speech_recognition_result\\.cc$'],
571         ['include', '^public/common/ssl_status\\.cc$'],
572         ['include', '^public/common/url_constants\\.cc$'],
573         ['include', '^common/content_paths\\.cc$'],
574         ['include', '^common/media/media_stream_options\\.cc$'],
575         ['include', '^common/net/url_fetcher\\.cc$'],
576         ['include', '^common/net/url_request_user_data\\.cc$'],
577         ['include', '^common/page_state_serialization\\.cc$'],
578         ['include', '^common/savable_url_schemes\\.cc$'],
579         ['include', '^common/url_schemes\\.cc$'],
580       ],
581     }, {  # OS!="ios"
582       'dependencies': [
583         '../cc/cc.gyp:cc',
584         '../gpu/blink/gpu_blink.gyp:gpu_blink',
585         '../gpu/gpu.gyp:command_buffer_service',
586         '../gpu/gpu.gyp:gles2_c_lib',
587         '../gpu/gpu.gyp:gles2_implementation',
588         # TODO: the dependency on gl_in_process_context should be decoupled from
589         # content and moved to android_webview. See crbug.com/365797.
590         '../gpu/gpu.gyp:gl_in_process_context',
591         '../gpu/gpu.gyp:gpu_ipc',
592         '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
593         '../ipc/ipc.gyp:ipc',
594         '../ipc/mojo/ipc_mojo.gyp:ipc_mojo',
595         '../media/media.gyp:media',
596         '../media/media.gyp:shared_memory_support',
597         '../mojo/mojo_base.gyp:mojo_environment_chromium',
598         '../storage/storage_common.gyp:storage_common',
599         '../third_party/WebKit/public/blink.gyp:blink',
600         '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
601         '../third_party/mojo/mojo_public.gyp:mojo_application_bindings',
602         '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
603         '../ui/gl/gl.gyp:gl',
604         '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
605       ],
606       'export_dependent_settings' : [
607         '../third_party/mojo/mojo_public.gyp:mojo_application_bindings',
608         '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
609       ],
610       'actions': [
611         {
612           'action_name': 'generate_webkit_version',
613           'inputs': [
614             '<(script)',
615             '<(lastchange)',
616             '<(template)',
617           ],
618           'outputs': [
619             '<(SHARED_INTERMEDIATE_DIR)/webkit_version.h',
620           ],
621           'action': ['python',
622                      '<(script)',
623                      '-f', '<(lastchange)',
624                      '<(template)',
625                      '<@(_outputs)',
626           ],
627           'variables': {
628             'script': '<(DEPTH)/build/util/version.py',
629             'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink',
630             'template': 'webkit_version.h.in',
631           },
632         },
633       ],
634     }],
635     ['OS=="mac"', {
636       'dependencies': [
637         '../media/media.gyp:media',
638         'app/resources/content_resources.gyp:content_resources',
639         '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac'
640       ],
641       'sources': [
642         'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc',
643         'common/gpu/client/gpu_memory_buffer_impl_io_surface.h',
644         'common/gpu/gpu_memory_buffer_factory_io_surface.cc',
645         'common/gpu/gpu_memory_buffer_factory_io_surface.h',
646         'common/gpu/media/vt.h',
647         'common/gpu/media/vt_video_decode_accelerator.cc',
648         'common/gpu/media/vt_video_decode_accelerator.h',
649       ],
650       'sources!': [
651         'common/plugin_list_posix.cc',
652       ],
653       'link_settings': {
654         'libraries': [
655           '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
656           '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
657         ],
658       },
659       'variables': {
660         'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
661         'extra_header': 'common/gpu/media/vt_stubs_header.fragment',
662         'sig_files': ['common/gpu/media/vt.sig'],
663         'outfile_type': 'posix_stubs',
664         'stubs_filename_root': 'vt_stubs',
665         'project_path': 'content/common/gpu/media',
666         'intermediate_dir': '<(INTERMEDIATE_DIR)',
667         'output_root': '<(SHARED_INTERMEDIATE_DIR)/vt_stubs',
668       },
669       'include_dirs': [
670         '<(output_root)',
671       ],
672       'actions': [
673         {
674           'action_name': 'generate_stubs',
675           'inputs': [
676             '<(generate_stubs_script)',
677             '<(extra_header)',
678             '<@(sig_files)',
679           ],
680           'outputs': [
681             '<(intermediate_dir)/<(stubs_filename_root).cc',
682             '<(output_root)/<(project_path)/<(stubs_filename_root).h',
683           ],
684           'action': ['python',
685                      '<(generate_stubs_script)',
686                      '-i', '<(intermediate_dir)',
687                      '-o', '<(output_root)/<(project_path)',
688                      '-t', '<(outfile_type)',
689                      '-e', '<(extra_header)',
690                      '-s', '<(stubs_filename_root)',
691                      '-p', '<(project_path)',
692                      '<@(_inputs)',
693           ],
694           'process_outputs_as_sources': 1,
695           'message': 'Generating VideoToolbox stubs for dynamic loading',
696         },
697       ],
698     }],
699     ['OS=="android"',{
700       'sources': [
701         'common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc',
702         'common/gpu/client/gpu_memory_buffer_impl_surface_texture.h',
703         'common/gpu/gpu_memory_buffer_factory_surface_texture.cc',
704         'common/gpu/gpu_memory_buffer_factory_surface_texture.h',
705       ],
706       'link_settings': {
707         'libraries': [
708           '-landroid',  # ANativeWindow
709         ],
710       },
711      'dependencies': [
712         'content.gyp:content_jni_headers',
713         'content.gyp:common_aidl',
714       ],
715     }],
716     ['use_pango == 1', {
717       'dependencies': [
718         '../build/linux/system.gyp:pangocairo',
719       ],
720       'sources!': [
721         'common/font_list_ozone.cc',
722       ],
723     }],
724     ['use_x11 == 1', {
725       'include_dirs': [
726         '<(DEPTH)/third_party/khronos',
727       ],
728       'dependencies': [
729          '<(DEPTH)/build/linux/system.gyp:xcomposite',
730       ],
731     }],
732     ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', {
733       'sources': [
734         'common/gpu/x_util.h',
735       ],
736     }],
737     ['enable_plugins==1', {
738       'dependencies': [
739         '../ppapi/ppapi_internal.gyp:ppapi_shared',
740       ],
741     }, {  # enable_plugins == 0
742       'sources!': [
743         'common/pepper_file_util.cc',
744         'common/pepper_file_util.h',
745         'common/pepper_messages.h',
746         'common/pepper_plugin_list.cc',
747         'common/pepper_plugin_list.h',
748         'common/pepper_renderer_instance_data.cc',
749         'common/pepper_renderer_instance_data.h',
750         'common/plugin_list.cc',
751         'common/plugin_list.h',
752         'common/plugin_list_posix.cc',
753         'common/sandbox_util.cc',
754         'public/common/pepper_plugin_info.cc',
755         'public/common/pepper_plugin_info.h',
756       ],
757     }],
758     ['OS=="android"', {
759       'dependencies': [
760         '../media/media.gyp:media',
761       ],
762       'sources': [
763         'common/gpu/media/android_video_decode_accelerator.cc',
764         'common/gpu/media/android_video_decode_accelerator.h',
765       ],
766     }],
767     ['OS=="android" and enable_webrtc==1', {
768       'dependencies': [
769         '../third_party/libyuv/libyuv.gyp:libyuv',
770       ],
771       'sources': [
772         'common/gpu/media/android_video_encode_accelerator.cc',
773         'common/gpu/media/android_video_encode_accelerator.h',
774       ],
775     }],
776     ['enable_webrtc==1', {
777       'dependencies': [
778         '../third_party/libjingle/libjingle.gyp:libjingle',
779       ],
780     }],
781     ['use_v4lplugin==1 and chromeos==1', {
782       'defines': [
783         'USE_LIBV4L2'
784       ],
785       'variables': {
786         'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
787         'extra_header': 'common/gpu/media/v4l2_stub_header.fragment',
788         'sig_files': ['common/gpu/media/v4l2.sig'],
789         'outfile_type': 'posix_stubs',
790         'stubs_filename_root': 'v4l2_stubs',
791         'project_path': 'content/common/gpu/media',
792         'intermediate_dir': '<(INTERMEDIATE_DIR)',
793         'output_root': '<(SHARED_INTERMEDIATE_DIR)/v4l2',
794       },
795       'include_dirs': [
796         '<(output_root)',
797       ],
798       'actions': [
799         {
800           'action_name': 'generate_stubs',
801           'inputs': [
802             '<(generate_stubs_script)',
803             '<(extra_header)',
804             '<@(sig_files)',
805           ],
806           'outputs': [
807             '<(intermediate_dir)/<(stubs_filename_root).cc',
808             '<(output_root)/<(project_path)/<(stubs_filename_root).h',
809           ],
810           'action': ['python',
811             '<(generate_stubs_script)',
812             '-i', '<(intermediate_dir)',
813             '-o', '<(output_root)/<(project_path)',
814             '-t', '<(outfile_type)',
815             '-e', '<(extra_header)',
816             '-s', '<(stubs_filename_root)',
817             '-p', '<(project_path)',
818             '<@(_inputs)',
819           ],
820           'process_outputs_as_sources': 1,
821           'message': 'Generating libv4l2 stubs for dynamic loading',
822         },
823       ],
824     }],
825     ['chromeos==1', {
826       'sources': [
827         'common/gpu/media/accelerated_video_decoder.h',
828         'common/gpu/media/h264_decoder.cc',
829         'common/gpu/media/h264_decoder.h',
830         'common/gpu/media/h264_dpb.cc',
831         'common/gpu/media/h264_dpb.h',
832       ],
833     }],
834     ['chromeos==1 and use_v4l2_codec==1', {
835       'direct_dependent_settings': {
836         'defines': [
837           'USE_V4L2_CODEC'
838         ],
839       },
840       'defines': [
841         'USE_V4L2_CODEC'
842       ],
843       'dependencies': [
844         '../media/media.gyp:media',
845       ],
846       'sources': [
847         'common/gpu/media/generic_v4l2_device.cc',
848         'common/gpu/media/generic_v4l2_device.h',
849         'common/gpu/media/v4l2_device.cc',
850         'common/gpu/media/v4l2_device.h',
851         'common/gpu/media/v4l2_image_processor.cc',
852         'common/gpu/media/v4l2_image_processor.h',
853         'common/gpu/media/v4l2_slice_video_decode_accelerator.cc',
854         'common/gpu/media/v4l2_slice_video_decode_accelerator.h',
855         'common/gpu/media/v4l2_video_decode_accelerator.cc',
856         'common/gpu/media/v4l2_video_decode_accelerator.h',
857         'common/gpu/media/v4l2_video_encode_accelerator.cc',
858         'common/gpu/media/v4l2_video_encode_accelerator.h',
859         'common/gpu/media/vp8_decoder.cc',
860         'common/gpu/media/vp8_decoder.h',
861         'common/gpu/media/vp8_picture.cc',
862         'common/gpu/media/vp8_picture.h',
863       ],
864       'include_dirs': [
865         '<(DEPTH)/third_party/khronos',
866       ],
867     }],
868     ['target_arch == "arm" and chromeos == 1', {
869       'sources': [
870         'common/gpu/media/tegra_v4l2_device.cc',
871         'common/gpu/media/tegra_v4l2_device.h',
872       ],
873     }],
874     ['target_arch != "arm" and chromeos == 1', {
875       'dependencies': [
876         '../media/media.gyp:media',
877         '../third_party/libyuv/libyuv.gyp:libyuv',
878       ],
879       'sources': [
880         'common/gpu/media/va_surface.h',
881         'common/gpu/media/vaapi_jpeg_decoder.cc',
882         'common/gpu/media/vaapi_jpeg_decoder.h',
883         'common/gpu/media/vaapi_picture.cc',
884         'common/gpu/media/vaapi_picture.h',
885         'common/gpu/media/vaapi_video_decode_accelerator.cc',
886         'common/gpu/media/vaapi_video_decode_accelerator.h',
887         'common/gpu/media/vaapi_video_encode_accelerator.cc',
888         'common/gpu/media/vaapi_video_encode_accelerator.h',
889         'common/gpu/media/vaapi_wrapper.cc',
890         'common/gpu/media/vaapi_wrapper.h',
891       ],
892       'conditions': [
893         ['use_x11 == 1', {
894           'variables': {
895             'sig_files': [
896               'common/gpu/media/va.sigs',
897               'common/gpu/media/va_x11.sigs',
898             ],
899           },
900           'sources': [
901             'common/gpu/media/vaapi_tfp_picture.cc',
902             'common/gpu/media/vaapi_tfp_picture.h',
903           ],
904         }, {
905           'variables': {
906             'sig_files': [
907               'common/gpu/media/va.sigs',
908               'common/gpu/media/va_drm.sigs',
909             ],
910           },
911           'sources': [
912             'common/gpu/media/vaapi_drm_picture.cc',
913             'common/gpu/media/vaapi_drm_picture.h',
914           ],
915         }],
916       ],
917       'variables': {
918         'generate_stubs_script': '../tools/generate_stubs/generate_stubs.py',
919         'extra_header': 'common/gpu/media/va_stub_header.fragment',
920         'outfile_type': 'posix_stubs',
921         'stubs_filename_root': 'va_stubs',
922         'project_path': 'content/common/gpu/media',
923         'intermediate_dir': '<(INTERMEDIATE_DIR)',
924         'output_root': '<(SHARED_INTERMEDIATE_DIR)/va',
925       },
926       'include_dirs': [
927         '<(DEPTH)/third_party/libva',
928         '<(DEPTH)/third_party/libyuv',
929         '<(output_root)',
930       ],
931       'actions': [
932         {
933           'action_name': 'generate_stubs',
934           'inputs': [
935             '<(generate_stubs_script)',
936             '<(extra_header)',
937             '<@(sig_files)',
938           ],
939           'outputs': [
940             '<(intermediate_dir)/<(stubs_filename_root).cc',
941             '<(output_root)/<(project_path)/<(stubs_filename_root).h',
942           ],
943           'action': ['python',
944                      '<(generate_stubs_script)',
945                      '-i', '<(intermediate_dir)',
946                      '-o', '<(output_root)/<(project_path)',
947                      '-t', '<(outfile_type)',
948                      '-e', '<(extra_header)',
949                      '-s', '<(stubs_filename_root)',
950                      '-p', '<(project_path)',
951                      '<@(_inputs)',
952           ],
953           'process_outputs_as_sources': 1,
954           'message': 'Generating libva stubs for dynamic loading',
955         },
956      ]
957     }],
958     ['OS=="win"', {
959       'dependencies': [
960         '../media/media.gyp:media',
961         '../ui/gl/gl.gyp:gl',
962       ],
963       'link_settings': {
964         'libraries': [
965            '-ld3d9.lib',
966            '-ld3d11.lib',
967            '-ldxva2.lib',
968            '-lstrmiids.lib',
969            '-lmf.lib',
970            '-lmfplat.lib',
971            '-lmfuuid.lib',
972         ],
973         'msvs_settings': {
974           'VCLinkerTool': {
975             'DelayLoadDLLs': [
976               'd3d9.dll',
977                           'd3d11.dll',
978               'dxva2.dll',
979               'mf.dll',
980               'mfplat.dll',
981             ],
982           },
983         },
984       },
985       'sources': [
986         'common/gpu/media/dxva_video_decode_accelerator.cc',
987         'common/gpu/media/dxva_video_decode_accelerator.h',
988       ],
989       'include_dirs': [
990         '<(DEPTH)/third_party/khronos',
991       ],
992     }],
993     ['OS=="win" and directxsdk_exists=="True"', {
994       'actions': [
995       {
996         'action_name': 'extract_xinput',
997         'variables': {
998           'input': 'APR2007_xinput_<(winsdk_arch).cab',
999           'output': 'xinput1_3.dll',
1000         },
1001         'inputs': [
1002           '../third_party/directxsdk/files/Redist/<(input)',
1003         ],
1004         'outputs': [
1005           '<(PRODUCT_DIR)/<(output)',
1006         ],
1007         'action': [
1008           'python',
1009         '../build/extract_from_cab.py',
1010         '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
1011         '<(output)',
1012         '<(PRODUCT_DIR)',
1013         ],
1014       },
1015      ]
1016     }],
1017     ['use_seccomp_bpf==0', {
1018       'sources!': [
1019         'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
1020         'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
1021         'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
1022         'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
1023         'common/sandbox_linux/bpf_gpu_policy_linux.cc',
1024         'common/sandbox_linux/bpf_gpu_policy_linux.h',
1025         'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
1026         'common/sandbox_linux/bpf_ppapi_policy_linux.h',
1027         'common/sandbox_linux/bpf_renderer_policy_linux.cc',
1028         'common/sandbox_linux/bpf_renderer_policy_linux.h',
1029         'common/sandbox_linux/bpf_utility_policy_linux.cc',
1030         'common/sandbox_linux/bpf_utility_policy_linux.h',
1031         'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
1032         'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
1033       ],
1034     }, {
1035       'defines': ['USE_SECCOMP_BPF'],
1036     }],
1037     ['use_ozone==1', {
1038       'dependencies': [
1039         '../ui/ozone/ozone.gyp:ozone',
1040         '../ui/ozone/ozone.gyp:ozone_base',
1041         '../ui/ozone/gpu/ozone_gpu.gyp:ozone_gpu',
1042       ],
1043       'sources!': [
1044         'common/gpu/client/gpu_memory_buffer_impl_linux.cc',
1045         'common/gpu/gpu_memory_buffer_factory_linux.cc',
1046       ],
1047     }, {  # use_ozone!=1
1048       'sources!': [
1049         'common/cursors/webcursor_ozone.cc',
1050         'common/font_list_ozone.cc',
1051         'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
1052         'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc',
1053         'common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h',
1054         'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1055         'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc',
1056         'common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h',
1057       ],
1058     }],
1059   ],