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/renderer_ppapi_host.h',
46 'public/renderer/v8_value_converter.h',
47 'renderer/accessibility_node_serializer.cc',
48 'renderer/accessibility_node_serializer.h',
49 'renderer/active_notification_tracker.cc',
50 'renderer/active_notification_tracker.h',
51 'renderer/all_rendering_benchmarks.cc',
52 'renderer/all_rendering_benchmarks.h',
53 'renderer/android/address_detector.cc',
54 'renderer/android/address_detector.h',
55 'renderer/android/content_detector.cc',
56 'renderer/android/content_detector.h',
57 'renderer/android/email_detector.cc',
58 'renderer/android/email_detector.h',
59 'renderer/android/phone_number_detector.cc',
60 'renderer/android/phone_number_detector.h',
61 'renderer/device_orientation_dispatcher.cc',
62 'renderer/device_orientation_dispatcher.h',
63 'renderer/devtools_agent.cc',
64 'renderer/devtools_agent.h',
65 'renderer/devtools_agent_filter.cc',
66 'renderer/devtools_agent_filter.h',
67 'renderer/devtools_client.cc',
68 'renderer/devtools_client.h',
69 'renderer/dom_automation_controller.cc',
70 'renderer/dom_automation_controller.h',
71 'renderer/dom_storage/dom_storage_dispatcher.cc',
72 'renderer/dom_storage/dom_storage_dispatcher.h',
73 'renderer/dom_storage/webstoragearea_impl.cc',
74 'renderer/dom_storage/webstoragearea_impl.h',
75 'renderer/dom_storage/webstoragenamespace_impl.cc',
76 'renderer/dom_storage/webstoragenamespace_impl.h',
77 'renderer/external_popup_menu.cc',
78 'renderer/external_popup_menu.h',
79 'renderer/gamepad_shared_memory_reader.cc',
80 'renderer/gamepad_shared_memory_reader.h',
81 'renderer/geolocation_dispatcher.cc',
82 'renderer/geolocation_dispatcher.h',
83 'renderer/gpu/compositor_output_surface.cc',
84 'renderer/gpu/compositor_output_surface.h',
85 'renderer/gpu/compositor_thread.cc',
86 'renderer/gpu/compositor_thread.h',
87 'renderer/gpu/input_event_filter.cc',
88 'renderer/gpu/input_event_filter.h',
89 'renderer/gpu/gpu_benchmarking_extension.cc',
90 'renderer/gpu/gpu_benchmarking_extension.h',
91 'renderer/gpu/stream_texture_host_android.cc',
92 'renderer/gpu/stream_texture_host_android.h',
93 'renderer/hyphenator/hyphenator.cc',
94 'renderer/hyphenator/hyphenator.h',
95 'renderer/idle_user_detector.cc',
96 'renderer/idle_user_detector.h',
97 'renderer/input_tag_speech_dispatcher.cc',
98 'renderer/input_tag_speech_dispatcher.h',
99 'renderer/java/java_bridge_channel.cc',
100 'renderer/java/java_bridge_channel.h',
101 'renderer/java/java_bridge_dispatcher.cc',
102 'renderer/java/java_bridge_dispatcher.h',
103 'renderer/load_progress_tracker.cc',
104 'renderer/load_progress_tracker.h',
105 'renderer/media/audio_device_factory.cc',
106 'renderer/media/audio_device_factory.h',
107 'renderer/media/audio_hardware.cc',
108 'renderer/media/audio_hardware.h',
109 'renderer/media/audio_input_message_filter.cc',
110 'renderer/media/audio_input_message_filter.h',
111 'renderer/media/audio_message_filter.cc',
112 'renderer/media/audio_message_filter.h',
113 'renderer/media/audio_renderer_mixer_manager.cc',
114 'renderer/media/audio_renderer_mixer_manager.h',
115 'renderer/media/capture_video_decoder.cc',
116 'renderer/media/capture_video_decoder.h',
117 'renderer/media/media_stream_center.h',
118 'renderer/media/media_stream_dependency_factory.h',
119 'renderer/media/media_stream_dispatcher.h',
120 'renderer/media/media_stream_dispatcher_eventhandler.h',
121 'renderer/media/media_stream_impl.h',
122 'renderer/media/pepper_platform_video_decoder_impl.cc',
123 'renderer/media/pepper_platform_video_decoder_impl.h',
124 'renderer/media/render_audiosourceprovider.cc',
125 'renderer/media/render_audiosourceprovider.h',
126 'renderer/media/render_media_log.cc',
127 'renderer/media/render_media_log.h',
128 'renderer/media/renderer_gpu_video_decoder_factories.cc',
129 'renderer/media/renderer_gpu_video_decoder_factories.h',
130 'renderer/media/renderer_webaudiodevice_impl.cc',
131 'renderer/media/renderer_webaudiodevice_impl.h',
132 'renderer/media/rtc_video_decoder.cc',
133 'renderer/media/rtc_video_decoder.h',
134 'renderer/media/stream_texture_factory_impl_android.cc',
135 'renderer/media/stream_texture_factory_impl_android.h',
136 'renderer/media/video_capture_impl.cc',
137 'renderer/media/video_capture_impl.h',
138 'renderer/media/video_capture_impl_manager.cc',
139 'renderer/media/video_capture_impl_manager.h',
140 'renderer/media/video_capture_message_filter.cc',
141 'renderer/media/video_capture_message_filter.h',
142 'renderer/mhtml_generator.cc',
143 'renderer/mhtml_generator.h',
144 'renderer/mouse_lock_dispatcher.cc',
145 'renderer/mouse_lock_dispatcher.h',
146 'renderer/notification_provider.cc',
147 'renderer/notification_provider.h',
148 'renderer/paint_aggregator.cc',
149 'renderer/paint_aggregator.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_in_process_router.cc',
163 'renderer/pepper/pepper_in_process_router.h',
164 'renderer/pepper/pepper_parent_context_provider.cc',
165 'renderer/pepper/pepper_parent_context_provider.h',
166 'renderer/pepper/pepper_platform_audio_input_impl.cc',
167 'renderer/pepper/pepper_platform_audio_input_impl.h',
168 'renderer/pepper/pepper_platform_audio_output_impl.cc',
169 'renderer/pepper/pepper_platform_audio_output_impl.h',
170 'renderer/pepper/pepper_platform_context_3d_impl.cc',
171 'renderer/pepper/pepper_platform_context_3d_impl.h',
172 'renderer/pepper/pepper_platform_image_2d_impl.cc',
173 'renderer/pepper/pepper_platform_image_2d_impl.h',
174 'renderer/pepper/pepper_platform_video_capture_impl.cc',
175 'renderer/pepper/pepper_platform_video_capture_impl.h',
176 'renderer/pepper/pepper_plugin_delegate_impl.cc',
177 'renderer/pepper/pepper_plugin_delegate_impl.h',
178 'renderer/pepper/pepper_proxy_channel_delegate_impl.cc',
179 'renderer/pepper/pepper_proxy_channel_delegate_impl.h',
180 'renderer/pepper/renderer_ppapi_host_impl.cc',
181 'renderer/pepper/renderer_ppapi_host_impl.h',
182 'renderer/plugin_channel_host.cc',
183 'renderer/plugin_channel_host.h',
184 'renderer/browser_plugin/old/browser_plugin_channel_manager.cc',
185 'renderer/browser_plugin/old/browser_plugin_channel_manager.h',
186 'renderer/browser_plugin/browser_plugin.cc',
187 'renderer/browser_plugin/browser_plugin.h',
188 'renderer/browser_plugin/browser_plugin_backing_store.h',
189 'renderer/browser_plugin/browser_plugin_backing_store.cc',
190 'renderer/browser_plugin/browser_plugin_bindings.h',
191 'renderer/browser_plugin/browser_plugin_bindings.cc',
192 'renderer/browser_plugin/browser_plugin_manager.h',
193 'renderer/browser_plugin/browser_plugin_manager.cc',
194 'renderer/browser_plugin/browser_plugin_manager_impl.h',
195 'renderer/browser_plugin/browser_plugin_manager_impl.cc',
196 'renderer/browser_plugin/old/browser_plugin_constants.cc',
197 'renderer/browser_plugin/old/browser_plugin_constants.h',
198 'renderer/browser_plugin/old/browser_plugin_registry.cc',
199 'renderer/browser_plugin/old/browser_plugin_registry.h',
200 'renderer/browser_plugin/old/browser_plugin_var_serialization_rules.cc',
201 'renderer/browser_plugin/old/browser_plugin_var_serialization_rules.h',
202 'renderer/browser_plugin/old/guest_to_embedder_channel.cc',
203 'renderer/browser_plugin/old/guest_to_embedder_channel.h',
204 'renderer/browser_plugin/old/old_browser_plugin.cc',
205 'renderer/browser_plugin/old/old_browser_plugin.h',
206 'renderer/render_process.h',
207 'renderer/render_process_impl.cc',
208 'renderer/render_process_impl.h',
209 'renderer/render_thread_impl.cc',
210 'renderer/render_thread_impl.h',
211 'renderer/render_view_impl.cc',
212 'renderer/render_view_impl.h',
213 'renderer/render_view_linux.cc',
214 'renderer/render_view_mouse_lock_dispatcher.cc',
215 'renderer/render_view_mouse_lock_dispatcher.h',
216 'renderer/render_view_selection.cc',
217 'renderer/render_view_selection.h',
218 'renderer/render_widget.cc',
219 'renderer/render_widget.h',
220 'renderer/render_widget_fullscreen.cc',
221 'renderer/render_widget_fullscreen.h',
222 'renderer/render_widget_fullscreen_pepper.cc',
223 'renderer/render_widget_fullscreen_pepper.h',
224 'renderer/renderer_accessibility.cc',
225 'renderer/renderer_accessibility.h',
226 'renderer/renderer_accessibility_complete.cc',
227 'renderer/renderer_accessibility_complete.h',
228 'renderer/renderer_accessibility_focus_only.cc',
229 'renderer/renderer_accessibility_focus_only.h',
230 'renderer/renderer_clipboard_client.cc',
231 'renderer/renderer_clipboard_client.h',
232 'renderer/renderer_main.cc',
233 'renderer/renderer_main_platform_delegate.h',
234 'renderer/renderer_main_platform_delegate_android.cc',
235 'renderer/renderer_main_platform_delegate_linux.cc',
236 'renderer/renderer_main_platform_delegate_mac.mm',
237 'renderer/renderer_main_platform_delegate_win.cc',
238 'renderer/renderer_webapplicationcachehost_impl.cc',
239 'renderer/renderer_webapplicationcachehost_impl.h',
240 'renderer/renderer_webcookiejar_impl.cc',
241 'renderer/renderer_webcookiejar_impl.h',
242 'renderer/renderer_webcolorchooser_impl.cc',
243 'renderer/renderer_webcolorchooser_impl.h',
244 'renderer/renderer_webkitplatformsupport_impl.cc',
245 'renderer/renderer_webkitplatformsupport_impl.h',
246 'renderer/rendering_benchmark.cc',
247 'renderer/rendering_benchmark.h',
248 'renderer/speech_recognition_dispatcher.cc',
249 'renderer/speech_recognition_dispatcher.h',
250 'renderer/text_input_client_observer.cc',
251 'renderer/text_input_client_observer.h',
252 'renderer/v8_value_converter_impl.cc',
253 'renderer/v8_value_converter_impl.h',
254 'renderer/web_intents_host.cc',
255 'renderer/web_intents_host.h',
256 'renderer/web_ui_bindings.cc',
257 'renderer/web_ui_bindings.h',
258 'renderer/webplugin_delegate_proxy.cc',
259 'renderer/webplugin_delegate_proxy.h',
260 'renderer/websharedworker_proxy.cc',
261 'renderer/websharedworker_proxy.h',
262 'renderer/websharedworkerrepository_impl.cc',
263 'renderer/websharedworkerrepository_impl.h',
266 ['notifications==0', {
268 'renderer/notification_provider.cc',
269 'renderer/active_notification_tracker.cc',
272 ['input_speech==0', {
274 'renderer/input_tag_speech_dispatcher.cc',
275 'renderer/input_tag_speech_dispatcher.h',
276 'renderer/speech_recognition_dispatcher.cc',
277 'renderer/speech_recognition_dispatcher.h',
280 ['toolkit_uses_gtk == 1', {
282 '../build/linux/system.gyp:gtk',
287 'common/process_watcher_posix.cc',
290 ['OS=="win" and win_use_allocator_shim==1', {
292 '../base/allocator/allocator.gyp:allocator',
297 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
300 # TODO(jrg): remove the OS=="android" section?
301 # http://crbug.com/113172
302 # Understand better how media_stream_ is tied into Chromium.
303 ['enable_webrtc==0 and OS=="android"', {
305 ['exclude', '^renderer/media/media_stream_'],
308 ['enable_webrtc==1', {
310 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection',
311 '../third_party/webrtc/modules/modules.gyp:video_capture_module',
312 '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:system_wrappers',
313 '../third_party/webrtc/video_engine/video_engine.gyp:video_engine_core',
314 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine_core',
317 'renderer/media/media_stream_center.cc',
318 'renderer/media/media_stream_dependency_factory.cc',
319 'renderer/media/media_stream_dispatcher.cc',
320 'renderer/media/media_stream_impl.cc',
321 'renderer/media/peer_connection_handler_base.cc',
322 'renderer/media/peer_connection_handler_base.h',
323 'renderer/media/peer_connection_handler_jsep.cc',
324 'renderer/media/peer_connection_handler_jsep.h',
325 'renderer/media/video_capture_module_impl.cc',
326 'renderer/media/video_capture_module_impl.h',
327 'renderer/media/webrtc_audio_device_impl.cc',
328 'renderer/media/webrtc_audio_device_impl.h',
329 'renderer/p2p/host_address_request.cc',
330 'renderer/p2p/host_address_request.h',
331 'renderer/p2p/ipc_network_manager.cc',
332 'renderer/p2p/ipc_network_manager.h',
333 'renderer/p2p/ipc_socket_factory.cc',
334 'renderer/p2p/ipc_socket_factory.h',
335 'renderer/p2p/port_allocator.cc',
336 'renderer/p2p/port_allocator.h',
337 'renderer/p2p/socket_client.cc',
338 'renderer/p2p/socket_client.h',
339 'renderer/p2p/socket_dispatcher.cc',
340 'renderer/p2p/socket_dispatcher.h',
345 'ENABLE_JAVA_BRIDGE',
349 'renderer/java/java_bridge_channel.cc',
350 'renderer/java/java_bridge_channel.h',
351 'renderer/java/java_bridge_dispatcher.cc',
352 'renderer/java/java_bridge_dispatcher.h',
356 'target_conditions': [
359 ['include', '^renderer/render_view_linux\\.cc$'],