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