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