summaryrefslogtreecommitdiffstats
path: root/content/content_renderer.gypi
blob: 3a99724efbf1d5c47dd2d30ddf71405c21a6d02f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'dependencies': [
    'content_common_mojo_bindings',
    '../base/base.gyp:base',
    '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
    '../cc/cc.gyp:cc',
    '../cc/blink/cc_blink.gyp:cc_blink',
    '../gin/gin.gyp:gin',
    '../gpu/gpu.gyp:gpu',
    '../jingle/jingle.gyp:jingle_glue',
    '../media/blink/media_blink.gyp:media_blink',
    '../media/media.gyp:media',
    '../mojo/mojo_base.gyp:mojo_application_bindings',
    '../mojo/mojo_base.gyp:mojo_environment_chromium',
    '../mojo/mojo_base.gyp:mojo_js_bindings_lib',
    '../net/net.gyp:net',
    '../skia/skia.gyp:skia',
    '../storage/storage_common.gyp:storage_common',
    '../third_party/WebKit/public/blink.gyp:blink',
    '../third_party/icu/icu.gyp:icui18n',
    '../third_party/icu/icu.gyp:icuuc',
    '../third_party/libjingle/libjingle.gyp:libjingle',
    '../third_party/npapi/npapi.gyp:npapi',
    '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
    '../ui/accessibility/accessibility.gyp:accessibility',
    '../ui/events/events.gyp:dom4_keycode_converter',
    '../ui/gfx/gfx.gyp:gfx',
    '../ui/gfx/gfx.gyp:gfx_geometry',
    '../ui/native_theme/native_theme.gyp:native_theme',
    '../ui/surface/surface.gyp:surface',
    '../v8/tools/gyp/v8.gyp:v8',
    '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
  ],
  'include_dirs': [
    '..',
    '<(SHARED_INTERMEDIATE_DIR)',  # Needed by key_systems.cc.
  ],
  'variables': {
    'public_renderer_sources': [
      'public/renderer/android_content_detection_prefixes.cc',
      'public/renderer/android_content_detection_prefixes.h',
      'public/renderer/browser_plugin_delegate.h',
      'public/renderer/content_renderer_client.cc',
      'public/renderer/content_renderer_client.h',
      'public/renderer/context_menu_client.h',
      'public/renderer/document_state.cc',
      'public/renderer/document_state.h',
      'public/renderer/key_system_info.cc',
      'public/renderer/key_system_info.h',
      'public/renderer/navigation_state.cc',
      'public/renderer/navigation_state.h',
      'public/renderer/pepper_plugin_instance.h',
      'public/renderer/platform_event_observer.h',
      'public/renderer/renderer_ppapi_host.h',
      'public/renderer/render_frame.h',
      'public/renderer/render_frame_observer.cc',
      'public/renderer/render_frame_observer.h',
      'public/renderer/render_frame_observer_tracker.h',
      'public/renderer/render_font_warmup_win.h',
      'public/renderer/render_process_observer.cc',
      'public/renderer/render_process_observer.h',
      'public/renderer/render_thread.cc',
      'public/renderer/render_thread.h',
      'public/renderer/render_view.h',
      'public/renderer/render_view_observer.cc',
      'public/renderer/render_view_observer.h',
      'public/renderer/render_view_observer_tracker.h',
      'public/renderer/render_view_visitor.h',
      'public/renderer/resource_fetcher.h',
      'public/renderer/v8_value_converter.h',
      'public/renderer/video_encode_accelerator.cc',
      'public/renderer/video_encode_accelerator.h',
    ],
    'private_renderer_sources': [
      'renderer/accessibility/blink_ax_enum_conversion.cc',
      'renderer/accessibility/blink_ax_enum_conversion.h',
      'renderer/accessibility/blink_ax_tree_source.cc',
      'renderer/accessibility/blink_ax_tree_source.h',
      'renderer/accessibility/renderer_accessibility.cc',
      'renderer/accessibility/renderer_accessibility.h',
      'renderer/accessibility/renderer_accessibility_complete.cc',
      'renderer/accessibility/renderer_accessibility_complete.h',
      'renderer/accessibility/renderer_accessibility_focus_only.cc',
      'renderer/accessibility/renderer_accessibility_focus_only.h',
      'renderer/active_notification_tracker.cc',
      'renderer/active_notification_tracker.h',
      'renderer/android/address_detector.cc',
      'renderer/android/address_detector.h',
      'renderer/android/content_detector.cc',
      'renderer/android/content_detector.h',
      'renderer/android/email_detector.cc',
      'renderer/android/email_detector.h',
      'renderer/android/phone_number_detector.cc',
      'renderer/android/phone_number_detector.h',
      'renderer/android/renderer_date_time_picker.cc',
      'renderer/android/renderer_date_time_picker.h',
      'renderer/android/synchronous_compositor_factory.cc',
      'renderer/android/synchronous_compositor_factory.h',
      'renderer/battery_status/battery_status_dispatcher.cc',
      'renderer/battery_status/battery_status_dispatcher.h',
      'renderer/browser_plugin/browser_plugin.cc',
      'renderer/browser_plugin/browser_plugin.h',
      'renderer/browser_plugin/browser_plugin_bindings.cc',
      'renderer/browser_plugin/browser_plugin_bindings.h',
      'renderer/browser_plugin/browser_plugin_manager_factory.h',
      'renderer/browser_plugin/browser_plugin_manager_impl.cc',
      'renderer/browser_plugin/browser_plugin_manager_impl.h',
      'renderer/browser_plugin/browser_plugin_manager.cc',
      'renderer/browser_plugin/browser_plugin_manager.h',
      'renderer/clipboard_utils.cc',
      'renderer/clipboard_utils.h',
      'renderer/child_frame_compositing_helper.cc',
      'renderer/child_frame_compositing_helper.h',
      'renderer/context_menu_params_builder.cc',
      'renderer/context_menu_params_builder.h',
      'renderer/cursor_utils.cc',
      'renderer/cursor_utils.h',
      'renderer/date_time_suggestion_builder.cc',
      'renderer/date_time_suggestion_builder.h',
      'renderer/device_sensors/device_light_event_pump.cc',
      'renderer/device_sensors/device_light_event_pump.h',
      'renderer/device_sensors/device_motion_event_pump.cc',
      'renderer/device_sensors/device_motion_event_pump.h',
      'renderer/device_sensors/device_orientation_event_pump.cc',
      'renderer/device_sensors/device_orientation_event_pump.h',
      'renderer/device_sensors/device_sensor_event_pump.h',
      'renderer/devtools/devtools_agent.cc',
      'renderer/devtools/devtools_agent.h',
      'renderer/devtools/devtools_agent_filter.cc',
      'renderer/devtools/devtools_agent_filter.h',
      'renderer/devtools/devtools_client.cc',
      'renderer/devtools/devtools_client.h',
      'renderer/disambiguation_popup_helper.cc',
      'renderer/disambiguation_popup_helper.h',
      'renderer/dom_automation_controller.cc',
      'renderer/dom_automation_controller.h',
      'renderer/dom_storage/dom_storage_cached_area.cc',
      'renderer/dom_storage/dom_storage_cached_area.h',
      'renderer/dom_storage/dom_storage_dispatcher.cc',
      'renderer/dom_storage/dom_storage_dispatcher.h',
      'renderer/dom_storage/dom_storage_proxy.h',
      'renderer/dom_storage/webstoragearea_impl.cc',
      'renderer/dom_storage/webstoragearea_impl.h',
      'renderer/dom_storage/webstoragenamespace_impl.cc',
      'renderer/dom_storage/webstoragenamespace_impl.h',
      'renderer/dom_utils.cc',
      'renderer/dom_utils.h',
      'renderer/drop_data_builder.cc',
      'renderer/drop_data_builder.h',
      'renderer/fetchers/image_resource_fetcher.cc',
      'renderer/fetchers/image_resource_fetcher.h',
      'renderer/fetchers/multi_resolution_image_resource_fetcher.cc',
      'renderer/fetchers/multi_resolution_image_resource_fetcher.h',
      'renderer/fetchers/resource_fetcher_impl.cc',
      'renderer/fetchers/resource_fetcher_impl.h',
      'renderer/gamepad_shared_memory_reader.cc',
      'renderer/gamepad_shared_memory_reader.h',
      'renderer/geolocation_dispatcher.cc',
      'renderer/geolocation_dispatcher.h',
      'renderer/gpu/compositor_output_surface.cc',
      'renderer/gpu/compositor_output_surface.h',
      'renderer/gpu/compositor_software_output_device.cc',
      'renderer/gpu/compositor_software_output_device.h',
      'renderer/gpu/delegated_compositor_output_surface.cc',
      'renderer/gpu/delegated_compositor_output_surface.h',
      'renderer/gpu/frame_swap_message_queue.cc',
      'renderer/gpu/frame_swap_message_queue.h',
      'renderer/gpu/gpu_benchmarking_extension.cc',
      'renderer/gpu/gpu_benchmarking_extension.h',
      'renderer/gpu/mailbox_output_surface.cc',
      'renderer/gpu/mailbox_output_surface.h',
      'renderer/gpu/queue_message_swap_promise.cc',
      'renderer/gpu/queue_message_swap_promise.h',
      'renderer/gpu/render_widget_compositor.cc',
      'renderer/gpu/render_widget_compositor.h',
      'renderer/gpu/stream_texture_host_android.cc',
      'renderer/gpu/stream_texture_host_android.h',
      'renderer/history_controller.cc',
      'renderer/history_controller.h',
      'renderer/history_entry.cc',
      'renderer/history_entry.h',
      'renderer/history_serialization.cc',
      'renderer/history_serialization.h',
      'renderer/idle_user_detector.cc',
      'renderer/idle_user_detector.h',
      'renderer/image_loading_helper.cc',
      'renderer/image_loading_helper.h',
      'renderer/ime_event_guard.cc',
      'renderer/ime_event_guard.h',
      'renderer/in_process_renderer_thread.cc',
      'renderer/in_process_renderer_thread.h',
      'renderer/input/input_event_filter.cc',
      'renderer/input/input_event_filter.h',
      'renderer/input/input_handler_manager.cc',
      'renderer/input/input_handler_manager.h',
      'renderer/input/input_handler_manager_client.h',
      'renderer/input/input_handler_proxy.cc',
      'renderer/input/input_handler_proxy.h',
      'renderer/input/input_handler_wrapper.cc',
      'renderer/input/input_handler_wrapper.h',
      'renderer/internal_document_state_data.cc',
      'renderer/internal_document_state_data.h',
      'renderer/java/gin_java_bridge_dispatcher.cc',
      'renderer/java/gin_java_bridge_dispatcher.h',
      'renderer/java/gin_java_bridge_object.cc',
      'renderer/java/gin_java_bridge_object.h',
      'renderer/java/gin_java_bridge_value_converter.cc',
      'renderer/java/gin_java_bridge_value_converter.h',
      'renderer/media/aec_dump_message_filter.cc',
      'renderer/media/aec_dump_message_filter.h',
      'renderer/media/android/audio_decoder_android.cc',
      'renderer/media/android/audio_decoder_android.h',
      'renderer/media/android/media_info_loader.cc',
      'renderer/media/android/media_info_loader.h',
      'renderer/media/android/media_source_delegate.cc',
      'renderer/media/android/media_source_delegate.h',
      'renderer/media/android/renderer_demuxer_android.cc',
      'renderer/media/android/renderer_demuxer_android.h',
      'renderer/media/android/renderer_media_player_manager.cc',
      'renderer/media/android/renderer_media_player_manager.h',
      'renderer/media/android/stream_texture_factory.h',
      'renderer/media/android/stream_texture_factory_impl.cc',
      'renderer/media/android/stream_texture_factory_impl.h',
      'renderer/media/android/stream_texture_factory_synchronous_impl.cc',
      'renderer/media/android/stream_texture_factory_synchronous_impl.h',
      'renderer/media/android/webmediaplayer_android.cc',
      'renderer/media/android/webmediaplayer_android.h',
      'renderer/media/audio_decoder.cc',
      'renderer/media/audio_decoder.h',
      'renderer/media/audio_device_factory.cc',
      'renderer/media/audio_device_factory.h',
      'renderer/media/audio_input_message_filter.cc',
      'renderer/media/audio_input_message_filter.h',
      'renderer/media/audio_message_filter.cc',
      'renderer/media/audio_message_filter.h',
      'renderer/media/audio_renderer_mixer_manager.cc',
      'renderer/media/audio_renderer_mixer_manager.h',
      'renderer/media/cdm_session_adapter.cc',
      'renderer/media/cdm_session_adapter.h',
      'renderer/media/crypto/content_decryption_module_factory.cc',
      'renderer/media/crypto/content_decryption_module_factory.h',
      'renderer/media/crypto/encrypted_media_player_support_impl.cc',
      'renderer/media/crypto/encrypted_media_player_support_impl.h',
      'renderer/media/crypto/key_systems.cc',
      'renderer/media/crypto/key_systems.h',
      'renderer/media/crypto/key_systems_support_uma.cc',
      'renderer/media/crypto/key_systems_support_uma.h',
      'renderer/media/crypto/pepper_cdm_wrapper.h',
      'renderer/media/crypto/pepper_cdm_wrapper_impl.cc',
      'renderer/media/crypto/pepper_cdm_wrapper_impl.h',
      'renderer/media/crypto/ppapi_decryptor.cc',
      'renderer/media/crypto/ppapi_decryptor.h',
      'renderer/media/crypto/proxy_decryptor.cc',
      'renderer/media/crypto/proxy_decryptor.h',
      'renderer/media/media_stream_audio_level_calculator.cc',
      'renderer/media/media_stream_audio_level_calculator.h',
      'renderer/media/media_stream_audio_renderer.cc',
      'renderer/media/media_stream_audio_renderer.h',
      'renderer/media/media_stream_center.h',
      'renderer/media/media_stream_constraints_util.cc',
      'renderer/media/media_stream_constraints_util.h',
      'renderer/media/media_stream_dispatcher.h',
      'renderer/media/media_stream_dispatcher_eventhandler.h',
      'renderer/media/media_stream_track.cc',
      'renderer/media/media_stream_track.h',
      'renderer/media/midi_dispatcher.cc',
      'renderer/media/midi_dispatcher.h',
      'renderer/media/midi_message_filter.cc',
      'renderer/media/midi_message_filter.h',
      'renderer/media/render_media_log.cc',
      'renderer/media/render_media_log.h',
      'renderer/media/renderer_gpu_video_accelerator_factories.cc',
      'renderer/media/renderer_gpu_video_accelerator_factories.h',
      'renderer/media/renderer_webaudiodevice_impl.cc',
      'renderer/media/renderer_webaudiodevice_impl.h',
      'renderer/media/renderer_webmidiaccessor_impl.cc',
      'renderer/media/renderer_webmidiaccessor_impl.h',
      'renderer/media/video_capture_impl.cc',
      'renderer/media/video_capture_impl.h',
      'renderer/media/video_capture_impl_manager.cc',
      'renderer/media/video_capture_impl_manager.h',
      'renderer/media/video_capture_message_filter.cc',
      'renderer/media/video_capture_message_filter.h',
      'renderer/media/video_frame_provider.cc',
      'renderer/media/video_frame_provider.h',
      'renderer/media/webcontentdecryptionmodule_impl.cc',
      'renderer/media/webcontentdecryptionmodule_impl.h',
      'renderer/media/webcontentdecryptionmodulesession_impl.cc',
      'renderer/media/webcontentdecryptionmodulesession_impl.h',
      'renderer/media/webmediaplayer_ms.cc',
      'renderer/media/webmediaplayer_ms.h',
      'renderer/memory_benchmarking_extension.cc',
      'renderer/memory_benchmarking_extension.h',
      'renderer/menu_item_builder.cc',
      'renderer/menu_item_builder.h',
      'renderer/mhtml_generator.cc',
      'renderer/mhtml_generator.h',
      'renderer/mojo/service_registry_js_wrapper.cc',
      'renderer/mojo/service_registry_js_wrapper.h',
      'renderer/mouse_lock_dispatcher.cc',
      'renderer/mouse_lock_dispatcher.h',
      'renderer/net_info_helper.cc',
      'renderer/net_info_helper.h',
      'renderer/notification_permission_dispatcher.cc',
      'renderer/notification_permission_dispatcher.h',
      'renderer/notification_provider.cc',
      'renderer/notification_provider.h',
      'renderer/push_messaging_dispatcher.cc',
      'renderer/push_messaging_dispatcher.h',
      'renderer/render_font_warmup_win.cc',
      'renderer/render_frame_impl.cc',
      'renderer/render_frame_impl.h',
      'renderer/render_frame_proxy.cc',
      'renderer/render_frame_proxy.h',
      'renderer/render_process.h',
      'renderer/render_process_impl.cc',
      'renderer/render_process_impl.h',
      'renderer/render_thread_impl.cc',
      'renderer/render_thread_impl.h',
      'renderer/render_view_impl.cc',
      'renderer/render_view_impl.h',
      'renderer/render_view_impl_android.cc',
      'renderer/render_view_impl_params.cc',
      'renderer/render_view_impl_params.h',
      'renderer/render_view_linux.cc',
      'renderer/render_view_mouse_lock_dispatcher.cc',
      'renderer/render_view_mouse_lock_dispatcher.h',
      'renderer/render_widget.cc',
      'renderer/render_widget.h',
      'renderer/render_widget_fullscreen.cc',
      'renderer/render_widget_fullscreen.h',
      'renderer/renderer_clipboard_client.cc',
      'renderer/renderer_clipboard_client.h',
      'renderer/renderer_font_platform_win.cc',
      'renderer/renderer_font_platform_win.h',
      'renderer/renderer_main.cc',
      'renderer/renderer_main_platform_delegate.h',
      'renderer/renderer_main_platform_delegate_android.cc',
      'renderer/renderer_main_platform_delegate_linux.cc',
      'renderer/renderer_main_platform_delegate_mac.mm',
      'renderer/renderer_main_platform_delegate_win.cc',
      'renderer/renderer_webapplicationcachehost_impl.cc',
      'renderer/renderer_webapplicationcachehost_impl.h',
      'renderer/renderer_webcolorchooser_impl.cc',
      'renderer/renderer_webcolorchooser_impl.h',
      'renderer/renderer_webcookiejar_impl.cc',
      'renderer/renderer_webcookiejar_impl.h',
      'renderer/renderer_webkitplatformsupport_impl.cc',
      'renderer/renderer_webkitplatformsupport_impl.h',
      'renderer/resizing_mode_selector.cc',
      'renderer/resizing_mode_selector.h',
      'renderer/sad_plugin.cc',
      'renderer/sad_plugin.h',
      'renderer/savable_resources.cc',
      'renderer/savable_resources.h',
      'renderer/scheduler_proxy_task_runner.h',
      'renderer/screen_orientation/screen_orientation_dispatcher.cc',
      'renderer/screen_orientation/screen_orientation_dispatcher.h',
      'renderer/screen_orientation/screen_orientation_observer.cc',
      'renderer/screen_orientation/screen_orientation_observer.h',
      'renderer/scoped_clipboard_writer_glue.cc',
      'renderer/scoped_clipboard_writer_glue.h',
      'renderer/service_worker/embedded_worker_context_client.cc',
      'renderer/service_worker/embedded_worker_context_client.h',
      'renderer/service_worker/embedded_worker_context_message_filter.cc',
      'renderer/service_worker/embedded_worker_context_message_filter.h',
      'renderer/service_worker/embedded_worker_devtools_agent.cc',
      'renderer/service_worker/embedded_worker_devtools_agent.h',
      'renderer/service_worker/embedded_worker_dispatcher.cc',
      'renderer/service_worker/embedded_worker_dispatcher.h',
      'renderer/service_worker/service_worker_cache_storage_dispatcher.cc',
      'renderer/service_worker/service_worker_cache_storage_dispatcher.h',
      'renderer/service_worker/service_worker_script_context.cc',
      'renderer/service_worker/service_worker_script_context.h',
      'renderer/shared_memory_seqlock_reader.cc',
      'renderer/shared_memory_seqlock_reader.h',
      'renderer/shared_worker_repository.cc',
      'renderer/shared_worker_repository.h',
      'renderer/shared_worker/embedded_shared_worker_permission_client_proxy.cc',
      'renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h',
      'renderer/shared_worker/embedded_shared_worker_stub.cc',
      'renderer/shared_worker/embedded_shared_worker_stub.h',
      'renderer/skia_benchmarking_extension.cc',
      'renderer/skia_benchmarking_extension.h',
      'renderer/speech_recognition_dispatcher.cc',
      'renderer/speech_recognition_dispatcher.h',
      'renderer/stats_collection_controller.cc',
      'renderer/stats_collection_controller.h',
      'renderer/stats_collection_observer.cc',
      'renderer/stats_collection_observer.h',
      'renderer/text_input_client_observer.cc',
      'renderer/text_input_client_observer.h',
      'renderer/v8_value_converter_impl.cc',
      'renderer/v8_value_converter_impl.h',
      'renderer/web_ui_extension.cc',
      'renderer/web_ui_extension.h',
      'renderer/web_ui_extension_data.cc',
      'renderer/web_ui_extension_data.h',
      'renderer/web_ui_mojo.cc',
      'renderer/web_ui_mojo.h',
      'renderer/web_ui_mojo_context_state.cc',
      'renderer/web_ui_mojo_context_state.h',
      'renderer/web_ui_runner.cc',
      'renderer/web_ui_runner.h',
      'renderer/webclipboard_impl.cc',
      'renderer/webclipboard_impl.h',
      'renderer/webgraphicscontext3d_provider_impl.cc',
      'renderer/webgraphicscontext3d_provider_impl.h',
      'renderer/webpublicsuffixlist_impl.cc',
      'renderer/webpublicsuffixlist_impl.h',
      'renderer/webscrollbarbehavior_impl_gtkoraura.cc',
      'renderer/webscrollbarbehavior_impl_gtkoraura.h',
      'renderer/webscrollbarbehavior_impl_mac.mm',
      'renderer/webscrollbarbehavior_impl_mac.h',
      'renderer/websharedworker_proxy.cc',
      'renderer/websharedworker_proxy.h',
    ],
    # Put WebRTC-related sources in the plugin+WebRTC section below.
    'private_renderer_plugin_sources': [
      'renderer/npapi/plugin_channel_host.cc',
      'renderer/npapi/plugin_channel_host.h',
      'renderer/npapi/webplugin_delegate_proxy.cc',
      'renderer/npapi/webplugin_delegate_proxy.h',
      'renderer/npapi/webplugin_impl.cc',
      'renderer/npapi/webplugin_impl.h',
      'renderer/pepper/audio_helper.cc',
      'renderer/pepper/audio_helper.h',
      'renderer/pepper/content_decryptor_delegate.cc',
      'renderer/pepper/content_decryptor_delegate.h',
      'renderer/pepper/content_renderer_pepper_host_factory.cc',
      'renderer/pepper/content_renderer_pepper_host_factory.h',
      'renderer/pepper/event_conversion.cc',
      'renderer/pepper/event_conversion.h',
      'renderer/pepper/fullscreen_container.h',
      'renderer/pepper/gfx_conversion.h',
      'renderer/pepper/host_array_buffer_var.cc',
      'renderer/pepper/host_array_buffer_var.h',
      'renderer/pepper/host_dispatcher_wrapper.cc',
      'renderer/pepper/host_dispatcher_wrapper.h',
      'renderer/pepper/host_globals.cc',
      'renderer/pepper/host_globals.h',
      'renderer/pepper/host_resource_var.cc',
      'renderer/pepper/host_resource_var.h',
      'renderer/pepper/host_var_tracker.cc',
      'renderer/pepper/host_var_tracker.h',
      'renderer/pepper/message_channel.cc',
      'renderer/pepper/message_channel.h',
      'renderer/pepper/pepper_audio_input_host.cc',
      'renderer/pepper/pepper_audio_input_host.h',
      'renderer/pepper/pepper_broker.cc',
      'renderer/pepper/pepper_broker.h',
      'renderer/pepper/pepper_browser_connection.cc',
      'renderer/pepper/pepper_browser_connection.h',
      'renderer/pepper/pepper_compositor_host.cc',
      'renderer/pepper/pepper_compositor_host.h',
      'renderer/pepper/pepper_device_enumeration_host_helper.cc',
      'renderer/pepper/pepper_device_enumeration_host_helper.h',
      'renderer/pepper/pepper_file_chooser_host.cc',
      'renderer/pepper/pepper_file_chooser_host.h',
      'renderer/pepper/pepper_file_ref_renderer_host.cc',
      'renderer/pepper/pepper_file_ref_renderer_host.h',
      'renderer/pepper/pepper_file_system_host.cc',
      'renderer/pepper/pepper_file_system_host.h',
      'renderer/pepper/pepper_graphics_2d_host.cc',
      'renderer/pepper/pepper_graphics_2d_host.h',
      'renderer/pepper/pepper_hung_plugin_filter.cc',
      'renderer/pepper/pepper_hung_plugin_filter.h',
      'renderer/pepper/pepper_in_process_resource_creation.cc',
      'renderer/pepper/pepper_in_process_resource_creation.h',
      'renderer/pepper/pepper_in_process_router.cc',
      'renderer/pepper/pepper_in_process_router.h',
      'renderer/pepper/pepper_media_device_manager.cc',
      'renderer/pepper/pepper_media_device_manager.h',
      'renderer/pepper/pepper_platform_audio_input.cc',
      'renderer/pepper/pepper_platform_audio_input.h',
      'renderer/pepper/pepper_platform_audio_output.cc',
      'renderer/pepper/pepper_platform_audio_output.h',
      'renderer/pepper/pepper_platform_video_capture.cc',
      'renderer/pepper/pepper_platform_video_capture.h',
      'renderer/pepper/pepper_plugin_instance_impl.cc',
      'renderer/pepper/pepper_plugin_instance_impl.h',
      'renderer/pepper/pepper_plugin_registry.cc',
      'renderer/pepper/pepper_plugin_registry.h',
      'renderer/pepper/pepper_proxy_channel_delegate_impl.cc',
      'renderer/pepper/pepper_proxy_channel_delegate_impl.h',
      'renderer/pepper/pepper_try_catch.cc',
      'renderer/pepper/pepper_try_catch.h',
      'renderer/pepper/pepper_url_loader_host.cc',
      'renderer/pepper/pepper_url_loader_host.h',
      'renderer/pepper/pepper_video_capture_host.cc',
      'renderer/pepper/pepper_video_capture_host.h',
      'renderer/pepper/pepper_video_decoder_host.cc',
      'renderer/pepper/pepper_video_decoder_host.h',
      'renderer/pepper/pepper_webplugin_impl.cc',
      'renderer/pepper/pepper_webplugin_impl.h',
      'renderer/pepper/pepper_websocket_host.cc',
      'renderer/pepper/pepper_websocket_host.h',
      'renderer/pepper/plugin_module.cc',
      'renderer/pepper/plugin_module.h',
      'renderer/pepper/plugin_object.cc',
      'renderer/pepper/plugin_object.h',
      'renderer/pepper/ppapi_preferences_builder.cc',
      'renderer/pepper/ppapi_preferences_builder.h',
      'renderer/pepper/ppb_audio_impl.cc',
      'renderer/pepper/ppb_audio_impl.h',
      'renderer/pepper/ppb_broker_impl.cc',
      'renderer/pepper/ppb_broker_impl.h',
      'renderer/pepper/ppb_buffer_impl.cc',
      'renderer/pepper/ppb_buffer_impl.h',
      'renderer/pepper/ppb_flash_message_loop_impl.cc',
      'renderer/pepper/ppb_flash_message_loop_impl.h',
      'renderer/pepper/ppb_graphics_3d_impl.cc',
      'renderer/pepper/ppb_graphics_3d_impl.h',
      'renderer/pepper/ppb_image_data_impl.cc',
      'renderer/pepper/ppb_image_data_impl.h',
      'renderer/pepper/ppb_proxy_impl.cc',
      'renderer/pepper/ppb_proxy_impl.h',
      'renderer/pepper/ppb_scrollbar_impl.cc',
      'renderer/pepper/ppb_scrollbar_impl.h',
      'renderer/pepper/ppb_var_deprecated_impl.cc',
      'renderer/pepper/ppb_var_deprecated_impl.h',
      'renderer/pepper/ppb_video_decoder_impl.cc',
      'renderer/pepper/ppb_video_decoder_impl.h',
      'renderer/pepper/ppb_widget_impl.cc',
      'renderer/pepper/ppb_widget_impl.h',
      'renderer/pepper/renderer_ppapi_host_impl.cc',
      'renderer/pepper/renderer_ppapi_host_impl.h',
      'renderer/pepper/renderer_restrict_dispatch_group.h',
      'renderer/pepper/resource_converter.cc',
      'renderer/pepper/resource_converter.h',
      'renderer/pepper/resource_creation_impl.cc',
      'renderer/pepper/resource_creation_impl.h',
      'renderer/pepper/url_request_info_util.cc',
      'renderer/pepper/url_request_info_util.h',
      'renderer/pepper/url_response_info_util.cc',
      'renderer/pepper/url_response_info_util.h',
      'renderer/pepper/usb_key_code_conversion.cc',
      'renderer/pepper/usb_key_code_conversion.h',
      'renderer/pepper/usb_key_code_conversion_linux.cc',
      'renderer/pepper/usb_key_code_conversion_mac.cc',
      'renderer/pepper/usb_key_code_conversion_win.cc',
      'renderer/pepper/v8object_var.cc',
      'renderer/pepper/v8object_var.h',
      'renderer/pepper/v8_var_converter.cc',
      'renderer/pepper/v8_var_converter.h',
      'renderer/pepper/video_decoder_shim.cc',
      'renderer/pepper/video_decoder_shim.h',
      'renderer/render_widget_fullscreen_pepper.cc',
      'renderer/render_widget_fullscreen_pepper.h',
    ],
    'public_renderer_webrtc_sources': [
      'public/renderer/media_stream_audio_sink.h',
      'public/renderer/media_stream_audio_sink.cc',
      'public/renderer/media_stream_sink.h',
      'public/renderer/media_stream_video_sink.cc',
      'public/renderer/media_stream_video_sink.h',
      'public/renderer/webrtc_log_message_delegate.h',
    ],
    # WebRTC-specific sources. Put WebRTC plugin-related stuff in the
    # Plugin+WebRTC section below.
    'private_renderer_webrtc_sources': [
      'renderer/media/media_stream.h',
      'renderer/media/media_stream.cc',
      'renderer/media/media_stream_audio_processor.cc',
      'renderer/media/media_stream_audio_processor.h',
      'renderer/media/media_stream_audio_processor_options.cc',
      'renderer/media/media_stream_audio_processor_options.h',
      'renderer/media/media_stream_audio_sink_owner.cc',
      'renderer/media/media_stream_audio_sink_owner.h',
      'renderer/media/media_stream_audio_track_sink.h',
      'renderer/media/media_stream_center.cc',
      'renderer/media/media_stream_dispatcher.cc',      
      'renderer/media/media_stream_registry_interface.h',
      'renderer/media/media_stream_audio_source.cc',
      'renderer/media/media_stream_audio_source.h',
      'renderer/media/media_stream_renderer_factory.cc',
      'renderer/media/media_stream_renderer_factory.h',
      'renderer/media/media_stream_source.cc',
      'renderer/media/media_stream_source.h',
      'renderer/media/media_stream_video_capturer_source.cc',
      'renderer/media/media_stream_video_capturer_source.h',
      'renderer/media/media_stream_video_source.cc',
      'renderer/media/media_stream_video_source.h',
      'renderer/media/media_stream_video_track.cc',
      'renderer/media/media_stream_video_track.h',
      'renderer/media/native_handle_impl.cc',
      'renderer/media/native_handle_impl.h',
      'renderer/media/peer_connection_audio_sink_owner.cc',
      'renderer/media/peer_connection_audio_sink_owner.h',
      'renderer/media/peer_connection_identity_service.cc',
      'renderer/media/peer_connection_identity_service.h',
      'renderer/media/peer_connection_tracker.cc',
      'renderer/media/peer_connection_tracker.h',
      'renderer/media/remote_media_stream_impl.cc',
      'renderer/media/remote_media_stream_impl.h',
      'renderer/media/rtc_data_channel_handler.cc',
      'renderer/media/rtc_data_channel_handler.h',
      'renderer/media/rtc_dtmf_sender_handler.cc',
      'renderer/media/rtc_dtmf_sender_handler.h',
      'renderer/media/rtc_media_constraints.cc',
      'renderer/media/rtc_media_constraints.h',
      'renderer/media/rtc_peer_connection_handler.cc',
      'renderer/media/rtc_peer_connection_handler.h',
      'renderer/media/rtc_video_decoder.cc',
      'renderer/media/rtc_video_decoder.h',
      'renderer/media/rtc_video_decoder_factory.cc',
      'renderer/media/rtc_video_decoder_factory.h',
      'renderer/media/rtc_video_encoder.cc',
      'renderer/media/rtc_video_encoder.h',
      'renderer/media/rtc_video_encoder_factory.cc',
      'renderer/media/rtc_video_encoder_factory.h',
      'renderer/media/rtc_video_renderer.cc',
      'renderer/media/rtc_video_renderer.h',
      'renderer/media/user_media_client_impl.cc',
      'renderer/media/video_source_handler.cc',
      'renderer/media/video_source_handler.h',
      'renderer/media/video_track_adapter.cc',
      'renderer/media/video_track_adapter.h',
      'renderer/media/webaudio_capturer_source.cc',
      'renderer/media/webaudio_capturer_source.h',
      'renderer/media/webrtc/webrtc_video_track_adapter.cc',
      'renderer/media/webrtc/webrtc_video_track_adapter.h',
      'renderer/media/webrtc/media_stream_remote_video_source.cc',
      'renderer/media/webrtc/media_stream_remote_video_source.h',
      'renderer/media/webrtc/media_stream_track_metrics.cc',
      'renderer/media/webrtc/media_stream_track_metrics.h',
      'renderer/media/webrtc/peer_connection_dependency_factory.cc',
      'renderer/media/webrtc/peer_connection_dependency_factory.h',
      'renderer/media/webrtc/video_destination_handler.cc',
      'renderer/media/webrtc/video_destination_handler.h',
      'renderer/media/webrtc/webrtc_audio_sink_adapter.cc',
      'renderer/media/webrtc/webrtc_audio_sink_adapter.h',
      'renderer/media/webrtc/webrtc_local_audio_track_adapter.cc',
      'renderer/media/webrtc/webrtc_local_audio_track_adapter.h',
      'renderer/media/webrtc/webrtc_media_stream_adapter.cc',
      'renderer/media/webrtc/webrtc_media_stream_adapter.h',
      'renderer/media/webrtc/webrtc_video_capturer_adapter.cc',
      'renderer/media/webrtc/webrtc_video_capturer_adapter.h',
      'renderer/media/webrtc_audio_capturer.cc',
      'renderer/media/webrtc_audio_capturer.h',
      'renderer/media/webrtc_audio_device_impl.cc',
      'renderer/media/webrtc_audio_device_impl.h',
      'renderer/media/webrtc_audio_device_not_impl.cc',
      'renderer/media/webrtc_audio_device_not_impl.h',
      'renderer/media/webrtc_audio_renderer.cc',
      'renderer/media/webrtc_audio_renderer.h',
      'renderer/media/webrtc_identity_service.cc',
      'renderer/media/webrtc_identity_service.h',
      'renderer/media/webrtc_local_audio_renderer.cc',
      'renderer/media/webrtc_local_audio_renderer.h',
      'renderer/media/webrtc_local_audio_source_provider.cc',
      'renderer/media/webrtc_local_audio_source_provider.h',
      'renderer/media/webrtc_local_audio_track.cc',
      'renderer/media/webrtc_local_audio_track.h',
      'renderer/media/webrtc_logging.cc',
      'renderer/media/webrtc_logging.h',
      'renderer/media/webrtc_uma_histograms.cc',
      'renderer/media/webrtc_uma_histograms.h',
      'renderer/p2p/host_address_request.cc',
      'renderer/p2p/host_address_request.h',
      'renderer/p2p/ipc_network_manager.cc',
      'renderer/p2p/ipc_network_manager.h',
      'renderer/p2p/ipc_socket_factory.cc',
      'renderer/p2p/ipc_socket_factory.h',
      'renderer/p2p/network_list_observer.h',
      'renderer/p2p/port_allocator.cc',
      'renderer/p2p/port_allocator.h',
      'renderer/p2p/socket_client_impl.cc',
      'renderer/p2p/socket_client_impl.h',
      'renderer/p2p/socket_dispatcher.cc',
      'renderer/p2p/socket_dispatcher.h',
    ],
    # Stuff only used when both WebRTC and plugins are enabled.
    'private_renderer_plugin_webrtc_sources': [
      'renderer/pepper/pepper_media_stream_audio_track_host.cc',
      'renderer/pepper/pepper_media_stream_audio_track_host.h',
      'renderer/pepper/pepper_media_stream_track_host_base.cc',
      'renderer/pepper/pepper_media_stream_track_host_base.h',
      'renderer/pepper/pepper_media_stream_video_track_host.cc',
      'renderer/pepper/pepper_media_stream_video_track_host.h',
      'renderer/pepper/pepper_video_destination_host.cc',
      'renderer/pepper/pepper_video_destination_host.h',
      'renderer/pepper/pepper_video_source_host.cc',
      'renderer/pepper/pepper_video_source_host.h',
    ]
  },
  'sources': [
    '<@(public_renderer_sources)',
    '<@(private_renderer_sources)',
  ],
  'conditions': [
    ['notifications==0', {
      'sources!': [
        'renderer/notification_provider.cc',
        'renderer/active_notification_tracker.cc',
      ],
    }],
    ['OS=="mac"', {
      'sources!': [
        'common/process_watcher_posix.cc',
        'renderer/webscrollbarbehavior_impl_gtkoraura.cc',
        'renderer/webscrollbarbehavior_impl_gtkoraura.h',
      ],
      'sources': [
        'renderer/external_popup_menu.cc',
        'renderer/external_popup_menu.h',
      ],
    }, {
      'sources!': [
        'renderer/webscrollbarbehavior_impl_mac.mm',
        'renderer/webscrollbarbehavior_impl_mac.h',
      ],
    }],
    ['OS=="win" and win_use_allocator_shim==1', {
      'dependencies': [
          '../base/allocator/allocator.gyp:allocator',
      ],
    }],
    ['OS=="android"', {
      'sources!': [
        'renderer/accessibility/renderer_accessibility_focus_only.cc',
        'renderer/media/audio_decoder.cc',
        'renderer/media/crypto/encrypted_media_player_support_impl.cc',
      ],
      'sources': [
        'renderer/external_popup_menu.cc',
        'renderer/external_popup_menu.h',
      ],
      'dependencies': [
        '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
      ],
      'includes': [
        '../build/android/cpufeatures.gypi',
      ],
    }, {
      'sources!': [
        'renderer/java/gin_java_bridge_dispatcher.cc',
        'renderer/java/gin_java_bridge_dispatcher.h',
        'renderer/java/gin_java_bridge_object.cc',
        'renderer/java/gin_java_bridge_object.h',
        'renderer/java/gin_java_bridge_value_converter.cc',
        'renderer/java/gin_java_bridge_value_converter.h',
        'renderer/java/java_bridge_channel.cc',
        'renderer/java/java_bridge_channel.h',
        'renderer/java/java_bridge_dispatcher.cc',
        'renderer/java/java_bridge_dispatcher.h',
      ],
    }],
    # TODO(jrg): remove the OS=="android" section?
    # http://crbug.com/113172
    # Understand better how media_stream_ is tied into Chromium.
    ['enable_webrtc==0 and OS=="android"', {
      'sources/': [
        ['exclude', '^renderer/media/media_stream_'],
      ],
    }],
    ['enable_webrtc==1', {
      'dependencies': [
        '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
        '../third_party/libjingle/libjingle.gyp:libpeerconnection',
        '../third_party/libyuv/libyuv.gyp:libyuv',
        '../third_party/webrtc/modules/modules.gyp:audio_device',
        '../third_party/webrtc/modules/modules.gyp:audio_processing',
        '<(DEPTH)/crypto/crypto.gyp:crypto',
      ],
      'sources': [
        '<@(public_renderer_webrtc_sources)',
        '<@(private_renderer_webrtc_sources)',
      ],
    },{  # enable_webrtc==0
      'sources': [
        'renderer/media/webrtc_logging_noop.cc',
        'renderer/media/webrtc_logging.h',
      ],
    }],
    ['enable_plugins==1', {
      'sources': [
        '<@(private_renderer_plugin_sources)',
      ],
      'conditions': [
        ['OS=="android"', {
          'sources!': [
            # Android does not build FFmpeg, which these depend on.
            'renderer/pepper/video_decoder_shim.cc',
            'renderer/pepper/video_decoder_shim.h',
          ],
        }],
      ],
      'dependencies': [
        '../ppapi/ppapi_internal.gyp:ppapi_host',
        '../ppapi/ppapi_internal.gyp:ppapi_proxy',
        '../ppapi/ppapi_internal.gyp:ppapi_shared',
        '../third_party/libyuv/libyuv.gyp:libyuv',
      ],
    }, {  # enable_plugins==0
      'sources!': [
        # These are not in the plugins sources list since it also requires webrtc.
        'renderer/media/webrtc/video_destination_handler.cc',
        'renderer/media/webrtc/video_destination_handler.h',
      ],
    }],
    ['enable_plugins==1 and enable_webrtc==1', {
      'sources': [
        '<@(private_renderer_plugin_webrtc_sources)',
      ],
    }],
    ['enable_pepper_cdms != 1', {
      'sources!': [
        'renderer/media/crypto/pepper_cdm_wrapper.h',
        'renderer/media/crypto/pepper_cdm_wrapper_impl.cc',
        'renderer/media/crypto/pepper_cdm_wrapper_impl.h',
        'renderer/media/crypto/ppapi_decryptor.cc',
        'renderer/media/crypto/ppapi_decryptor.h',
      ],
    }],
    ['enable_browser_cdms==1', {
      'sources': [
        'renderer/media/crypto/proxy_media_keys.cc',
        'renderer/media/crypto/proxy_media_keys.h',
        'renderer/media/crypto/renderer_cdm_manager.cc',
        'renderer/media/crypto/renderer_cdm_manager.h',
      ],
    }],
  ],
  'target_conditions': [
    ['OS=="android"', {
      'sources/': [
        ['include', '^renderer/render_view_linux\\.cc$'],
      ],
    }],
  ],
}