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