srpcgen: Use 'const char*' for string parameters
[chromium-blink-merge.git] / content / content_renderer.gypi
blob97f4afd96caeeb6d982eefb35be9565446cb6e80
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.
6   'dependencies': [
7     '../jingle/jingle.gyp:jingle_glue',
8     '../net/net.gyp:net',
9     '../ppapi/ppapi_internal.gyp:ppapi_proxy',
10     '../ppapi/ppapi_internal.gyp:ppapi_shared',
11     '../skia/skia.gyp:skia',
12     '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
13     '../third_party/icu/icu.gyp:icuuc',
14     '../third_party/icu/icu.gyp:icui18n',
15     '../third_party/libjingle/libjingle.gyp:libjingle',
16     '../third_party/libjingle/libjingle.gyp:libjingle_p2p',
17     '../third_party/npapi/npapi.gyp:npapi',
18     '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
19     '../ui/gfx/surface/surface.gyp:surface',
20     '../v8/tools/gyp/v8.gyp:v8',
21     '../webkit/support/webkit_support.gyp:webkit_media',
22     '../webkit/support/webkit_support.gyp:webkit_gpu',
23   ],
24   'include_dirs': [
25     '..',
26   ],
27   'sources': [
28     'public/renderer/content_renderer_client.h',
29     'public/renderer/document_state.cc',
30     'public/renderer/document_state.h',
31     'public/renderer/navigation_state.cc',
32     'public/renderer/navigation_state.h',
33     'public/renderer/render_process_observer.cc',
34     'public/renderer/render_process_observer.h',
35     'public/renderer/render_thread.cc',
36     'public/renderer/render_thread.h',
37     'public/renderer/render_view.h',
38     'public/renderer/render_view_observer.cc',
39     'public/renderer/render_view_observer.h',
40     'public/renderer/render_view_observer_tracker.h',
41     'public/renderer/render_view_visitor.h',
42     'public/renderer/v8_value_converter.h',
43     'renderer/active_notification_tracker.cc',
44     'renderer/active_notification_tracker.h',
45     'renderer/device_orientation_dispatcher.cc',
46     'renderer/device_orientation_dispatcher.h',
47     'renderer/devtools_agent.cc',
48     'renderer/devtools_agent.h',
49     'renderer/devtools_agent_filter.cc',
50     'renderer/devtools_agent_filter.h',
51     'renderer/devtools_client.cc',
52     'renderer/devtools_client.h',
53     'renderer/external_popup_menu.cc',
54     'renderer/external_popup_menu.h',
55     'renderer/gamepad_shared_memory_reader.cc',
56     'renderer/gamepad_shared_memory_reader.h',
57     'renderer/geolocation_dispatcher.cc',
58     'renderer/geolocation_dispatcher.h',
59     'renderer/gpu/compositor_thread.cc',
60     'renderer/gpu/compositor_thread.h',
61     'renderer/gpu/input_event_filter.cc',
62     'renderer/gpu/input_event_filter.h',
63     'renderer/gpu/gpu_channel_host.cc',
64     'renderer/gpu/gpu_channel_host.h',
65     'renderer/gpu/gpu_video_decode_accelerator_host.cc',
66     'renderer/gpu/gpu_video_decode_accelerator_host.h',
67     'renderer/gpu/renderer_gl_context.cc',
68     'renderer/gpu/renderer_gl_context.h',
69     'renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc',
70     'renderer/gpu/webgraphicscontext3d_command_buffer_impl.h',
71     'renderer/idle_user_detector.cc',
72     'renderer/idle_user_detector.h',
73     'renderer/indexed_db/indexed_db_dispatcher.cc',
74     'renderer/indexed_db/indexed_db_dispatcher.h',
75     'renderer/indexed_db/indexed_db_message_filter.cc',
76     'renderer/indexed_db/indexed_db_message_filter.h',
77     'renderer/indexed_db/renderer_webidbcursor_impl.cc',
78     'renderer/indexed_db/renderer_webidbcursor_impl.h',
79     'renderer/indexed_db/renderer_webidbdatabase_impl.cc',
80     'renderer/indexed_db/renderer_webidbdatabase_impl.h',
81     'renderer/indexed_db/renderer_webidbfactory_impl.cc',
82     'renderer/indexed_db/renderer_webidbfactory_impl.h',
83     'renderer/indexed_db/renderer_webidbindex_impl.cc',
84     'renderer/indexed_db/renderer_webidbindex_impl.h',
85     'renderer/indexed_db/renderer_webidbobjectstore_impl.cc',
86     'renderer/indexed_db/renderer_webidbobjectstore_impl.h',
87     'renderer/indexed_db/renderer_webidbtransaction_impl.cc',
88     'renderer/indexed_db/renderer_webidbtransaction_impl.h',
89     'renderer/web_intents_host.cc',
90     'renderer/web_intents_host.h',
91     'renderer/java/java_bridge_channel.cc',
92     'renderer/java/java_bridge_channel.h',
93     'renderer/java/java_bridge_dispatcher.cc',
94     'renderer/java/java_bridge_dispatcher.h',
95     'renderer/load_progress_tracker.cc',
96     'renderer/load_progress_tracker.h',
97     'renderer/media/audio_device.cc',
98     'renderer/media/audio_device.h',
99     'renderer/media/audio_hardware.cc',
100     'renderer/media/audio_hardware.h',
101     'renderer/media/audio_input_device.cc',
102     'renderer/media/audio_input_device.h',
103     'renderer/media/audio_input_message_filter.cc',
104     'renderer/media/audio_input_message_filter.h',
105     'renderer/media/audio_message_filter.cc',
106     'renderer/media/audio_message_filter.h',
107     'renderer/media/audio_renderer_impl.cc',
108     'renderer/media/audio_renderer_impl.h',
109     'renderer/media/capture_video_decoder.cc',
110     'renderer/media/capture_video_decoder.h',
111     'renderer/media/media_stream_dispatcher.cc',
112     'renderer/media/media_stream_dispatcher.h',
113     'renderer/media/media_stream_dispatcher_eventhandler.h',
114     'renderer/media/media_stream_impl.cc',
115     'renderer/media/media_stream_impl.h',
116     'renderer/media/render_media_log.cc',
117     'renderer/media/render_media_log.h',
118     'renderer/media/rtc_video_decoder.cc',
119     'renderer/media/rtc_video_decoder.h',
120     'renderer/media/video_capture_impl.cc',
121     'renderer/media/video_capture_impl.h',
122     'renderer/media/video_capture_impl_manager.cc',
123     'renderer/media/video_capture_impl_manager.h',
124     'renderer/media/video_capture_message_filter.cc',
125     'renderer/media/video_capture_message_filter.h',
126     'renderer/mhtml_generator.cc',
127     'renderer/mhtml_generator.h',
128     'renderer/notification_provider.cc',
129     'renderer/notification_provider.h',
130     'renderer/paint_aggregator.cc',
131     'renderer/paint_aggregator.h',
132     'renderer/pepper_parent_context_provider.cc',
133     'renderer/pepper_parent_context_provider.h',
134     'renderer/pepper_platform_context_3d_impl.cc',
135     'renderer/pepper_platform_context_3d_impl.h',
136     'renderer/pepper_platform_video_decoder_impl.cc',
137     'renderer/pepper_platform_video_decoder_impl.h',
138     'renderer/pepper_plugin_delegate_impl.cc',
139     'renderer/pepper_plugin_delegate_impl.h',
140     'renderer/plugin_channel_host.cc',
141     'renderer/plugin_channel_host.h',
142     'renderer/render_process.h',
143     'renderer/render_process_impl.cc',
144     'renderer/render_process_impl.h',
145     'renderer/render_thread_impl.cc',
146     'renderer/render_thread_impl.h',
147     'renderer/render_view_impl.cc',
148     'renderer/render_view_impl.h',
149     'renderer/render_view_linux.cc',
150     'renderer/render_view_selection.cc',
151     'renderer/render_view_selection.h',
152     'renderer/render_widget.cc',
153     'renderer/render_widget.h',
154     'renderer/render_widget_fullscreen.cc',
155     'renderer/render_widget_fullscreen.h',
156     'renderer/render_widget_fullscreen_pepper.cc',
157     'renderer/render_widget_fullscreen_pepper.h',
158     'renderer/renderer_accessibility.cc',
159     'renderer/renderer_accessibility.h',
160     'renderer/renderer_clipboard_client.cc',
161     'renderer/renderer_clipboard_client.h',
162     'renderer/renderer_gpu_video_decoder_factories.cc',
163     'renderer/renderer_gpu_video_decoder_factories.h',
164     'renderer/renderer_main.cc',
165     'renderer/renderer_main_platform_delegate.h',
166     'renderer/renderer_main_platform_delegate_linux.cc',
167     'renderer/renderer_main_platform_delegate_mac.mm',
168     'renderer/renderer_main_platform_delegate_win.cc',
169     'renderer/renderer_webapplicationcachehost_impl.cc',
170     'renderer/renderer_webapplicationcachehost_impl.h',
171     'renderer/renderer_webaudiodevice_impl.cc',
172     'renderer/renderer_webaudiodevice_impl.h',
173     'renderer/renderer_webcookiejar_impl.cc',
174     'renderer/renderer_webcookiejar_impl.h',
175     'renderer/renderer_webkitplatformsupport_impl.cc',
176     'renderer/renderer_webkitplatformsupport_impl.h',
177     'renderer/renderer_webstoragearea_impl.cc',
178     'renderer/renderer_webstoragearea_impl.h',
179     'renderer/renderer_webstoragenamespace_impl.cc',
180     'renderer/renderer_webstoragenamespace_impl.h',
181     'renderer/speech_input_dispatcher.cc',
182     'renderer/speech_input_dispatcher.h',
183     'renderer/text_input_client_observer.cc',
184     'renderer/text_input_client_observer.h',
185     'renderer/v8_value_converter_impl.cc',
186     'renderer/v8_value_converter_impl.h',
187     'renderer/webplugin_delegate_proxy.cc',
188     'renderer/webplugin_delegate_proxy.h',
189     'renderer/websharedworker_proxy.cc',
190     'renderer/websharedworker_proxy.h',
191     'renderer/websharedworkerrepository_impl.cc',
192     'renderer/websharedworkerrepository_impl.h',
193     'renderer/web_ui_bindings.cc',
194     'renderer/web_ui_bindings.h',
195   ],
196   'conditions': [
197     ['p2p_apis==1', {
198       'sources': [
199         'renderer/p2p/host_address_request.cc',
200         'renderer/p2p/host_address_request.h',
201         'renderer/p2p/ipc_network_manager.cc',
202         'renderer/p2p/ipc_network_manager.h',
203         'renderer/p2p/ipc_socket_factory.cc',
204         'renderer/p2p/ipc_socket_factory.h',
205         'renderer/p2p/p2p_transport_impl.cc',
206         'renderer/p2p/p2p_transport_impl.h',
207         'renderer/p2p/port_allocator.cc',
208         'renderer/p2p/port_allocator.h',
209         'renderer/p2p/socket_client.cc',
210         'renderer/p2p/socket_client.h',
211         'renderer/p2p/socket_dispatcher.cc',
212         'renderer/p2p/socket_dispatcher.h',
213       ],
214     }],
215     ['enable_gpu==1', {
216       'dependencies': [
217         '../gpu/gpu.gyp:gles2_c_lib',
218       ],
219       'sources': [
220         'renderer/gpu/command_buffer_proxy.cc',
221         'renderer/gpu/command_buffer_proxy.h',
222       ],
223     }],
224     ['toolkit_uses_gtk == 1', {
225       'conditions': [
226         [ 'linux_use_tcmalloc==1', {
227           'dependencies': [
228               '../base/allocator/allocator.gyp:allocator',
229           ],
230         }],
231         ['input_speech==0', {
232           'sources!': [
233             'renderer/speech_input_dispatcher.cc',
234             'renderer/speech_input_dispatcher.h',
235           ]
236         }],
237         ['notifications==0', {
238           'sources!': [
239             'renderer/notification_provider.cc',
240             'renderer/active_notification_tracker.cc',
241           ],
242         }],
243       ],
244       'dependencies': [
245         '../build/linux/system.gyp:gtk',
246       ],
247     }],
248     ['OS=="mac"', {
249       'sources!': [
250         'common/process_watcher_posix.cc',
251       ],
252     }],
253     ['OS=="win" and win_use_allocator_shim==1', {
254       'dependencies': [
255           '../base/allocator/allocator.gyp:allocator',
256       ],
257     }],
258     ['enable_webrtc==1', {
259       'dependencies': [
260         '../third_party/webrtc/modules/modules.gyp:video_capture_module',
261         '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:system_wrappers',
262         '../third_party/webrtc/video_engine/video_engine.gyp:video_engine_core',
263         '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine_core',
264       ],
265       'sources': [
266         'renderer/media/video_capture_module_impl.cc',
267         'renderer/media/video_capture_module_impl.h',
268         'renderer/media/webrtc_audio_device_impl.cc',
269         'renderer/media/webrtc_audio_device_impl.h',
270       ],
271     }],
272     ['java_bridge==1', {
273       'defines': [
274         'ENABLE_JAVA_BRIDGE',
275       ],
276     }, {
277       'sources!': [
278         'renderer/java/java_bridge_channel.cc',
279         'renderer/java/java_bridge_channel.h',
280         'renderer/java/java_bridge_dispatcher.cc',
281         'renderer/java/java_bridge_dispatcher.h',
282       ],
283     }],
284   ],