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 '../jingle/jingle.gyp:jingle_glue',
9 '../ppapi/ppapi_internal.gyp:ppapi_host',
10 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
11 '../ppapi/ppapi_internal.gyp:ppapi_shared',
12 '../skia/skia.gyp:skia',
13 '../third_party/hyphen/hyphen.gyp:hyphen',
14 '../third_party/icu/icu.gyp:icuuc',
15 '../third_party/icu/icu.gyp:icui18n',
16 '../third_party/libjingle/libjingle.gyp:libjingle',
17 '../third_party/libjingle/libjingle.gyp:libjingle_p2p',
18 '../third_party/npapi/npapi.gyp:npapi',
19 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
20 '../ui/surface/surface.gyp:surface',
21 '../v8/tools/gyp/v8.gyp:v8',
22 '../webkit/support/webkit_support.gyp:glue',
23 '../webkit/support/webkit_support.gyp:webkit_media',
24 '../webkit/support/webkit_support.gyp:webkit_gpu',
30 'public/renderer/content_renderer_client.cc',
31 'public/renderer/content_renderer_client.h',
32 'public/renderer/document_state.cc',
33 'public/renderer/document_state.h',
34 'public/renderer/navigation_state.cc',
35 'public/renderer/navigation_state.h',
36 'public/renderer/render_process_observer.cc',
37 'public/renderer/render_process_observer.h',
38 'public/renderer/render_thread.cc',
39 'public/renderer/render_thread.h',
40 'public/renderer/render_view.h',
41 'public/renderer/render_view_observer.cc',
42 'public/renderer/render_view_observer.h',
43 'public/renderer/render_view_observer_tracker.h',
44 'public/renderer/render_view_visitor.h',
45 'public/renderer/v8_value_converter.h',
46 'renderer/accessibility_node_serializer.cc',
47 'renderer/accessibility_node_serializer.h',
48 'renderer/active_notification_tracker.cc',
49 'renderer/active_notification_tracker.h',
50 'renderer/all_rendering_benchmarks.cc',
51 'renderer/all_rendering_benchmarks.h',
52 'renderer/android/address_detector.cc',
53 'renderer/android/address_detector.h',
54 'renderer/android/content_detector.cc',
55 'renderer/android/content_detector.h',
56 'renderer/android/email_detector.cc',
57 'renderer/android/email_detector.h',
58 'renderer/android/phone_number_detector.cc',
59 'renderer/android/phone_number_detector.h',
60 'renderer/device_orientation_dispatcher.cc',
61 'renderer/device_orientation_dispatcher.h',
62 'renderer/devtools_agent.cc',
63 'renderer/devtools_agent.h',
64 'renderer/devtools_agent_filter.cc',
65 'renderer/devtools_agent_filter.h',
66 'renderer/devtools_client.cc',
67 'renderer/devtools_client.h',
68 'renderer/dom_automation_controller.cc',
69 'renderer/dom_automation_controller.h',
70 'renderer/dom_storage/dom_storage_dispatcher.cc',
71 'renderer/dom_storage/dom_storage_dispatcher.h',
72 'renderer/dom_storage/webstoragearea_impl.cc',
73 'renderer/dom_storage/webstoragearea_impl.h',
74 'renderer/dom_storage/webstoragenamespace_impl.cc',
75 'renderer/dom_storage/webstoragenamespace_impl.h',
76 'renderer/external_popup_menu.cc',
77 'renderer/external_popup_menu.h',
78 'renderer/gamepad_shared_memory_reader.cc',
79 'renderer/gamepad_shared_memory_reader.h',
80 'renderer/geolocation_dispatcher.cc',
81 'renderer/geolocation_dispatcher.h',
82 'renderer/gpu/compositor_thread.cc',
83 'renderer/gpu/compositor_thread.h',
84 'renderer/gpu/input_event_filter.cc',
85 'renderer/gpu/input_event_filter.h',
86 'renderer/gpu/gpu_benchmarking_extension.cc',
87 'renderer/gpu/gpu_benchmarking_extension.h',
88 'renderer/gpu/stream_texture_host_android.cc',
89 'renderer/gpu/stream_texture_host_android.h',
90 'renderer/hyphenator/hyphenator.cc',
91 'renderer/hyphenator/hyphenator.h',
92 'renderer/idle_user_detector.cc',
93 'renderer/idle_user_detector.h',
94 'renderer/input_tag_speech_dispatcher.cc',
95 'renderer/input_tag_speech_dispatcher.h',
96 'renderer/java/java_bridge_channel.cc',
97 'renderer/java/java_bridge_channel.h',
98 'renderer/java/java_bridge_dispatcher.cc',
99 'renderer/java/java_bridge_dispatcher.h',
100 'renderer/load_progress_tracker.cc',
101 'renderer/load_progress_tracker.h',
102 'renderer/media/audio_device_factory.cc',
103 'renderer/media/audio_device_factory.h',
104 'renderer/media/audio_hardware.cc',
105 'renderer/media/audio_hardware.h',
106 'renderer/media/audio_input_message_filter.cc',
107 'renderer/media/audio_input_message_filter.h',
108 'renderer/media/audio_message_filter.cc',
109 'renderer/media/audio_message_filter.h',
110 'renderer/media/audio_renderer_mixer_manager.cc',
111 'renderer/media/audio_renderer_mixer_manager.h',
112 'renderer/media/capture_video_decoder.cc',
113 'renderer/media/capture_video_decoder.h',
114 'renderer/media/media_stream_center.h',
115 'renderer/media/media_stream_dependency_factory.h',
116 'renderer/media/media_stream_dispatcher.h',
117 'renderer/media/media_stream_dispatcher_eventhandler.h',
118 'renderer/media/media_stream_impl.h',
119 'renderer/media/pepper_platform_video_decoder_impl.cc',
120 'renderer/media/pepper_platform_video_decoder_impl.h',
121 'renderer/media/render_audiosourceprovider.cc',
122 'renderer/media/render_audiosourceprovider.h',
123 'renderer/media/render_media_log.cc',
124 'renderer/media/render_media_log.h',
125 'renderer/media/renderer_gpu_video_decoder_factories.cc',
126 'renderer/media/renderer_gpu_video_decoder_factories.h',
127 'renderer/media/renderer_webaudiodevice_impl.cc',
128 'renderer/media/renderer_webaudiodevice_impl.h',
129 'renderer/media/rtc_video_decoder.cc',
130 'renderer/media/rtc_video_decoder.h',
131 'renderer/media/stream_texture_factory_impl_android.cc',
132 'renderer/media/stream_texture_factory_impl_android.h',
133 'renderer/media/video_capture_impl.cc',
134 'renderer/media/video_capture_impl.h',
135 'renderer/media/video_capture_impl_manager.cc',
136 'renderer/media/video_capture_impl_manager.h',
137 'renderer/media/video_capture_message_filter.cc',
138 'renderer/media/video_capture_message_filter.h',
139 'renderer/mhtml_generator.cc',
140 'renderer/mhtml_generator.h',
141 'renderer/mouse_lock_dispatcher.cc',
142 'renderer/mouse_lock_dispatcher.h',
143 'renderer/notification_provider.cc',
144 'renderer/notification_provider.h',
145 'renderer/paint_aggregator.cc',
146 'renderer/paint_aggregator.h',
147 'renderer/pepper/pepper_instance_state_accessor.h',
148 'renderer/pepper/pepper_instance_state_accessor_impl.cc',
149 'renderer/pepper/pepper_instance_state_accessor_impl.h',
150 'renderer/pepper/content_renderer_pepper_host_factory.cc',
151 'renderer/pepper/content_renderer_pepper_host_factory.h',
152 'renderer/pepper/pepper_broker_impl.cc',
153 'renderer/pepper/pepper_broker_impl.h',
154 'renderer/pepper/pepper_device_enumeration_event_handler.cc',
155 'renderer/pepper/pepper_device_enumeration_event_handler.h',
156 'renderer/pepper/pepper_file_chooser_host.cc',
157 'renderer/pepper/pepper_file_chooser_host.h',
158 'renderer/pepper/pepper_hung_plugin_filter.cc',
159 'renderer/pepper/pepper_hung_plugin_filter.h',
160 'renderer/pepper/pepper_in_process_resource_creation.cc',
161 'renderer/pepper/pepper_in_process_resource_creation.h',
162 'renderer/pepper/pepper_parent_context_provider.cc',
163 'renderer/pepper/pepper_parent_context_provider.h',
164 'renderer/pepper/pepper_platform_audio_input_impl.cc',
165 'renderer/pepper/pepper_platform_audio_input_impl.h',
166 'renderer/pepper/pepper_platform_audio_output_impl.cc',
167 'renderer/pepper/pepper_platform_audio_output_impl.h',
168 'renderer/pepper/pepper_platform_context_3d_impl.cc',
169 'renderer/pepper/pepper_platform_context_3d_impl.h',
170 'renderer/pepper/pepper_platform_image_2d_impl.cc',
171 'renderer/pepper/pepper_platform_image_2d_impl.h',
172 'renderer/pepper/pepper_platform_video_capture_impl.cc',
173 'renderer/pepper/pepper_platform_video_capture_impl.h',
174 'renderer/pepper/pepper_plugin_delegate_impl.cc',
175 'renderer/pepper/pepper_plugin_delegate_impl.h',
176 'renderer/pepper/pepper_proxy_channel_delegate_impl.cc',
177 'renderer/pepper/pepper_proxy_channel_delegate_impl.h',
178 'renderer/plugin_channel_host.cc',
179 'renderer/plugin_channel_host.h',
180 'renderer/browser_plugin/old/browser_plugin.cc',
181 'renderer/browser_plugin/old/browser_plugin.h',
182 'renderer/browser_plugin/old/browser_plugin_channel_manager.cc',
183 'renderer/browser_plugin/old/browser_plugin_channel_manager.h',
184 'renderer/browser_plugin/old/browser_plugin_constants.cc',
185 'renderer/browser_plugin/old/browser_plugin_constants.h',
186 'renderer/browser_plugin/old/browser_plugin_registry.cc',
187 'renderer/browser_plugin/old/browser_plugin_registry.h',
188 'renderer/browser_plugin/old/browser_plugin_var_serialization_rules.cc',
189 'renderer/browser_plugin/old/browser_plugin_var_serialization_rules.h',
190 'renderer/browser_plugin/old/guest_to_embedder_channel.cc',
191 'renderer/browser_plugin/old/guest_to_embedder_channel.h',
192 'renderer/render_process.h',
193 'renderer/render_process_impl.cc',
194 'renderer/render_process_impl.h',
195 'renderer/render_thread_impl.cc',
196 'renderer/render_thread_impl.h',
197 'renderer/render_view_impl.cc',
198 'renderer/render_view_impl.h',
199 'renderer/render_view_linux.cc',
200 'renderer/render_view_mouse_lock_dispatcher.cc',
201 'renderer/render_view_mouse_lock_dispatcher.h',
202 'renderer/render_view_selection.cc',
203 'renderer/render_view_selection.h',
204 'renderer/render_widget.cc',
205 'renderer/render_widget.h',
206 'renderer/render_widget_fullscreen.cc',
207 'renderer/render_widget_fullscreen.h',
208 'renderer/render_widget_fullscreen_pepper.cc',
209 'renderer/render_widget_fullscreen_pepper.h',
210 'renderer/renderer_accessibility.cc',
211 'renderer/renderer_accessibility.h',
212 'renderer/renderer_accessibility_complete.cc',
213 'renderer/renderer_accessibility_complete.h',
214 'renderer/renderer_accessibility_focus_only.cc',
215 'renderer/renderer_accessibility_focus_only.h',
216 'renderer/renderer_clipboard_client.cc',
217 'renderer/renderer_clipboard_client.h',
218 'renderer/renderer_main.cc',
219 'renderer/renderer_main_platform_delegate.h',
220 'renderer/renderer_main_platform_delegate_android.cc',
221 'renderer/renderer_main_platform_delegate_linux.cc',
222 'renderer/renderer_main_platform_delegate_mac.mm',
223 'renderer/renderer_main_platform_delegate_win.cc',
224 'renderer/renderer_webapplicationcachehost_impl.cc',
225 'renderer/renderer_webapplicationcachehost_impl.h',
226 'renderer/renderer_webcookiejar_impl.cc',
227 'renderer/renderer_webcookiejar_impl.h',
228 'renderer/renderer_webcolorchooser_impl.cc',
229 'renderer/renderer_webcolorchooser_impl.h',
230 'renderer/renderer_webkitplatformsupport_impl.cc',
231 'renderer/renderer_webkitplatformsupport_impl.h',
232 'renderer/rendering_benchmark.cc',
233 'renderer/rendering_benchmark.h',
234 'renderer/rendering_benchmark_results.h',
235 'renderer/speech_recognition_dispatcher.cc',
236 'renderer/speech_recognition_dispatcher.h',
237 'renderer/text_input_client_observer.cc',
238 'renderer/text_input_client_observer.h',
239 'renderer/v8_value_converter_impl.cc',
240 'renderer/v8_value_converter_impl.h',
241 'renderer/web_intents_host.cc',
242 'renderer/web_intents_host.h',
243 'renderer/web_ui_bindings.cc',
244 'renderer/web_ui_bindings.h',
245 'renderer/webplugin_delegate_proxy.cc',
246 'renderer/webplugin_delegate_proxy.h',
247 'renderer/websharedworker_proxy.cc',
248 'renderer/websharedworker_proxy.h',
249 'renderer/websharedworkerrepository_impl.cc',
250 'renderer/websharedworkerrepository_impl.h',
253 ['toolkit_uses_gtk == 1', {
255 ['input_speech==0', {
257 'renderer/input_tag_speech_dispatcher.cc',
258 'renderer/input_tag_speech_dispatcher.h',
259 'renderer/speech_recognition_dispatcher.cc',
260 'renderer/speech_recognition_dispatcher.h',
263 ['notifications==0', {
265 'renderer/notification_provider.cc',
266 'renderer/active_notification_tracker.cc',
271 '../build/linux/system.gyp:gtk',
276 'common/process_watcher_posix.cc',
279 ['OS=="win" and win_use_allocator_shim==1', {
281 '../base/allocator/allocator.gyp:allocator',
286 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
289 # TODO(jrg): remove the OS=="android" section?
290 # http://crbug.com/113172
291 # Understand better how media_stream_ is tied into Chromium.
292 ['enable_webrtc==0 and OS=="android"', {
294 ['exclude', '^renderer/media/media_stream_'],
297 ['enable_webrtc==1', {
299 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection',
300 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
301 '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:system_wrappers',
302 '../third_party/webrtc/video_engine/video_engine.gyp:video_engine_core',
303 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine_core',
306 'renderer/media/media_stream_center.cc',
307 'renderer/media/media_stream_dependency_factory.cc',
308 'renderer/media/media_stream_dispatcher.cc',
309 'renderer/media/media_stream_impl.cc',
310 'renderer/media/peer_connection_handler_base.cc',
311 'renderer/media/peer_connection_handler_base.h',
312 'renderer/media/peer_connection_handler_jsep.cc',
313 'renderer/media/peer_connection_handler_jsep.h',
314 'renderer/media/video_capture_module_impl.cc',
315 'renderer/media/video_capture_module_impl.h',
316 'renderer/media/webrtc_audio_device_impl.cc',
317 'renderer/media/webrtc_audio_device_impl.h',
318 'renderer/p2p/host_address_request.cc',
319 'renderer/p2p/host_address_request.h',
320 'renderer/p2p/ipc_network_manager.cc',
321 'renderer/p2p/ipc_network_manager.h',
322 'renderer/p2p/ipc_socket_factory.cc',
323 'renderer/p2p/ipc_socket_factory.h',
324 'renderer/p2p/p2p_transport_impl.cc',
325 'renderer/p2p/p2p_transport_impl.h',
326 'renderer/p2p/port_allocator.cc',
327 'renderer/p2p/port_allocator.h',
328 'renderer/p2p/socket_client.cc',
329 'renderer/p2p/socket_client.h',
330 'renderer/p2p/socket_dispatcher.cc',
331 'renderer/p2p/socket_dispatcher.h',
336 'ENABLE_JAVA_BRIDGE',
340 'renderer/java/java_bridge_channel.cc',
341 'renderer/java/java_bridge_channel.h',
342 'renderer/java/java_bridge_dispatcher.cc',
343 'renderer/java/java_bridge_dispatcher.h',
347 'target_conditions': [
350 ['include', '^renderer/render_view_linux\\.cc$'],