Speculative fix for BrowserOptionsOverlayWebUITest.testNavigationInBackground
[chromium-blink-merge.git] / content / content_renderer.gypi
blob1d63e16cb7d930d27a9366105b3a005ebee4c6a9
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     'content_common_mojo_bindings',
8     '../base/base.gyp:base',
9     '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
10     '../cc/cc.gyp:cc',
11     '../gin/gin.gyp:gin',
12     '../gpu/gpu.gyp:gpu',
13     '../jingle/jingle.gyp:jingle_glue',
14     '../media/media.gyp:media',
15     '../mojo/mojo_base.gyp:mojo_application_bindings',
16     '../mojo/mojo_base.gyp:mojo_environment_chromium',
17     '../mojo/mojo_base.gyp:mojo_js_bindings_lib',
18     '../net/net.gyp:net',
19     '../skia/skia.gyp:skia',
20     '../third_party/WebKit/public/blink.gyp:blink',
21     '../third_party/icu/icu.gyp:icui18n',
22     '../third_party/icu/icu.gyp:icuuc',
23     '../third_party/libjingle/libjingle.gyp:libjingle',
24     '../third_party/npapi/npapi.gyp:npapi',
25     '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
26     '../ui/accessibility/accessibility.gyp:accessibility',
27     '../ui/events/events.gyp:dom4_keycode_converter',
28     '../ui/gfx/gfx.gyp:gfx',
29     '../ui/gfx/gfx.gyp:gfx_geometry',
30     '../ui/native_theme/native_theme.gyp:native_theme',
31     '../ui/surface/surface.gyp:surface',
32     '../v8/tools/gyp/v8.gyp:v8',
33     '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
34     '../webkit/storage_common.gyp:webkit_storage_common',
35   ],
36   'include_dirs': [
37     '..',
38     '<(SHARED_INTERMEDIATE_DIR)',  # Needed by key_systems.cc.
39   ],
40   'variables': {
41     'public_renderer_sources': [
42       'public/renderer/android_content_detection_prefixes.cc',
43       'public/renderer/android_content_detection_prefixes.h',
44       'public/renderer/content_renderer_client.cc',
45       'public/renderer/content_renderer_client.h',
46       'public/renderer/context_menu_client.h',
47       'public/renderer/document_state.cc',
48       'public/renderer/document_state.h',
49       'public/renderer/key_system_info.cc',
50       'public/renderer/key_system_info.h',
51       'public/renderer/navigation_state.cc',
52       'public/renderer/navigation_state.h',
53       'public/renderer/pepper_plugin_instance.h',
54       'public/renderer/renderer_ppapi_host.h',
55       'public/renderer/render_frame.h',
56       'public/renderer/render_frame_observer.cc',
57       'public/renderer/render_frame_observer.h',
58       'public/renderer/render_frame_observer_tracker.h',
59       'public/renderer/render_font_warmup_win.h',
60       'public/renderer/render_process_observer.cc',
61       'public/renderer/render_process_observer.h',
62       'public/renderer/render_thread.cc',
63       'public/renderer/render_thread.h',
64       'public/renderer/render_view.h',
65       'public/renderer/render_view_observer.cc',
66       'public/renderer/render_view_observer.h',
67       'public/renderer/render_view_observer_tracker.h',
68       'public/renderer/render_view_visitor.h',
69       'public/renderer/resource_fetcher.h',
70       'public/renderer/v8_value_converter.h',
71       'public/renderer/video_encode_accelerator.cc',
72       'public/renderer/video_encode_accelerator.h',
73     ],
74     'private_renderer_sources': [
75       'renderer/accessibility/blink_ax_enum_conversion.cc',
76       'renderer/accessibility/blink_ax_enum_conversion.h',
77       'renderer/accessibility/blink_ax_tree_source.cc',
78       'renderer/accessibility/blink_ax_tree_source.h',
79       'renderer/accessibility/renderer_accessibility.cc',
80       'renderer/accessibility/renderer_accessibility.h',
81       'renderer/accessibility/renderer_accessibility_complete.cc',
82       'renderer/accessibility/renderer_accessibility_complete.h',
83       'renderer/accessibility/renderer_accessibility_focus_only.cc',
84       'renderer/accessibility/renderer_accessibility_focus_only.h',
85       'renderer/active_notification_tracker.cc',
86       'renderer/active_notification_tracker.h',
87       'renderer/android/address_detector.cc',
88       'renderer/android/address_detector.h',
89       'renderer/android/content_detector.cc',
90       'renderer/android/content_detector.h',
91       'renderer/android/email_detector.cc',
92       'renderer/android/email_detector.h',
93       'renderer/android/phone_number_detector.cc',
94       'renderer/android/phone_number_detector.h',
95       'renderer/android/renderer_date_time_picker.cc',
96       'renderer/android/renderer_date_time_picker.h',
97       'renderer/android/synchronous_compositor_factory.cc',
98       'renderer/android/synchronous_compositor_factory.h',
99       'renderer/battery_status/battery_status_dispatcher.cc',
100       'renderer/battery_status/battery_status_dispatcher.h',
101       'renderer/battery_status/fake_battery_status_dispatcher.cc',
102       'renderer/battery_status/fake_battery_status_dispatcher.h',
103       'renderer/browser_plugin/browser_plugin.cc',
104       'renderer/browser_plugin/browser_plugin.h',
105       'renderer/browser_plugin/browser_plugin_bindings.cc',
106       'renderer/browser_plugin/browser_plugin_bindings.h',
107       'renderer/browser_plugin/browser_plugin_manager_factory.h',
108       'renderer/browser_plugin/browser_plugin_manager_impl.cc',
109       'renderer/browser_plugin/browser_plugin_manager_impl.h',
110       'renderer/browser_plugin/browser_plugin_manager.cc',
111       'renderer/browser_plugin/browser_plugin_manager.h',
112       'renderer/clipboard_utils.cc',
113       'renderer/clipboard_utils.h',
114       'renderer/child_frame_compositing_helper.cc',
115       'renderer/child_frame_compositing_helper.h',
116       'renderer/compositor_bindings/scrollbar_impl.cc',
117       'renderer/compositor_bindings/scrollbar_impl.h',
118       'renderer/compositor_bindings/web_animation_curve_common.cc',
119       'renderer/compositor_bindings/web_animation_curve_common.h',
120       'renderer/compositor_bindings/web_animation_impl.cc',
121       'renderer/compositor_bindings/web_animation_impl.h',
122       'renderer/compositor_bindings/web_compositor_support_impl.cc',
123       'renderer/compositor_bindings/web_compositor_support_impl.h',
124       'renderer/compositor_bindings/web_content_layer_impl.cc',
125       'renderer/compositor_bindings/web_content_layer_impl.h',
126       'renderer/compositor_bindings/web_external_bitmap_impl.cc',
127       'renderer/compositor_bindings/web_external_bitmap_impl.h',
128       'renderer/compositor_bindings/web_external_texture_layer_impl.cc',
129       'renderer/compositor_bindings/web_external_texture_layer_impl.h',
130       'renderer/compositor_bindings/web_filter_animation_curve_impl.cc',
131       'renderer/compositor_bindings/web_filter_animation_curve_impl.h',
132       'renderer/compositor_bindings/web_filter_operations_impl.cc',
133       'renderer/compositor_bindings/web_filter_operations_impl.h',
134       'renderer/compositor_bindings/web_float_animation_curve_impl.cc',
135       'renderer/compositor_bindings/web_float_animation_curve_impl.h',
136       'renderer/compositor_bindings/web_image_layer_impl.cc',
137       'renderer/compositor_bindings/web_image_layer_impl.h',
138       'renderer/compositor_bindings/web_layer_impl.cc',
139       'renderer/compositor_bindings/web_layer_impl.h',
140       'renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc',
141       'renderer/compositor_bindings/web_layer_impl_fixed_bounds.h',
142       'renderer/compositor_bindings/web_nine_patch_layer_impl.cc',
143       'renderer/compositor_bindings/web_nine_patch_layer_impl.h',
144       'renderer/compositor_bindings/web_scroll_offset_animation_curve_impl.cc',
145       'renderer/compositor_bindings/web_scroll_offset_animation_curve_impl.h',
146       'renderer/compositor_bindings/web_scrollbar_layer_impl.cc',
147       'renderer/compositor_bindings/web_scrollbar_layer_impl.h',
148       'renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc',
149       'renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h',
150       'renderer/compositor_bindings/web_transform_animation_curve_impl.cc',
151       'renderer/compositor_bindings/web_transform_animation_curve_impl.h',
152       'renderer/compositor_bindings/web_transform_operations_impl.cc',
153       'renderer/compositor_bindings/web_transform_operations_impl.h',
154       'renderer/context_menu_params_builder.cc',
155       'renderer/context_menu_params_builder.h',
156       'renderer/cursor_utils.cc',
157       'renderer/cursor_utils.h',
158       'renderer/date_time_suggestion_builder.cc',
159       'renderer/date_time_suggestion_builder.h',
160       'renderer/device_sensors/device_light_event_pump.cc',
161       'renderer/device_sensors/device_light_event_pump.h',
162       'renderer/device_sensors/device_motion_event_pump.cc',
163       'renderer/device_sensors/device_motion_event_pump.h',
164       'renderer/device_sensors/device_orientation_event_pump.cc',
165       'renderer/device_sensors/device_orientation_event_pump.h',
166       'renderer/device_sensors/device_sensor_event_pump.cc',
167       'renderer/device_sensors/device_sensor_event_pump.h',
168       'renderer/devtools/devtools_agent.cc',
169       'renderer/devtools/devtools_agent.h',
170       'renderer/devtools/devtools_agent_filter.cc',
171       'renderer/devtools/devtools_agent_filter.h',
172       'renderer/devtools/devtools_client.cc',
173       'renderer/devtools/devtools_client.h',
174       'renderer/disambiguation_popup_helper.cc',
175       'renderer/disambiguation_popup_helper.h',
176       'renderer/dom_automation_controller.cc',
177       'renderer/dom_automation_controller.h',
178       'renderer/dom_storage/dom_storage_cached_area.cc',
179       'renderer/dom_storage/dom_storage_cached_area.h',
180       'renderer/dom_storage/dom_storage_dispatcher.cc',
181       'renderer/dom_storage/dom_storage_dispatcher.h',
182       'renderer/dom_storage/dom_storage_proxy.h',
183       'renderer/dom_storage/webstoragearea_impl.cc',
184       'renderer/dom_storage/webstoragearea_impl.h',
185       'renderer/dom_storage/webstoragenamespace_impl.cc',
186       'renderer/dom_storage/webstoragenamespace_impl.h',
187       'renderer/dom_utils.cc',
188       'renderer/dom_utils.h',
189       'renderer/drop_data_builder.cc',
190       'renderer/drop_data_builder.h',
191       'renderer/fetchers/image_resource_fetcher.cc',
192       'renderer/fetchers/image_resource_fetcher.h',
193       'renderer/fetchers/multi_resolution_image_resource_fetcher.cc',
194       'renderer/fetchers/multi_resolution_image_resource_fetcher.h',
195       'renderer/fetchers/resource_fetcher_impl.cc',
196       'renderer/fetchers/resource_fetcher_impl.h',
197       'renderer/gamepad_shared_memory_reader.cc',
198       'renderer/gamepad_shared_memory_reader.h',
199       'renderer/geolocation_dispatcher.cc',
200       'renderer/geolocation_dispatcher.h',
201       'renderer/gpu/compositor_output_surface.cc',
202       'renderer/gpu/compositor_output_surface.h',
203       'renderer/gpu/compositor_software_output_device.cc',
204       'renderer/gpu/compositor_software_output_device.h',
205       'renderer/gpu/delegated_compositor_output_surface.cc',
206       'renderer/gpu/delegated_compositor_output_surface.h',
207       'renderer/gpu/frame_swap_message_queue.cc',
208       'renderer/gpu/frame_swap_message_queue.h',
209       'renderer/gpu/gpu_benchmarking_extension.cc',
210       'renderer/gpu/gpu_benchmarking_extension.h',
211       'renderer/gpu/mailbox_output_surface.cc',
212       'renderer/gpu/mailbox_output_surface.h',
213       'renderer/gpu/queue_message_swap_promise.cc',
214       'renderer/gpu/queue_message_swap_promise.h',
215       'renderer/gpu/render_widget_compositor.cc',
216       'renderer/gpu/render_widget_compositor.h',
217       'renderer/gpu/stream_texture_host_android.cc',
218       'renderer/gpu/stream_texture_host_android.h',
219       'renderer/history_controller.cc',
220       'renderer/history_controller.h',
221       'renderer/history_entry.cc',
222       'renderer/history_entry.h',
223       'renderer/history_serialization.cc',
224       'renderer/history_serialization.h',
225       'renderer/idle_user_detector.cc',
226       'renderer/idle_user_detector.h',
227       'renderer/image_loading_helper.cc',
228       'renderer/image_loading_helper.h',
229       'renderer/ime_event_guard.cc',
230       'renderer/ime_event_guard.h',
231       'renderer/in_process_renderer_thread.cc',
232       'renderer/in_process_renderer_thread.h',
233       'renderer/input/input_event_filter.cc',
234       'renderer/input/input_event_filter.h',
235       'renderer/input/input_handler_manager.cc',
236       'renderer/input/input_handler_manager.h',
237       'renderer/input/input_handler_manager_client.h',
238       'renderer/input/input_handler_proxy.cc',
239       'renderer/input/input_handler_proxy.h',
240       'renderer/input/input_handler_wrapper.cc',
241       'renderer/input/input_handler_wrapper.h',
242       'renderer/internal_document_state_data.cc',
243       'renderer/internal_document_state_data.h',
244       'renderer/java/gin_java_bridge_dispatcher.cc',
245       'renderer/java/gin_java_bridge_dispatcher.h',
246       'renderer/java/gin_java_bridge_object.cc',
247       'renderer/java/gin_java_bridge_object.h',
248       'renderer/java/gin_java_bridge_value_converter.cc',
249       'renderer/java/gin_java_bridge_value_converter.h',
250       'renderer/media/active_loader.cc',
251       'renderer/media/active_loader.h',
252       'renderer/media/aec_dump_message_filter.cc',
253       'renderer/media/aec_dump_message_filter.h',
254       'renderer/media/android/audio_decoder_android.cc',
255       'renderer/media/android/audio_decoder_android.h',
256       'renderer/media/android/media_info_loader.cc',
257       'renderer/media/android/media_info_loader.h',
258       'renderer/media/android/media_source_delegate.cc',
259       'renderer/media/android/media_source_delegate.h',
260       'renderer/media/android/renderer_demuxer_android.cc',
261       'renderer/media/android/renderer_demuxer_android.h',
262       'renderer/media/android/renderer_media_player_manager.cc',
263       'renderer/media/android/renderer_media_player_manager.h',
264       'renderer/media/android/stream_texture_factory.h',
265       'renderer/media/android/stream_texture_factory_impl.cc',
266       'renderer/media/android/stream_texture_factory_impl.h',
267       'renderer/media/android/stream_texture_factory_synchronous_impl.cc',
268       'renderer/media/android/stream_texture_factory_synchronous_impl.h',
269       'renderer/media/android/webmediaplayer_android.cc',
270       'renderer/media/android/webmediaplayer_android.h',
271       'renderer/media/audio_decoder.cc',
272       'renderer/media/audio_decoder.h',
273       'renderer/media/audio_device_factory.cc',
274       'renderer/media/audio_device_factory.h',
275       'renderer/media/audio_input_message_filter.cc',
276       'renderer/media/audio_input_message_filter.h',
277       'renderer/media/audio_message_filter.cc',
278       'renderer/media/audio_message_filter.h',
279       'renderer/media/audio_renderer_mixer_manager.cc',
280       'renderer/media/audio_renderer_mixer_manager.h',
281       'renderer/media/buffered_data_source.cc',
282       'renderer/media/buffered_data_source.h',
283       'renderer/media/buffered_data_source_host_impl.h',
284       'renderer/media/buffered_data_source_host_impl.cc',
285       'renderer/media/buffered_resource_loader.cc',
286       'renderer/media/buffered_resource_loader.h',
287       'renderer/media/cache_util.cc',
288       'renderer/media/cache_util.h',
289       'renderer/media/cdm_session_adapter.cc',
290       'renderer/media/cdm_session_adapter.h',
291       'renderer/media/crypto/content_decryption_module_factory.cc',
292       'renderer/media/crypto/content_decryption_module_factory.h',
293       'renderer/media/crypto/key_systems.cc',
294       'renderer/media/crypto/key_systems.h',
295       'renderer/media/crypto/key_systems_support_uma.cc',
296       'renderer/media/crypto/key_systems_support_uma.h',
297       'renderer/media/crypto/pepper_cdm_wrapper.h',
298       'renderer/media/crypto/pepper_cdm_wrapper_impl.cc',
299       'renderer/media/crypto/pepper_cdm_wrapper_impl.h',
300       'renderer/media/crypto/ppapi_decryptor.cc',
301       'renderer/media/crypto/ppapi_decryptor.h',
302       'renderer/media/crypto/proxy_decryptor.cc',
303       'renderer/media/crypto/proxy_decryptor.h',
304       'renderer/media/media_stream_audio_level_calculator.cc',
305       'renderer/media/media_stream_audio_level_calculator.h',
306       'renderer/media/media_stream_audio_renderer.cc',
307       'renderer/media/media_stream_audio_renderer.h',
308       'renderer/media/media_stream_center.h',
309       'renderer/media/media_stream_constraints_util.cc',
310       'renderer/media/media_stream_constraints_util.h',
311       'renderer/media/media_stream_dispatcher.h',
312       'renderer/media/media_stream_dispatcher_eventhandler.h',
313       'renderer/media/media_stream_impl.h',
314       'renderer/media/media_stream_track.cc',
315       'renderer/media/media_stream_track.h',
316       'renderer/media/midi_dispatcher.cc',
317       'renderer/media/midi_dispatcher.h',
318       'renderer/media/midi_message_filter.cc',
319       'renderer/media/midi_message_filter.h',
320       'renderer/media/preload.h',
321       'renderer/media/render_media_log.cc',
322       'renderer/media/render_media_log.h',
323       'renderer/media/renderer_gpu_video_accelerator_factories.cc',
324       'renderer/media/renderer_gpu_video_accelerator_factories.h',
325       'renderer/media/renderer_webaudiodevice_impl.cc',
326       'renderer/media/renderer_webaudiodevice_impl.h',
327       'renderer/media/renderer_webmidiaccessor_impl.cc',
328       'renderer/media/renderer_webmidiaccessor_impl.h',
329       'renderer/media/texttrack_impl.cc',
330       'renderer/media/texttrack_impl.h',
331       'renderer/media/video_capture_impl.cc',
332       'renderer/media/video_capture_impl.h',
333       'renderer/media/video_capture_impl_manager.cc',
334       'renderer/media/video_capture_impl_manager.h',
335       'renderer/media/video_capture_message_filter.cc',
336       'renderer/media/video_capture_message_filter.h',
337       'renderer/media/video_frame_compositor.cc',
338       'renderer/media/video_frame_compositor.h',
339       'renderer/media/video_frame_provider.cc',
340       'renderer/media/video_frame_provider.h',
341       'renderer/media/webaudiosourceprovider_impl.cc',
342       'renderer/media/webaudiosourceprovider_impl.h',
343       'renderer/media/webcontentdecryptionmodule_impl.cc',
344       'renderer/media/webcontentdecryptionmodule_impl.h',
345       'renderer/media/webcontentdecryptionmodulesession_impl.cc',
346       'renderer/media/webcontentdecryptionmodulesession_impl.h',
347       'renderer/media/webinbandtexttrack_impl.cc',
348       'renderer/media/webinbandtexttrack_impl.h',
349       'renderer/media/webmediaplayer_delegate.h',
350       'renderer/media/webmediaplayer_impl.cc',
351       'renderer/media/webmediaplayer_impl.h',
352       'renderer/media/webmediaplayer_ms.cc',
353       'renderer/media/webmediaplayer_ms.h',
354       'renderer/media/webmediaplayer_params.cc',
355       'renderer/media/webmediaplayer_params.h',
356       'renderer/media/webmediaplayer_util.cc',
357       'renderer/media/webmediaplayer_util.h',
358       'renderer/media/webmediasource_impl.cc',
359       'renderer/media/webmediasource_impl.h',
360       'renderer/media/websourcebuffer_impl.cc',
361       'renderer/media/websourcebuffer_impl.h',
362       'renderer/memory_benchmarking_extension.cc',
363       'renderer/memory_benchmarking_extension.h',
364       'renderer/menu_item_builder.cc',
365       'renderer/menu_item_builder.h',
366       'renderer/mhtml_generator.cc',
367       'renderer/mhtml_generator.h',
368       'renderer/mojo/service_registry_js_wrapper.cc',
369       'renderer/mojo/service_registry_js_wrapper.h',
370       'renderer/mouse_lock_dispatcher.cc',
371       'renderer/mouse_lock_dispatcher.h',
372       'renderer/net_info_helper.cc',
373       'renderer/net_info_helper.h',
374       'renderer/notification_permission_dispatcher.cc',
375       'renderer/notification_permission_dispatcher.h',
376       'renderer/notification_provider.cc',
377       'renderer/notification_provider.h',
378       'renderer/push_messaging_dispatcher.cc',
379       'renderer/push_messaging_dispatcher.h',
380       'renderer/render_font_warmup_win.cc',
381       'renderer/render_frame_impl.cc',
382       'renderer/render_frame_impl.h',
383       'renderer/render_frame_proxy.cc',
384       'renderer/render_frame_proxy.h',
385       'renderer/render_process.h',
386       'renderer/render_process_impl.cc',
387       'renderer/render_process_impl.h',
388       'renderer/render_thread_impl.cc',
389       'renderer/render_thread_impl.h',
390       'renderer/render_view_impl.cc',
391       'renderer/render_view_impl.h',
392       'renderer/render_view_impl_android.cc',
393       'renderer/render_view_impl_params.cc',
394       'renderer/render_view_impl_params.h',
395       'renderer/render_view_linux.cc',
396       'renderer/render_view_mouse_lock_dispatcher.cc',
397       'renderer/render_view_mouse_lock_dispatcher.h',
398       'renderer/render_widget.cc',
399       'renderer/render_widget.h',
400       'renderer/render_widget_fullscreen.cc',
401       'renderer/render_widget_fullscreen.h',
402       'renderer/renderer_clipboard_client.cc',
403       'renderer/renderer_clipboard_client.h',
404       'renderer/renderer_font_platform_win.cc',
405       'renderer/renderer_font_platform_win.h',
406       'renderer/renderer_main.cc',
407       'renderer/renderer_main_platform_delegate.h',
408       'renderer/renderer_main_platform_delegate_android.cc',
409       'renderer/renderer_main_platform_delegate_linux.cc',
410       'renderer/renderer_main_platform_delegate_mac.mm',
411       'renderer/renderer_main_platform_delegate_win.cc',
412       'renderer/renderer_webapplicationcachehost_impl.cc',
413       'renderer/renderer_webapplicationcachehost_impl.h',
414       'renderer/renderer_webcolorchooser_impl.cc',
415       'renderer/renderer_webcolorchooser_impl.h',
416       'renderer/renderer_webcookiejar_impl.cc',
417       'renderer/renderer_webcookiejar_impl.h',
418       'renderer/renderer_webkitplatformsupport_impl.cc',
419       'renderer/renderer_webkitplatformsupport_impl.h',
420       'renderer/resizing_mode_selector.cc',
421       'renderer/resizing_mode_selector.h',
422       'renderer/sad_plugin.cc',
423       'renderer/sad_plugin.h',
424       'renderer/savable_resources.cc',
425       'renderer/savable_resources.h',
426       'renderer/screen_orientation/screen_orientation_dispatcher.cc',
427       'renderer/screen_orientation/screen_orientation_dispatcher.h',
428       'renderer/scoped_clipboard_writer_glue.cc',
429       'renderer/scoped_clipboard_writer_glue.h',
430       'renderer/service_worker/embedded_worker_context_client.cc',
431       'renderer/service_worker/embedded_worker_context_client.h',
432       'renderer/service_worker/embedded_worker_context_message_filter.cc',
433       'renderer/service_worker/embedded_worker_context_message_filter.h',
434       'renderer/service_worker/embedded_worker_devtools_agent.cc',
435       'renderer/service_worker/embedded_worker_devtools_agent.h',
436       'renderer/service_worker/embedded_worker_dispatcher.cc',
437       'renderer/service_worker/embedded_worker_dispatcher.h',
438       'renderer/service_worker/service_worker_cache_storage_dispatcher.cc',
439       'renderer/service_worker/service_worker_cache_storage_dispatcher.h',
440       'renderer/service_worker/service_worker_script_context.cc',
441       'renderer/service_worker/service_worker_script_context.h',
442       'renderer/shared_memory_seqlock_reader.cc',
443       'renderer/shared_memory_seqlock_reader.h',
444       'renderer/shared_worker_repository.cc',
445       'renderer/shared_worker_repository.h',
446       'renderer/shared_worker/embedded_shared_worker_permission_client_proxy.cc',
447       'renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h',
448       'renderer/shared_worker/embedded_shared_worker_stub.cc',
449       'renderer/shared_worker/embedded_shared_worker_stub.h',
450       'renderer/skia_benchmarking_extension.cc',
451       'renderer/skia_benchmarking_extension.h',
452       'renderer/speech_recognition_dispatcher.cc',
453       'renderer/speech_recognition_dispatcher.h',
454       'renderer/stats_collection_controller.cc',
455       'renderer/stats_collection_controller.h',
456       'renderer/stats_collection_observer.cc',
457       'renderer/stats_collection_observer.h',
458       'renderer/text_input_client_observer.cc',
459       'renderer/text_input_client_observer.h',
460       'renderer/v8_value_converter_impl.cc',
461       'renderer/v8_value_converter_impl.h',
462       'renderer/web_ui_extension.cc',
463       'renderer/web_ui_extension.h',
464       'renderer/web_ui_extension_data.cc',
465       'renderer/web_ui_extension_data.h',
466       'renderer/web_ui_mojo.cc',
467       'renderer/web_ui_mojo.h',
468       'renderer/web_ui_mojo_context_state.cc',
469       'renderer/web_ui_mojo_context_state.h',
470       'renderer/web_ui_runner.cc',
471       'renderer/web_ui_runner.h',
472       'renderer/webclipboard_impl.cc',
473       'renderer/webclipboard_impl.h',
474       'renderer/webgraphicscontext3d_provider_impl.cc',
475       'renderer/webgraphicscontext3d_provider_impl.h',
476       'renderer/webpublicsuffixlist_impl.cc',
477       'renderer/webpublicsuffixlist_impl.h',
478       'renderer/webscrollbarbehavior_impl_gtkoraura.cc',
479       'renderer/webscrollbarbehavior_impl_gtkoraura.h',
480       'renderer/webscrollbarbehavior_impl_mac.mm',
481       'renderer/webscrollbarbehavior_impl_mac.h',
482       'renderer/websharedworker_proxy.cc',
483       'renderer/websharedworker_proxy.h',
484     ],
485     # Put WebRTC-related sources in the plugin+WebRTC section below.
486     'private_renderer_plugin_sources': [
487       'renderer/npapi/plugin_channel_host.cc',
488       'renderer/npapi/plugin_channel_host.h',
489       'renderer/npapi/webplugin_delegate_proxy.cc',
490       'renderer/npapi/webplugin_delegate_proxy.h',
491       'renderer/npapi/webplugin_impl.cc',
492       'renderer/npapi/webplugin_impl.h',
493       'renderer/pepper/audio_helper.cc',
494       'renderer/pepper/audio_helper.h',
495       'renderer/pepper/common.h',
496       'renderer/pepper/content_decryptor_delegate.cc',
497       'renderer/pepper/content_decryptor_delegate.h',
498       'renderer/pepper/content_renderer_pepper_host_factory.cc',
499       'renderer/pepper/content_renderer_pepper_host_factory.h',
500       'renderer/pepper/event_conversion.cc',
501       'renderer/pepper/event_conversion.h',
502       'renderer/pepper/fullscreen_container.h',
503       'renderer/pepper/gfx_conversion.h',
504       'renderer/pepper/host_array_buffer_var.cc',
505       'renderer/pepper/host_array_buffer_var.h',
506       'renderer/pepper/host_dispatcher_wrapper.cc',
507       'renderer/pepper/host_dispatcher_wrapper.h',
508       'renderer/pepper/host_globals.cc',
509       'renderer/pepper/host_globals.h',
510       'renderer/pepper/host_resource_var.cc',
511       'renderer/pepper/host_resource_var.h',
512       'renderer/pepper/host_var_tracker.cc',
513       'renderer/pepper/host_var_tracker.h',
514       'renderer/pepper/message_channel.cc',
515       'renderer/pepper/message_channel.h',
516       'renderer/pepper/npapi_glue.cc',
517       'renderer/pepper/npapi_glue.h',
518       'renderer/pepper/npobject_var.cc',
519       'renderer/pepper/npobject_var.h',
520       'renderer/pepper/pepper_audio_input_host.cc',
521       'renderer/pepper/pepper_audio_input_host.h',
522       'renderer/pepper/pepper_broker.cc',
523       'renderer/pepper/pepper_broker.h',
524       'renderer/pepper/pepper_browser_connection.cc',
525       'renderer/pepper/pepper_browser_connection.h',
526       'renderer/pepper/pepper_compositor_host.cc',
527       'renderer/pepper/pepper_compositor_host.h',
528       'renderer/pepper/pepper_device_enumeration_host_helper.cc',
529       'renderer/pepper/pepper_device_enumeration_host_helper.h',
530       'renderer/pepper/pepper_file_chooser_host.cc',
531       'renderer/pepper/pepper_file_chooser_host.h',
532       'renderer/pepper/pepper_file_ref_renderer_host.cc',
533       'renderer/pepper/pepper_file_ref_renderer_host.h',
534       'renderer/pepper/pepper_file_system_host.cc',
535       'renderer/pepper/pepper_file_system_host.h',
536       'renderer/pepper/pepper_graphics_2d_host.cc',
537       'renderer/pepper/pepper_graphics_2d_host.h',
538       'renderer/pepper/pepper_hung_plugin_filter.cc',
539       'renderer/pepper/pepper_hung_plugin_filter.h',
540       'renderer/pepper/pepper_in_process_resource_creation.cc',
541       'renderer/pepper/pepper_in_process_resource_creation.h',
542       'renderer/pepper/pepper_in_process_router.cc',
543       'renderer/pepper/pepper_in_process_router.h',
544       'renderer/pepper/pepper_media_device_manager.cc',
545       'renderer/pepper/pepper_media_device_manager.h',
546       'renderer/pepper/pepper_platform_audio_input.cc',
547       'renderer/pepper/pepper_platform_audio_input.h',
548       'renderer/pepper/pepper_platform_audio_output.cc',
549       'renderer/pepper/pepper_platform_audio_output.h',
550       'renderer/pepper/pepper_platform_video_capture.cc',
551       'renderer/pepper/pepper_platform_video_capture.h',
552       'renderer/pepper/pepper_plugin_instance_impl.cc',
553       'renderer/pepper/pepper_plugin_instance_impl.h',
554       'renderer/pepper/pepper_plugin_registry.cc',
555       'renderer/pepper/pepper_plugin_registry.h',
556       'renderer/pepper/pepper_proxy_channel_delegate_impl.cc',
557       'renderer/pepper/pepper_proxy_channel_delegate_impl.h',
558       'renderer/pepper/pepper_try_catch.cc',
559       'renderer/pepper/pepper_try_catch.h',
560       'renderer/pepper/pepper_url_loader_host.cc',
561       'renderer/pepper/pepper_url_loader_host.h',
562       'renderer/pepper/pepper_video_capture_host.cc',
563       'renderer/pepper/pepper_video_capture_host.h',
564       'renderer/pepper/pepper_video_decoder_host.cc',
565       'renderer/pepper/pepper_video_decoder_host.h',
566       'renderer/pepper/pepper_webplugin_impl.cc',
567       'renderer/pepper/pepper_webplugin_impl.h',
568       'renderer/pepper/pepper_websocket_host.cc',
569       'renderer/pepper/pepper_websocket_host.h',
570       'renderer/pepper/plugin_module.cc',
571       'renderer/pepper/plugin_module.h',
572       'renderer/pepper/plugin_object.cc',
573       'renderer/pepper/plugin_object.h',
574       'renderer/pepper/ppapi_preferences_builder.cc',
575       'renderer/pepper/ppapi_preferences_builder.h',
576       'renderer/pepper/ppb_audio_impl.cc',
577       'renderer/pepper/ppb_audio_impl.h',
578       'renderer/pepper/ppb_broker_impl.cc',
579       'renderer/pepper/ppb_broker_impl.h',
580       'renderer/pepper/ppb_buffer_impl.cc',
581       'renderer/pepper/ppb_buffer_impl.h',
582       'renderer/pepper/ppb_flash_message_loop_impl.cc',
583       'renderer/pepper/ppb_flash_message_loop_impl.h',
584       'renderer/pepper/ppb_graphics_3d_impl.cc',
585       'renderer/pepper/ppb_graphics_3d_impl.h',
586       'renderer/pepper/ppb_image_data_impl.cc',
587       'renderer/pepper/ppb_image_data_impl.h',
588       'renderer/pepper/ppb_proxy_impl.cc',
589       'renderer/pepper/ppb_proxy_impl.h',
590       'renderer/pepper/ppb_scrollbar_impl.cc',
591       'renderer/pepper/ppb_scrollbar_impl.h',
592       'renderer/pepper/ppb_var_deprecated_impl.cc',
593       'renderer/pepper/ppb_var_deprecated_impl.h',
594       'renderer/pepper/ppb_video_decoder_impl.cc',
595       'renderer/pepper/ppb_video_decoder_impl.h',
596       'renderer/pepper/ppb_widget_impl.cc',
597       'renderer/pepper/ppb_widget_impl.h',
598       'renderer/pepper/renderer_ppapi_host_impl.cc',
599       'renderer/pepper/renderer_ppapi_host_impl.h',
600       'renderer/pepper/renderer_restrict_dispatch_group.h',
601       'renderer/pepper/resource_converter.cc',
602       'renderer/pepper/resource_converter.h',
603       'renderer/pepper/resource_creation_impl.cc',
604       'renderer/pepper/resource_creation_impl.h',
605       'renderer/pepper/url_request_info_util.cc',
606       'renderer/pepper/url_request_info_util.h',
607       'renderer/pepper/url_response_info_util.cc',
608       'renderer/pepper/url_response_info_util.h',
609       'renderer/pepper/usb_key_code_conversion.cc',
610       'renderer/pepper/usb_key_code_conversion.h',
611       'renderer/pepper/usb_key_code_conversion_linux.cc',
612       'renderer/pepper/usb_key_code_conversion_mac.cc',
613       'renderer/pepper/usb_key_code_conversion_win.cc',
614       'renderer/pepper/v8object_var.cc',
615       'renderer/pepper/v8object_var.h',
616       'renderer/pepper/v8_var_converter.cc',
617       'renderer/pepper/v8_var_converter.h',
618       'renderer/pepper/video_decoder_shim.cc',
619       'renderer/pepper/video_decoder_shim.h',
620       'renderer/render_widget_fullscreen_pepper.cc',
621       'renderer/render_widget_fullscreen_pepper.h',
622     ],
623     'public_renderer_webrtc_sources': [
624       'public/renderer/media_stream_audio_sink.h',
625       'public/renderer/media_stream_audio_sink.cc',
626       'public/renderer/media_stream_sink.h',
627       'public/renderer/media_stream_video_sink.cc',
628       'public/renderer/media_stream_video_sink.h',
629       'public/renderer/webrtc_log_message_delegate.h',
630     ],
631     # WebRTC-specific sources. Put WebRTC plugin-related stuff in the
632     # Plugin+WebRTC section below.
633     'private_renderer_webrtc_sources': [
634       'renderer/media/media_stream.h',
635       'renderer/media/media_stream.cc',
636       'renderer/media/media_stream_audio_processor.cc',
637       'renderer/media/media_stream_audio_processor.h',
638       'renderer/media/media_stream_audio_processor_options.cc',
639       'renderer/media/media_stream_audio_processor_options.h',
640       'renderer/media/media_stream_audio_sink_owner.cc',
641       'renderer/media/media_stream_audio_sink_owner.h',
642       'renderer/media/media_stream_audio_track_sink.h',
643       'renderer/media/media_stream_center.cc',
644       'renderer/media/media_stream_dispatcher.cc',
645       'renderer/media/media_stream_impl.cc',
646       'renderer/media/media_stream_registry_interface.h',
647       'renderer/media/media_stream_audio_source.cc',
648       'renderer/media/media_stream_audio_source.h',
649       'renderer/media/media_stream_renderer_factory.cc',
650       'renderer/media/media_stream_renderer_factory.h',
651       'renderer/media/media_stream_source.cc',
652       'renderer/media/media_stream_source.h',
653       'renderer/media/media_stream_video_capturer_source.cc',
654       'renderer/media/media_stream_video_capturer_source.h',
655       'renderer/media/media_stream_video_source.cc',
656       'renderer/media/media_stream_video_source.h',
657       'renderer/media/media_stream_video_track.cc',
658       'renderer/media/media_stream_video_track.h',
659       'renderer/media/native_handle_impl.cc',
660       'renderer/media/native_handle_impl.h',
661       'renderer/media/peer_connection_audio_sink_owner.cc',
662       'renderer/media/peer_connection_audio_sink_owner.h',
663       'renderer/media/peer_connection_identity_service.cc',
664       'renderer/media/peer_connection_identity_service.h',
665       'renderer/media/peer_connection_tracker.cc',
666       'renderer/media/peer_connection_tracker.h',
667       'renderer/media/remote_media_stream_impl.cc',
668       'renderer/media/remote_media_stream_impl.h',
669       'renderer/media/rtc_data_channel_handler.cc',
670       'renderer/media/rtc_data_channel_handler.h',
671       'renderer/media/rtc_dtmf_sender_handler.cc',
672       'renderer/media/rtc_dtmf_sender_handler.h',
673       'renderer/media/rtc_media_constraints.cc',
674       'renderer/media/rtc_media_constraints.h',
675       'renderer/media/rtc_peer_connection_handler.cc',
676       'renderer/media/rtc_peer_connection_handler.h',
677       'renderer/media/rtc_video_decoder.cc',
678       'renderer/media/rtc_video_decoder.h',
679       'renderer/media/rtc_video_decoder_factory.cc',
680       'renderer/media/rtc_video_decoder_factory.h',
681       'renderer/media/rtc_video_encoder.cc',
682       'renderer/media/rtc_video_encoder.h',
683       'renderer/media/rtc_video_encoder_factory.cc',
684       'renderer/media/rtc_video_encoder_factory.h',
685       'renderer/media/rtc_video_renderer.cc',
686       'renderer/media/rtc_video_renderer.h',
687       'renderer/media/video_source_handler.cc',
688       'renderer/media/video_source_handler.h',
689       'renderer/media/video_track_adapter.cc',
690       'renderer/media/video_track_adapter.h',
691       'renderer/media/webaudio_capturer_source.cc',
692       'renderer/media/webaudio_capturer_source.h',
693       'renderer/media/webrtc/webrtc_video_track_adapter.cc',
694       'renderer/media/webrtc/webrtc_video_track_adapter.h',
695       'renderer/media/webrtc/media_stream_remote_video_source.cc',
696       'renderer/media/webrtc/media_stream_remote_video_source.h',
697       'renderer/media/webrtc/media_stream_track_metrics.cc',
698       'renderer/media/webrtc/media_stream_track_metrics.h',
699       'renderer/media/webrtc/peer_connection_dependency_factory.cc',
700       'renderer/media/webrtc/peer_connection_dependency_factory.h',
701       'renderer/media/webrtc/video_destination_handler.cc',
702       'renderer/media/webrtc/video_destination_handler.h',
703       'renderer/media/webrtc/webrtc_audio_sink_adapter.cc',
704       'renderer/media/webrtc/webrtc_audio_sink_adapter.h',
705       'renderer/media/webrtc/webrtc_local_audio_track_adapter.cc',
706       'renderer/media/webrtc/webrtc_local_audio_track_adapter.h',
707       'renderer/media/webrtc/webrtc_media_stream_adapter.cc',
708       'renderer/media/webrtc/webrtc_media_stream_adapter.h',
709       'renderer/media/webrtc/webrtc_video_capturer_adapter.cc',
710       'renderer/media/webrtc/webrtc_video_capturer_adapter.h',
711       'renderer/media/webrtc_audio_capturer.cc',
712       'renderer/media/webrtc_audio_capturer.h',
713       'renderer/media/webrtc_audio_device_impl.cc',
714       'renderer/media/webrtc_audio_device_impl.h',
715       'renderer/media/webrtc_audio_device_not_impl.cc',
716       'renderer/media/webrtc_audio_device_not_impl.h',
717       'renderer/media/webrtc_audio_renderer.cc',
718       'renderer/media/webrtc_audio_renderer.h',
719       'renderer/media/webrtc_identity_service.cc',
720       'renderer/media/webrtc_identity_service.h',
721       'renderer/media/webrtc_local_audio_renderer.cc',
722       'renderer/media/webrtc_local_audio_renderer.h',
723       'renderer/media/webrtc_local_audio_source_provider.cc',
724       'renderer/media/webrtc_local_audio_source_provider.h',
725       'renderer/media/webrtc_local_audio_track.cc',
726       'renderer/media/webrtc_local_audio_track.h',
727       'renderer/media/webrtc_logging.cc',
728       'renderer/media/webrtc_logging.h',
729       'renderer/media/webrtc_uma_histograms.cc',
730       'renderer/media/webrtc_uma_histograms.h',
731       'renderer/p2p/host_address_request.cc',
732       'renderer/p2p/host_address_request.h',
733       'renderer/p2p/ipc_network_manager.cc',
734       'renderer/p2p/ipc_network_manager.h',
735       'renderer/p2p/ipc_socket_factory.cc',
736       'renderer/p2p/ipc_socket_factory.h',
737       'renderer/p2p/network_list_observer.h',
738       'renderer/p2p/port_allocator.cc',
739       'renderer/p2p/port_allocator.h',
740       'renderer/p2p/socket_client_impl.cc',
741       'renderer/p2p/socket_client_impl.h',
742       'renderer/p2p/socket_dispatcher.cc',
743       'renderer/p2p/socket_dispatcher.h',
744     ],
745     # Stuff only used when both WebRTC and plugins are enabled.
746     'private_renderer_plugin_webrtc_sources': [
747       'renderer/pepper/pepper_media_stream_audio_track_host.cc',
748       'renderer/pepper/pepper_media_stream_audio_track_host.h',
749       'renderer/pepper/pepper_media_stream_track_host_base.cc',
750       'renderer/pepper/pepper_media_stream_track_host_base.h',
751       'renderer/pepper/pepper_media_stream_video_track_host.cc',
752       'renderer/pepper/pepper_media_stream_video_track_host.h',
753       'renderer/pepper/pepper_video_destination_host.cc',
754       'renderer/pepper/pepper_video_destination_host.h',
755       'renderer/pepper/pepper_video_source_host.cc',
756       'renderer/pepper/pepper_video_source_host.h',
757     ]
758   },
759   'sources': [
760     '<@(public_renderer_sources)',
761     '<@(private_renderer_sources)',
762   ],
763   'conditions': [
764     ['notifications==0', {
765       'sources!': [
766         'renderer/notification_provider.cc',
767         'renderer/active_notification_tracker.cc',
768       ],
769     }],
770     ['OS=="mac"', {
771       'sources!': [
772         'common/process_watcher_posix.cc',
773         'renderer/webscrollbarbehavior_impl_gtkoraura.cc',
774         'renderer/webscrollbarbehavior_impl_gtkoraura.h',
775       ],
776       'sources': [
777         'renderer/external_popup_menu.cc',
778         'renderer/external_popup_menu.h',
779       ],
780     }, {
781       'sources!': [
782         'renderer/webscrollbarbehavior_impl_mac.mm',
783         'renderer/webscrollbarbehavior_impl_mac.h',
784       ],
785     }],
786     ['OS=="win" and win_use_allocator_shim==1', {
787       'dependencies': [
788           '../base/allocator/allocator.gyp:allocator',
789       ],
790     }],
791     ['OS=="android"', {
792       'sources!': [
793         'renderer/accessibility/renderer_accessibility_focus_only.cc',
794         'renderer/media/audio_decoder.cc',
795         'renderer/media/filter_helpers.cc',
796         'renderer/media/webmediaplayer_impl.cc',
797       ],
798       'sources': [
799         'renderer/external_popup_menu.cc',
800         'renderer/external_popup_menu.h',
801       ],
802       'dependencies': [
803         '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
804       ],
805       'includes': [
806         '../build/android/cpufeatures.gypi',
807       ],
808     }, {
809       'sources!': [
810         'renderer/java/gin_java_bridge_dispatcher.cc',
811         'renderer/java/gin_java_bridge_dispatcher.h',
812         'renderer/java/gin_java_bridge_object.cc',
813         'renderer/java/gin_java_bridge_object.h',
814         'renderer/java/gin_java_bridge_value_converter.cc',
815         'renderer/java/gin_java_bridge_value_converter.h',
816         'renderer/java/java_bridge_channel.cc',
817         'renderer/java/java_bridge_channel.h',
818         'renderer/java/java_bridge_dispatcher.cc',
819         'renderer/java/java_bridge_dispatcher.h',
820       ],
821     }],
822     # TODO(jrg): remove the OS=="android" section?
823     # http://crbug.com/113172
824     # Understand better how media_stream_ is tied into Chromium.
825     ['enable_webrtc==0 and OS=="android"', {
826       'sources/': [
827         ['exclude', '^renderer/media/media_stream_'],
828       ],
829     }],
830     ['enable_webrtc==1', {
831       'dependencies': [
832         '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
833         '../third_party/libjingle/libjingle.gyp:libpeerconnection',
834         '../third_party/libyuv/libyuv.gyp:libyuv',
835         '../third_party/webrtc/modules/modules.gyp:audio_device',
836         '../third_party/webrtc/modules/modules.gyp:audio_processing',
837         '<(DEPTH)/crypto/crypto.gyp:crypto',
838       ],
839       'sources': [
840         '<@(public_renderer_webrtc_sources)',
841         '<@(private_renderer_webrtc_sources)',
842       ],
843     },{  # enable_webrtc==0
844       'sources': [
845         'renderer/media/webrtc_logging_noop.cc',
846         'renderer/media/webrtc_logging.h',
847       ],
848     }],
849     ['enable_plugins==1', {
850       'sources': [
851         '<@(private_renderer_plugin_sources)',
852       ],
853       'conditions': [
854         ['OS=="android"', {
855           'sources!': [
856             # Android does not build FFmpeg, which these depend on.
857             'renderer/pepper/video_decoder_shim.cc',
858             'renderer/pepper/video_decoder_shim.h',
859           ],
860         }],
861       ],
862       'dependencies': [
863         '../ppapi/ppapi_internal.gyp:ppapi_host',
864         '../ppapi/ppapi_internal.gyp:ppapi_proxy',
865         '../ppapi/ppapi_internal.gyp:ppapi_shared',
866         '../third_party/libyuv/libyuv.gyp:libyuv',
867       ],
868     }, {  # enable_plugins==0
869       'sources!': [
870         # These are not in the plugins sources list since it also requires webrtc.
871         'renderer/media/webrtc/video_destination_handler.cc',
872         'renderer/media/webrtc/video_destination_handler.h',
873       ],
874     }],
875     ['enable_plugins==1 and enable_webrtc==1', {
876       'sources': [
877         '<@(private_renderer_plugin_webrtc_sources)',
878       ],
879     }],
880     ['enable_pepper_cdms != 1', {
881       'sources!': [
882         'renderer/media/crypto/ppapi_decryptor.cc',
883         'renderer/media/crypto/ppapi_decryptor.h',
884       ],
885     }],
886     ['enable_browser_cdms==1', {
887       'sources': [
888         'renderer/media/crypto/proxy_media_keys.cc',
889         'renderer/media/crypto/proxy_media_keys.h',
890         'renderer/media/crypto/renderer_cdm_manager.cc',
891         'renderer/media/crypto/renderer_cdm_manager.h',
892       ],
893     }],
894   ],
895   'target_conditions': [
896     ['OS=="android"', {
897       'sources/': [
898         ['include', '^renderer/render_view_linux\\.cc$'],
899       ],
900     }],
901   ],