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