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