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