Enable password generation only if sync for passwords is enabled.
[chromium-blink-merge.git] / content / content_browser.gypi
blob32bdc6570831005db8bd9d30670c4bb52cff7742
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     'browser/debugger/devtools_resources.gyp:devtools_resources',
8     '../base/base.gyp:base_static',
9     '../crypto/crypto.gyp:crypto',
10     '../net/net.gyp:http_server',
11     '../net/net.gyp:net',
12     '../ppapi/ppapi_internal.gyp:ppapi_proxy',
13     '../skia/skia.gyp:skia',
14     '../third_party/flac/flac.gyp:libflac',
15     '../third_party/speex/speex.gyp:libspeex',
16     '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
17     '../third_party/zlib/zlib.gyp:zlib',
18     '../ui/gfx/surface/surface.gyp:surface',
19     '../ui/ui.gyp:ui',
20     '../ui/ui.gyp:ui_resources',
21     '../webkit/support/webkit_support.gyp:dom_storage',
22     '../webkit/support/webkit_support.gyp:webkit_resources',
23     '../webkit/support/webkit_support.gyp:webkit_strings',
24   ],
25   'include_dirs': [
26     '..',
27     '<(INTERMEDIATE_DIR)',
28   ],
29   'sources': [
30     'port/browser/render_widget_host_view_port.h',
31     'public/browser/access_token_store.h',
32     'public/browser/browser_accessibility_state.h',
33     'public/browser/browser_child_process_host.h',
34     'public/browser/browser_child_process_host_delegate.cc',
35     'public/browser/browser_child_process_host_delegate.h',
36     'public/browser/browser_child_process_host_iterator.cc',
37     'public/browser/browser_child_process_host_iterator.h',
38     'public/browser/browser_context.h',
39     'public/browser/browser_main_parts.h',
40     'public/browser/browser_main_runner.h',
41     'public/browser/browser_message_filter.cc',
42     'public/browser/browser_message_filter.h',
43     'public/browser/browser_shutdown.h',
44     'public/browser/browser_url_handler.h',
45     'public/browser/browser_thread.h',
46     'public/browser/browser_thread_delegate.h',
47     'public/browser/cert_store.h',
48     'public/browser/child_process_data.h',
49     'public/browser/child_process_security_policy.h',
50     'public/browser/color_chooser.h',
51     'public/browser/content_browser_client.h',
52     'public/browser/content_ipc_logging.h',
53     'public/browser/devtools_agent_host_registry.h',
54     'public/browser/devtools_client_host.h',
55     'public/browser/download_danger_type.h',
56     'public/browser/download_id.h',
57     'public/browser/devtools_frontend_host_delegate.h',
58     'public/browser/devtools_http_handler.h',
59     'public/browser/devtools_http_handler_delegate.h',
60     'public/browser/devtools_manager.h',
61     'public/browser/dom_operation_notification_details.h',
62     'public/browser/dom_storage_context.h',
63     'public/browser/download_interrupt_reason_values.h',
64     'public/browser/download_interrupt_reasons.h',
65     'public/browser/download_item.h',
66     'public/browser/download_manager.h',
67     'public/browser/download_manager_delegate.cc',
68     'public/browser/download_manager_delegate.h',
69     'public/browser/download_persistent_store_info.cc',
70     'public/browser/download_persistent_store_info.h',
71     'public/browser/download_save_info.cc',
72     'public/browser/download_save_info.h',
73     'public/browser/favicon_status.cc',
74     'public/browser/favicon_status.h',
75     'public/browser/font_list_async.h',
76     'public/browser/geolocation_permission_context.h',
77     'public/browser/global_request_id.h',
78     'public/browser/gpu_data_manager.h',
79     'public/browser/gpu_data_manager_observer.h',
80     'public/browser/host_zoom_map.h',
81     'public/browser/indexed_db_context.h',
82     'public/browser/interstitial_page.h',
83     'public/browser/invalidate_type.h',
84     'public/browser/javascript_dialogs.h',
85     'public/browser/keyboard_listener.h',
86     'public/browser/load_notification_details.h',
87     'public/browser/native_web_keyboard_event.h',
88     'public/browser/navigation_controller.h',
89     'public/browser/navigation_details.cc',
90     'public/browser/navigation_details.h',
91     'public/browser/navigation_entry.h',
92     'public/browser/navigation_type.h',
93     'public/browser/notification_details.h',
94     'public/browser/notification_observer.h',
95     'public/browser/notification_registrar.cc',
96     'public/browser/notification_registrar.h',
97     'public/browser/notification_service.h',
98     'public/browser/notification_source.h',
99     'public/browser/notification_types.h',
100     'public/browser/page_navigator.cc',
101     'public/browser/page_navigator.h',
102     'public/browser/plugin_data_remover.h',
103     'public/browser/plugin_service_filter.h',
104     'public/browser/plugin_service.h',
105     'public/browser/profiler_controller.h',
106     'public/browser/profiler_subscriber.h',
107     'public/browser/quota_permission_context.h',
108     'public/browser/render_process_host.h',
109     'public/browser/render_process_host_factory.h',
110     'public/browser/render_view_host.h',
111     'public/browser/render_view_host_delegate.cc',
112     'public/browser/render_view_host_delegate.h',
113     'public/browser/render_view_host_observer.cc',
114     'public/browser/render_view_host_observer.h',
115     'public/browser/render_widget_host.h',
116     'public/browser/render_widget_host_view.h',
117     'public/browser/render_widget_host_view_mac_delegate.h',
118     'public/browser/resource_context.h',
119     'public/browser/resource_dispatcher_host.h',
120     'public/browser/resource_dispatcher_host_delegate.cc',
121     'public/browser/resource_dispatcher_host_delegate.h',
122     'public/browser/resource_dispatcher_host_login_delegate.h',
123     'public/browser/resource_request_details.cc',
124     'public/browser/resource_request_details.h',
125     'public/browser/resource_request_info.h',
126     'public/browser/resource_throttle.h',
127     'public/browser/resource_throttle_controller.h',
128     'public/browser/save_page_type.h',
129     'public/browser/sensors.h',
130     'public/browser/sensors_listener.h',
131     'public/browser/sensors_provider.h',
132     'public/browser/session_storage_namespace.h',
133     'public/browser/site_instance.h',
134     'public/browser/speech_recognition_event_listener.h',
135     'public/browser/speech_recognition_manager.h',
136     'public/browser/speech_recognition_manager_delegate.h',
137     'public/browser/speech_recognition_preferences.h',
138     'public/browser/speech_recognizer.h',
139     'public/browser/trace_controller.h',
140     'public/browser/trace_subscriber.h',
141     'public/browser/user_metrics.h',
142     'public/browser/utility_process_host.h',
143     'public/browser/web_contents.h',
144     'public/browser/web_contents_delegate.cc',
145     'public/browser/web_contents_delegate.h',
146     'public/browser/web_contents_observer.cc',
147     'public/browser/web_contents_observer.h',
148     'public/browser/web_contents_view.h',
149     'public/browser/web_contents_view_delegate.h',
150     'public/browser/web_drag_dest_delegate.h',
151     'public/browser/web_intents_dispatcher.h',
152     'public/browser/web_ui.h',
153     'public/browser/web_ui_controller.cc',
154     'public/browser/web_ui_controller.h',
155     'public/browser/web_ui_controller_factory.h',
156     'public/browser/web_ui_message_handler.h',
157     'public/browser/worker_service.h',
158     'public/browser/worker_service_observer.h',
159     'public/browser/zygote_host_linux.h',
160     'browser/accessibility/browser_accessibility.cc',
161     'browser/accessibility/browser_accessibility.h',
162     'browser/accessibility/browser_accessibility_cocoa.h',
163     'browser/accessibility/browser_accessibility_cocoa.mm',
164     'browser/accessibility/browser_accessibility_delegate_mac.h',
165     'browser/accessibility/browser_accessibility_mac.h',
166     'browser/accessibility/browser_accessibility_mac.mm',
167     'browser/accessibility/browser_accessibility_manager.cc',
168     'browser/accessibility/browser_accessibility_manager.h',
169     'browser/accessibility/browser_accessibility_manager_mac.h',
170     'browser/accessibility/browser_accessibility_manager_mac.mm',
171     'browser/accessibility/browser_accessibility_manager_win.cc',
172     'browser/accessibility/browser_accessibility_manager_win.h',
173     'browser/accessibility/browser_accessibility_state_impl.cc',
174     'browser/accessibility/browser_accessibility_state_impl.h',
175     'browser/accessibility/browser_accessibility_win.cc',
176     'browser/accessibility/browser_accessibility_win.h',
177     'browser/appcache/appcache_dispatcher_host.cc',
178     'browser/appcache/appcache_dispatcher_host.h',
179     'browser/appcache/appcache_frontend_proxy.cc',
180     'browser/appcache/appcache_frontend_proxy.h',
181     'browser/appcache/chrome_appcache_service.cc',
182     'browser/appcache/chrome_appcache_service.h',
183     'browser/browser_child_process_host_impl.cc',
184     'browser/browser_child_process_host_impl.h',
185     'browser/browser_context.cc',
186     'browser/browser_main.cc',
187     'browser/browser_main.h',
188     'browser/browser_main_loop.cc',
189     'browser/browser_main_loop.h',
190     'browser/browser_main_runner.cc',
191     'browser/browser_process_sub_thread.cc',
192     'browser/browser_process_sub_thread.h',
193     'browser/browser_thread_impl.cc',
194     'browser/browser_thread_impl.h',
195     'browser/browser_url_handler_impl.cc',
196     'browser/browser_url_handler_impl.h',
197     'browser/browsing_instance.cc',
198     'browser/browsing_instance.h',
199     'browser/cert_store_impl.cc',
200     'browser/cert_store_impl.h',
201     'browser/child_process_launcher.cc',
202     'browser/child_process_launcher.h',
203     'browser/child_process_security_policy_impl.cc',
204     'browser/child_process_security_policy_impl.h',
205     'browser/content_ipc_logging.cc',
206     'browser/cross_site_request_manager.cc',
207     'browser/cross_site_request_manager.h',
208     'browser/debugger/devtools_agent_host.cc',
209     'browser/debugger/devtools_agent_host.h',
210     'browser/debugger/devtools_frontend_host.cc',
211     'browser/debugger/devtools_frontend_host.h',
212     'browser/debugger/devtools_http_handler_impl.cc',
213     'browser/debugger/devtools_http_handler_impl.h',
214     'browser/debugger/devtools_manager_impl.cc',
215     'browser/debugger/devtools_manager_impl.h',
216     'browser/debugger/devtools_netlog_observer.cc',
217     'browser/debugger/devtools_netlog_observer.h',
218     'browser/debugger/render_view_devtools_agent_host.cc',
219     'browser/debugger/render_view_devtools_agent_host.h',
220     'browser/debugger/worker_devtools_manager.cc',
221     'browser/debugger/worker_devtools_manager.h',
222     'browser/debugger/worker_devtools_message_filter.cc',
223     'browser/debugger/worker_devtools_message_filter.h',
224     'browser/device_orientation/accelerometer_mac.cc',
225     'browser/device_orientation/accelerometer_mac.h',
226     'browser/device_orientation/data_fetcher.h',
227     'browser/device_orientation/message_filter.cc',
228     'browser/device_orientation/message_filter.h',
229     'browser/device_orientation/orientation.h',
230     'browser/device_orientation/provider.cc',
231     'browser/device_orientation/provider.h',
232     'browser/device_orientation/provider_impl.cc',
233     'browser/device_orientation/provider_impl.h',
234     'browser/dom_storage/dom_storage_context_impl_new.cc',
235     'browser/dom_storage/dom_storage_context_impl_new.h',
236     'browser/dom_storage/dom_storage_message_filter_new.cc',
237     'browser/dom_storage/dom_storage_message_filter_new.h',
238     'browser/dom_storage/session_storage_namespace_impl_new.cc',
239     'browser/dom_storage/session_storage_namespace_impl_new.h',
240     'browser/download/base_file.cc',
241     'browser/download/base_file.h',
242     'browser/download/download_buffer.cc',
243     'browser/download/download_buffer.h',
244     'browser/download/download_create_info.cc',
245     'browser/download/download_create_info.h',
246     'browser/download/download_file.h',
247     'browser/download/download_file_impl.cc',
248     'browser/download/download_file_impl.h',
249     'browser/download/download_file_manager.cc',
250     'browser/download/download_file_manager.h',
251     'browser/download/download_item_impl.cc',
252     'browser/download/download_item_impl.h',
253     'browser/download/download_manager_impl.cc',
254     'browser/download/download_manager_impl.h',
255     'browser/download/download_net_log_parameters.cc',
256     'browser/download/download_net_log_parameters.h',
257     'browser/download/download_request_handle.cc',
258     'browser/download/download_request_handle.h',
259     'browser/download/download_resource_handler.cc',
260     'browser/download/download_resource_handler.h',
261     'browser/download/download_state_info.cc',
262     'browser/download/download_state_info.h',
263     'browser/download/download_stats.cc',
264     'browser/download/download_stats.h',
265     'browser/download/drag_download_file.cc',
266     'browser/download/drag_download_file.h',
267     'browser/download/drag_download_util.cc',
268     'browser/download/drag_download_util.h',
269     'browser/download/download_interrupt_reasons_impl.cc',
270     'browser/download/download_interrupt_reasons_impl.h',
271     'browser/download/mhtml_generation_manager.cc',
272     'browser/download/mhtml_generation_manager.h',
273     'browser/download/save_file.cc',
274     'browser/download/save_file.h',
275     'browser/download/save_file_manager.cc',
276     'browser/download/save_file_manager.h',
277     'browser/download/save_file_resource_handler.cc',
278     'browser/download/save_file_resource_handler.h',
279     'browser/download/save_item.cc',
280     'browser/download/save_item.h',
281     'browser/download/save_package.cc',
282     'browser/download/save_package.h',
283     'browser/download/save_types.cc',
284     'browser/download/save_types.h',
285     'browser/fileapi/browser_file_system_helper.cc',
286     'browser/fileapi/browser_file_system_helper.h',
287     'browser/fileapi/chrome_blob_storage_context.cc',
288     'browser/fileapi/chrome_blob_storage_context.h',
289     'browser/fileapi/fileapi_message_filter.cc',
290     'browser/fileapi/fileapi_message_filter.h',
291     'browser/file_metadata_mac.h',
292     'browser/file_metadata_mac.mm',
293     'browser/font_list_async.cc',
294     'browser/gamepad/data_fetcher.h',
295     'browser/gamepad/gamepad_provider.cc',
296     'browser/gamepad/gamepad_provider.h',
297     'browser/gamepad/gamepad_service.cc',
298     'browser/gamepad/gamepad_service.h',
299     'browser/gamepad/gamepad_standard_mappings.h',
300     'browser/gamepad/gamepad_standard_mappings_linux.cc',
301     'browser/gamepad/gamepad_standard_mappings_mac.mm',
302     'browser/gamepad/platform_data_fetcher.h',
303     'browser/gamepad/platform_data_fetcher_linux.cc',
304     'browser/gamepad/platform_data_fetcher_linux.h',
305     'browser/gamepad/platform_data_fetcher_mac.h',
306     'browser/gamepad/platform_data_fetcher_mac.mm',
307     'browser/gamepad/platform_data_fetcher_win.cc',
308     'browser/gamepad/platform_data_fetcher_win.h',
309     'browser/geolocation/arbitrator_dependency_factory.cc',
310     'browser/geolocation/arbitrator_dependency_factory.h',
311     'browser/geolocation/core_location_data_provider_mac.h',
312     'browser/geolocation/core_location_data_provider_mac.mm',
313     'browser/geolocation/core_location_provider_mac.h',
314     'browser/geolocation/core_location_provider_mac.mm',
315     'browser/geolocation/device_data_provider.cc',
316     'browser/geolocation/device_data_provider.h',
317     'browser/geolocation/empty_device_data_provider.cc',
318     'browser/geolocation/empty_device_data_provider.h',
319     'browser/geolocation/geolocation_dispatcher_host.cc',
320     'browser/geolocation/geolocation_dispatcher_host.h',
321     'browser/geolocation/geolocation_observer.h',
322     'browser/geolocation/geolocation_provider.cc',
323     'browser/geolocation/geolocation_provider.h',
324     'browser/geolocation/gps_location_provider_linux.cc',
325     'browser/geolocation/gps_location_provider_linux.h',
326     'browser/geolocation/libgps_wrapper_linux.cc',
327     'browser/geolocation/libgps_wrapper_linux.h',
328     'browser/geolocation/location_arbitrator.cc',
329     'browser/geolocation/location_arbitrator.h',
330     'browser/geolocation/location_provider.cc',
331     'browser/geolocation/location_provider.h',
332     'browser/geolocation/network_location_provider.cc',
333     'browser/geolocation/network_location_provider.h',
334     'browser/geolocation/network_location_request.cc',
335     'browser/geolocation/network_location_request.h',
336     'browser/geolocation/osx_wifi.h',
337     'browser/geolocation/wifi_data_provider_common.cc',
338     'browser/geolocation/wifi_data_provider_common.h',
339     'browser/geolocation/wifi_data_provider_common_win.cc',
340     'browser/geolocation/wifi_data_provider_common_win.h',
341     'browser/geolocation/wifi_data_provider_corewlan_mac.mm',
342     'browser/geolocation/wifi_data_provider_linux.cc',
343     'browser/geolocation/wifi_data_provider_linux.h',
344     'browser/geolocation/wifi_data_provider_mac.cc',
345     'browser/geolocation/wifi_data_provider_mac.h',
346     'browser/geolocation/wifi_data_provider_win.cc',
347     'browser/geolocation/wifi_data_provider_win.h',
348     'browser/geolocation/win7_location_api_win.cc',
349     'browser/geolocation/win7_location_api_win.h',
350     'browser/geolocation/win7_location_provider_win.cc',
351     'browser/geolocation/win7_location_provider_win.h',
352     'browser/gpu/browser_gpu_channel_host_factory.cc',
353     'browser/gpu/browser_gpu_channel_host_factory.h',
354     'browser/gpu/gpu_data_manager_impl.cc',
355     'browser/gpu/gpu_data_manager_impl.h',
356     'browser/gpu/gpu_process_host.cc',
357     'browser/gpu/gpu_process_host.h',
358     'browser/gpu/gpu_process_host_ui_shim.cc',
359     'browser/gpu/gpu_process_host_ui_shim.h',
360     'browser/gpu/gpu_surface_tracker.cc',
361     'browser/gpu/gpu_surface_tracker.h',
362     'browser/host_zoom_map_impl.cc',
363     'browser/host_zoom_map_impl.h',
364     'browser/in_process_webkit/browser_webkitplatformsupport_impl.cc',
365     'browser/in_process_webkit/browser_webkitplatformsupport_impl.h',
366     'browser/in_process_webkit/dom_storage_area.cc',
367     'browser/in_process_webkit/dom_storage_area.h',
368     'browser/in_process_webkit/dom_storage_context_impl.cc',
369     'browser/in_process_webkit/dom_storage_context_impl.h',
370     'browser/in_process_webkit/dom_storage_message_filter.cc',
371     'browser/in_process_webkit/dom_storage_message_filter.h',
372     'browser/in_process_webkit/dom_storage_namespace.cc',
373     'browser/in_process_webkit/dom_storage_namespace.h',
374     'browser/in_process_webkit/indexed_db_callbacks.cc',
375     'browser/in_process_webkit/indexed_db_callbacks.h',
376     'browser/in_process_webkit/indexed_db_context_impl.cc',
377     'browser/in_process_webkit/indexed_db_context_impl.h',
378     'browser/in_process_webkit/indexed_db_database_callbacks.cc',
379     'browser/in_process_webkit/indexed_db_database_callbacks.h',
380     'browser/in_process_webkit/indexed_db_dispatcher_host.cc',
381     'browser/in_process_webkit/indexed_db_dispatcher_host.h',
382     'browser/in_process_webkit/indexed_db_key_utility_client.cc',
383     'browser/in_process_webkit/indexed_db_key_utility_client.h',
384     'browser/in_process_webkit/indexed_db_quota_client.cc',
385     'browser/in_process_webkit/indexed_db_quota_client.h',
386     'browser/in_process_webkit/indexed_db_transaction_callbacks.cc',
387     'browser/in_process_webkit/indexed_db_transaction_callbacks.h',
388     'browser/in_process_webkit/session_storage_namespace_impl.cc',
389     'browser/in_process_webkit/session_storage_namespace_impl.h',
390     'browser/in_process_webkit/webkit_thread.cc',
391     'browser/in_process_webkit/webkit_thread.h',
392     'browser/intents/intent_injector.cc',
393     'browser/intents/intent_injector.h',
394     'browser/intents/internal_web_intents_dispatcher.cc',
395     'browser/intents/internal_web_intents_dispatcher.h',
396     'browser/intents/web_intents_dispatcher_impl.cc',
397     'browser/intents/web_intents_dispatcher_impl.h',
398     'browser/load_from_memory_cache_details.cc',
399     'browser/load_from_memory_cache_details.h',
400     'browser/mach_broker_mac.cc',
401     'browser/mach_broker_mac.h',
402     'browser/media_device_notifications_linux.cc',
403     'browser/media_device_notifications_linux.h',
404     'browser/mime_registry_message_filter.cc',
405     'browser/mime_registry_message_filter.h',
406     'browser/net/browser_online_state_observer.cc',
407     'browser/net/browser_online_state_observer.h',
408     'browser/net/view_blob_internals_job_factory.cc',
409     'browser/net/view_blob_internals_job_factory.h',
410     'browser/net/view_http_cache_job_factory.cc',
411     'browser/net/view_http_cache_job_factory.h',
412     'browser/notification_service_impl.cc',
413     'browser/notification_service_impl.h',
414     'browser/plugin_data_remover_impl.cc',
415     'browser/plugin_data_remover_impl.h',
416     'browser/plugin_loader_posix.cc',
417     'browser/plugin_loader_posix.h',
418     'browser/plugin_process_host.cc',
419     'browser/plugin_process_host.h',
420     'browser/plugin_process_host_mac.cc',
421     'browser/plugin_service_impl.cc',
422     'browser/plugin_service_impl.h',
423     'browser/power_save_blocker.h',
424     'browser/power_save_blocker_android.cc',
425     'browser/power_save_blocker_common.cc',
426     'browser/power_save_blocker_linux.cc',
427     'browser/power_save_blocker_mac.cc',
428     'browser/power_save_blocker_win.cc',
429     'browser/ppapi_plugin_process_host.cc',
430     'browser/ppapi_plugin_process_host.h',
431     'browser/profiler_controller_impl.cc',
432     'browser/profiler_controller_impl.h',
433     'browser/profiler_message_filter.cc',
434     'browser/profiler_message_filter.h',
435     'browser/renderer_host/accelerated_plugin_view_mac.h',
436     'browser/renderer_host/accelerated_plugin_view_mac.mm',
437     'browser/renderer_host/accelerated_surface_container_mac.cc',
438     'browser/renderer_host/accelerated_surface_container_mac.h',
439     'browser/renderer_host/accelerated_surface_container_manager_mac.cc',
440     'browser/renderer_host/accelerated_surface_container_manager_mac.h',
441     'browser/renderer_host/async_resource_handler.cc',
442     'browser/renderer_host/async_resource_handler.h',
443     'browser/renderer_host/backing_store.cc',
444     'browser/renderer_host/backing_store.h',
445     'browser/renderer_host/backing_store_gtk.cc',
446     'browser/renderer_host/backing_store_gtk.h',
447     'browser/renderer_host/backing_store_mac.h',
448     'browser/renderer_host/backing_store_mac.mm',
449     'browser/renderer_host/backing_store_manager.cc',
450     'browser/renderer_host/backing_store_manager.h',
451     'browser/renderer_host/backing_store_skia.cc',
452     'browser/renderer_host/backing_store_skia.h',
453     'browser/renderer_host/backing_store_win.cc',
454     'browser/renderer_host/backing_store_win.h',
455     'browser/renderer_host/buffered_resource_handler.cc',
456     'browser/renderer_host/buffered_resource_handler.h',
457     'browser/renderer_host/clipboard_message_filter.cc',
458     'browser/renderer_host/clipboard_message_filter.h',
459     'browser/renderer_host/clipboard_message_filter_mac.mm',
460     'browser/renderer_host/cross_site_resource_handler.cc',
461     'browser/renderer_host/cross_site_resource_handler.h',
462     'browser/renderer_host/database_message_filter.cc',
463     'browser/renderer_host/database_message_filter.h',
464     'browser/renderer_host/doomed_resource_handler.cc',
465     'browser/renderer_host/doomed_resource_handler.h',
466     'browser/renderer_host/file_utilities_message_filter.cc',
467     'browser/renderer_host/file_utilities_message_filter.h',
468     'browser/renderer_host/gamepad_browser_message_filter.cc',
469     'browser/renderer_host/gamepad_browser_message_filter.h',
470     'browser/renderer_host/gpu_message_filter.cc',
471     'browser/renderer_host/gpu_message_filter.h',
472     'browser/renderer_host/gtk_im_context_wrapper.cc',
473     'browser/renderer_host/gtk_im_context_wrapper.h',
474     'browser/renderer_host/gtk_key_bindings_handler.cc',
475     'browser/renderer_host/gtk_key_bindings_handler.h',
476     'browser/renderer_host/gtk_window_utils.cc',
477     'browser/renderer_host/gtk_window_utils.h',
478     'browser/renderer_host/image_transport_client.cc',
479     'browser/renderer_host/image_transport_client.h',
480     'browser/renderer_host/image_transport_client_linux.cc',
481     'browser/renderer_host/image_transport_factory.cc',
482     'browser/renderer_host/image_transport_factory.h',
483     'browser/renderer_host/java/java_bound_object.cc',
484     'browser/renderer_host/java/java_bound_object.h',
485     'browser/renderer_host/java/java_bridge_channel_host.cc',
486     'browser/renderer_host/java/java_bridge_channel_host.h',
487     'browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc',
488     'browser/renderer_host/java/java_bridge_dispatcher_host_manager.h',
489     'browser/renderer_host/java/java_bridge_dispatcher_host.cc',
490     'browser/renderer_host/java/java_bridge_dispatcher_host.h',
491     'browser/renderer_host/java/java_method.cc',
492     'browser/renderer_host/java/java_method.h',
493     'browser/renderer_host/java/java_type.cc',
494     'browser/renderer_host/java/java_type.h',
495     'browser/renderer_host/layered_resource_handler.cc',
496     'browser/renderer_host/layered_resource_handler.h',
497     'browser/renderer_host/media/audio_input_device_manager.cc',
498     'browser/renderer_host/media/audio_input_device_manager.h',
499     'browser/renderer_host/media/audio_input_device_manager_event_handler.h',
500     'browser/renderer_host/media/audio_input_renderer_host.cc',
501     'browser/renderer_host/media/audio_input_renderer_host.h',
502     'browser/renderer_host/media/audio_input_sync_writer.cc',
503     'browser/renderer_host/media/audio_input_sync_writer.h',
504     'browser/renderer_host/media/audio_renderer_host.cc',
505     'browser/renderer_host/media/audio_renderer_host.h',
506     'browser/renderer_host/media/audio_sync_reader.cc',
507     'browser/renderer_host/media/audio_sync_reader.h',
508     'browser/renderer_host/media/media_stream_device_settings.cc',
509     'browser/renderer_host/media/media_stream_device_settings.h',
510     'browser/renderer_host/media/media_stream_dispatcher_host.cc',
511     'browser/renderer_host/media/media_stream_dispatcher_host.h',
512     'browser/renderer_host/media/media_stream_manager.cc',
513     'browser/renderer_host/media/media_stream_manager.h',
514     'browser/renderer_host/media/media_stream_provider.h',
515     'browser/renderer_host/media/media_stream_requester.h',
516     'browser/renderer_host/media/media_stream_settings_requester.h',
517     'browser/renderer_host/media/video_capture_controller.cc',
518     'browser/renderer_host/media/video_capture_controller.h',
519     'browser/renderer_host/media/video_capture_controller_event_handler.cc',
520     'browser/renderer_host/media/video_capture_controller_event_handler.h',
521     'browser/renderer_host/media/video_capture_host.cc',
522     'browser/renderer_host/media/video_capture_host.h',
523     'browser/renderer_host/media/video_capture_manager.cc',
524     'browser/renderer_host/media/video_capture_manager.h',
525     'browser/renderer_host/native_web_keyboard_event_android.cc',
526     'browser/renderer_host/native_web_keyboard_event_aura.cc',
527     'browser/renderer_host/native_web_keyboard_event_gtk.cc',
528     'browser/renderer_host/native_web_keyboard_event_mac.mm',
529     'browser/renderer_host/native_web_keyboard_event_win.cc',
530     'browser/renderer_host/pepper_file_message_filter.cc',
531     'browser/renderer_host/pepper_file_message_filter.h',
532     'browser/renderer_host/pepper_lookup_request.h',
533     'browser/renderer_host/pepper_message_filter.cc',
534     'browser/renderer_host/pepper_message_filter.h',
535     'browser/renderer_host/pepper_tcp_server_socket.cc',
536     'browser/renderer_host/pepper_tcp_server_socket.h',
537     'browser/renderer_host/pepper_tcp_socket.cc',
538     'browser/renderer_host/pepper_tcp_socket.h',
539     'browser/renderer_host/pepper_udp_socket.cc',
540     'browser/renderer_host/pepper_udp_socket.h',
541     'browser/renderer_host/quota_dispatcher_host.cc',
542     'browser/renderer_host/quota_dispatcher_host.h',
543     'browser/renderer_host/redirect_to_file_resource_handler.cc',
544     'browser/renderer_host/redirect_to_file_resource_handler.h',
545     'browser/renderer_host/render_message_filter.cc',
546     'browser/renderer_host/render_message_filter.h',
547     'browser/renderer_host/render_message_filter_win.cc',
548     'browser/renderer_host/render_process_host_impl.cc',
549     'browser/renderer_host/render_process_host_impl.h',
550     'browser/renderer_host/render_sandbox_host_linux.cc',
551     'browser/renderer_host/render_sandbox_host_linux.h',
552     'browser/renderer_host/render_view_host_factory.cc',
553     'browser/renderer_host/render_view_host_factory.h',
554     'browser/renderer_host/render_view_host_impl.cc',
555     'browser/renderer_host/render_view_host_impl.h',
556     'browser/renderer_host/render_widget_helper.cc',
557     'browser/renderer_host/render_widget_helper.h',
558     'browser/renderer_host/render_widget_host_gtk.cc',
559     'browser/renderer_host/render_widget_host_impl.cc',
560     'browser/renderer_host/render_widget_host_impl.h',
561     'browser/renderer_host/render_widget_host_mac.cc',
562     'browser/renderer_host/render_widget_host_view_base.cc',
563     'browser/renderer_host/render_widget_host_view_base.h',
564     'browser/renderer_host/render_widget_host_view_android.cc',
565     'browser/renderer_host/render_widget_host_view_aura.cc',
566     'browser/renderer_host/render_widget_host_view_aura.h',
567     'browser/renderer_host/render_widget_host_view_gtk.cc',
568     'browser/renderer_host/render_widget_host_view_gtk.h',
569     'browser/renderer_host/render_widget_host_view_mac.h',
570     'browser/renderer_host/render_widget_host_view_mac.mm',
571     'browser/renderer_host/render_widget_host_view_mac_editcommand_helper.h',
572     'browser/renderer_host/render_widget_host_view_mac_editcommand_helper.mm',
573     'browser/renderer_host/render_widget_host_view_win.cc',
574     'browser/renderer_host/render_widget_host_view_win.h',
575     'browser/renderer_host/resource_dispatcher_host_impl.cc',
576     'browser/renderer_host/resource_dispatcher_host_impl.h',
577     'browser/renderer_host/resource_handler.h',
578     'browser/renderer_host/resource_message_filter.cc',
579     'browser/renderer_host/resource_message_filter.h',
580     'browser/renderer_host/resource_request_info_impl.cc',
581     'browser/renderer_host/resource_request_info_impl.h',
582     'browser/renderer_host/socket_stream_dispatcher_host.cc',
583     'browser/renderer_host/socket_stream_dispatcher_host.h',
584     'browser/renderer_host/socket_stream_host.cc',
585     'browser/renderer_host/socket_stream_host.h',
586     'browser/renderer_host/sync_resource_handler.cc',
587     'browser/renderer_host/sync_resource_handler.h',
588     'browser/renderer_host/tap_suppression_controller.h',
589     'browser/renderer_host/tap_suppression_controller.cc',
590     'browser/renderer_host/tap_suppression_controller_aura.cc',
591     'browser/renderer_host/text_input_client_mac.h',
592     'browser/renderer_host/text_input_client_mac.mm',
593     'browser/renderer_host/text_input_client_message_filter.h',
594     'browser/renderer_host/text_input_client_message_filter.mm',
595     'browser/renderer_host/throttling_resource_handler.cc',
596     'browser/renderer_host/throttling_resource_handler.h',
597     'browser/renderer_host/web_input_event_aura.cc',
598     'browser/renderer_host/web_input_event_aura.h',
599     'browser/renderer_host/web_input_event_aurawin.cc',
600     'browser/renderer_host/web_input_event_aurax11.cc',
601     'browser/renderer_host/x509_user_cert_resource_handler.cc',
602     'browser/renderer_host/x509_user_cert_resource_handler.h',
603     'browser/resolve_proxy_msg_helper.cc',
604     'browser/resolve_proxy_msg_helper.h',
605     'browser/resource_context_impl.cc',
606     'browser/resource_context_impl.h',
607     'browser/safe_util_win.cc',
608     'browser/safe_util_win.h',
609     'browser/sensors/sensors_provider_impl.cc',
610     'browser/sensors/sensors_provider_impl.h',
611     'browser/site_instance_impl.cc',
612     'browser/site_instance_impl.h',
613     'browser/speech/audio_buffer.cc',
614     'browser/speech/audio_buffer.h',
615     'browser/speech/audio_encoder.cc',
616     'browser/speech/audio_encoder.h',
617     'browser/speech/endpointer/endpointer.cc',
618     'browser/speech/endpointer/endpointer.h',
619     'browser/speech/endpointer/energy_endpointer.cc',
620     'browser/speech/endpointer/energy_endpointer.h',
621     'browser/speech/endpointer/energy_endpointer_params.cc',
622     'browser/speech/endpointer/energy_endpointer_params.h',
623     'browser/speech/google_one_shot_remote_engine.cc',
624     'browser/speech/google_one_shot_remote_engine.h',
625     'browser/speech/input_tag_speech_dispatcher_host.cc',
626     'browser/speech/input_tag_speech_dispatcher_host.h',
627     'browser/speech/speech_recognition_engine.h',
628     'browser/speech/speech_recognition_manager_impl.cc',
629     'browser/speech/speech_recognition_manager_impl.h',
630     'browser/speech/speech_recognizer_impl.cc',
631     'browser/speech/speech_recognizer_impl.h',
632     'browser/ssl/ssl_cert_error_handler.cc',
633     'browser/ssl/ssl_cert_error_handler.h',
634     'browser/ssl/ssl_client_auth_handler.cc',
635     'browser/ssl/ssl_client_auth_handler.h',
636     'browser/ssl/ssl_error_handler.cc',
637     'browser/ssl/ssl_error_handler.h',
638     'browser/ssl/ssl_host_state.cc',
639     'browser/ssl/ssl_host_state.h',
640     'browser/ssl/ssl_manager.cc',
641     'browser/ssl/ssl_manager.h',
642     'browser/ssl/ssl_policy.cc',
643     'browser/ssl/ssl_policy.h',
644     'browser/ssl/ssl_policy_backend.cc',
645     'browser/ssl/ssl_policy_backend.h',
646     'browser/ssl/ssl_request_info.cc',
647     'browser/ssl/ssl_request_info.h',
648     'browser/system_message_window_win.cc',
649     'browser/system_message_window_win.h',
650     'browser/tab_contents/drag_utils_gtk.cc',
651     'browser/tab_contents/drag_utils_gtk.h',
652     'browser/tab_contents/debug_urls.cc',
653     'browser/tab_contents/debug_urls.h',
654     'browser/tab_contents/interstitial_page_impl.cc',
655     'browser/tab_contents/interstitial_page_impl.h',
656     'browser/tab_contents/navigation_controller_impl.cc',
657     'browser/tab_contents/navigation_controller_impl.h',
658     'browser/tab_contents/navigation_entry_impl.cc',
659     'browser/tab_contents/navigation_entry_impl.h',
660     'browser/tab_contents/popup_menu_helper_mac.h',
661     'browser/tab_contents/popup_menu_helper_mac.mm',
662     'browser/tab_contents/render_view_host_manager.cc',
663     'browser/tab_contents/render_view_host_manager.h',
664     'browser/tab_contents/tab_contents.cc',
665     'browser/tab_contents/tab_contents.h',
666     'browser/tab_contents/tab_contents_view_aura.cc',
667     'browser/tab_contents/tab_contents_view_gtk.cc',
668     'browser/tab_contents/tab_contents_view_gtk.h',
669     'browser/tab_contents/tab_contents_view_helper.cc',
670     'browser/tab_contents/tab_contents_view_helper.h',
671     'browser/tab_contents/tab_contents_view_win.cc',
672     'browser/tab_contents/tab_contents_view_win.h',
673     'browser/tab_contents/web_contents_drag_win.cc',
674     'browser/tab_contents/web_contents_drag_win.h',
675     'browser/tab_contents/web_contents_view_android.cc',
676     'browser/tab_contents/web_contents_view_android.h',
677     'browser/tab_contents/web_contents_view_mac.h',
678     'browser/tab_contents/web_contents_view_mac.mm',
679     'browser/tab_contents/web_drag_dest_gtk.cc',
680     'browser/tab_contents/web_drag_dest_gtk.h',
681     'browser/tab_contents/web_drag_dest_mac.h',
682     'browser/tab_contents/web_drag_dest_mac.mm',
683     'browser/tab_contents/web_drag_dest_win.cc',
684     'browser/tab_contents/web_drag_dest_win.h',
685     'browser/tab_contents/web_drag_source_gtk.cc',
686     'browser/tab_contents/web_drag_source_gtk.h',
687     'browser/tab_contents/web_drag_source_mac.h',
688     'browser/tab_contents/web_drag_source_mac.mm',
689     'browser/tab_contents/web_drag_source_win.cc',
690     'browser/tab_contents/web_drag_source_win.h',
691     'browser/tab_contents/web_drag_utils_win.cc',
692     'browser/tab_contents/web_drag_utils_win.h',
693     'browser/trace_controller_impl.cc',
694     'browser/trace_controller_impl.h',
695     'browser/trace_message_filter.cc',
696     'browser/trace_message_filter.h',
697     'browser/trace_subscriber_stdio.cc',
698     'browser/trace_subscriber_stdio.h',
699     'browser/user_metrics.cc',
700     'browser/utility_process_host_impl.cc',
701     'browser/utility_process_host_impl.h',
702     'browser/webui/web_ui_impl.cc',
703     'browser/webui/web_ui_impl.h',
704     'browser/webui/web_ui_message_handler.cc',
705     'browser/worker_host/message_port_service.cc',
706     'browser/worker_host/message_port_service.h',
707     'browser/worker_host/worker_document_set.cc',
708     'browser/worker_host/worker_document_set.h',
709     'browser/worker_host/worker_message_filter.cc',
710     'browser/worker_host/worker_message_filter.h',
711     'browser/worker_host/worker_process_host.cc',
712     'browser/worker_host/worker_process_host.h',
713     'browser/worker_host/worker_service_impl.cc',
714     'browser/worker_host/worker_service_impl.h',
715     'browser/zygote_host_impl_linux.cc',
716     'browser/zygote_host_impl_linux.h',
717     'browser/zygote_main_linux.cc',
718     # TODO:  These should be moved to test_support (see below), but
719     # are currently used by production code in automation_provider.cc.
720     'test/net/url_request_failed_job.cc',
721     'test/net/url_request_failed_job.h',
722     'test/net/url_request_mock_http_job.cc',
723     'test/net/url_request_mock_http_job.h',
724     'test/net/url_request_slow_download_job.cc',
725     'test/net/url_request_slow_download_job.h',
726     'test/net/url_request_slow_http_job.cc',
727     'test/net/url_request_slow_http_job.h',
728     '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/devtools_resources.h',
729     '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/devtools_resources_map.cc',
730     '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/devtools_resources_map.h',
731   ],
732   'conditions': [
733     ['OS!="win" and OS!="mac" and OS!="linux"', {
734       'sources': [
735         'browser/gamepad/platform_data_fetcher.cc',
736       ]
737     }],
738     ['p2p_apis==1', {
739       'sources': [
740         'browser/renderer_host/p2p/socket_host.cc',
741         'browser/renderer_host/p2p/socket_host.h',
742         'browser/renderer_host/p2p/socket_host_tcp.cc',
743         'browser/renderer_host/p2p/socket_host_tcp.h',
744         'browser/renderer_host/p2p/socket_host_tcp_server.cc',
745         'browser/renderer_host/p2p/socket_host_tcp_server.h',
746         'browser/renderer_host/p2p/socket_host_udp.cc',
747         'browser/renderer_host/p2p/socket_host_udp.h',
748         'browser/renderer_host/p2p/socket_dispatcher_host.cc',
749         'browser/renderer_host/p2p/socket_dispatcher_host.h',
750       ],
751     }],
752     ['OS=="win"', {
753       'dependencies': [
754         # For accessibility
755         '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
756         '../third_party/isimpledom/isimpledom.gyp:isimpledom',
757       ],
758       'link_settings': {
759         'libraries': [
760           '-lcomctl32.lib',
761           '-llocationapi.lib',
762           '-lsensorsapi.lib',
763         ],
764         'msvs_settings': {
765           'VCLinkerTool': {
766             'DelayLoadDLLs': [
767               'user32.dll',
768               'xinput1_3.dll',
769             ],
770           },
771         },
772       },
773     }],
774     ['toolkit_uses_gtk == 1', {
775       'dependencies': [
776         '../build/linux/system.gyp:dbus',
777         # For FcLangSetAdd call in render_sandbox_host_linux.cc
778         '../build/linux/system.gyp:fontconfig',
779         '../build/linux/system.gyp:gtk',
780         # For XShm* in backing_store_x.cc
781         '../build/linux/system.gyp:x11',
782         '../dbus/dbus.gyp:dbus',
783       ],
784     }],
785     ['OS=="linux"', {
786       'dependencies': [
787         '../build/linux/system.gyp:udev',
788       ],
789       # Set LINUX_SANDBOX_PATH for Linux, including Chrome OS
790       'conditions': [
791         ['linux_sandbox_path != ""', {
792           'defines': [
793             'LINUX_SANDBOX_PATH="<(linux_sandbox_path)"',
794           ],
795         }],
796       ],
797     }],
798     ['OS=="linux" and use_aura==1', {
799       'dependencies': [
800         '../build/linux/system.gyp:dbus',
801         '../build/linux/system.gyp:fontconfig',
802         '../build/linux/system.gyp:x11',
803         '../dbus/dbus.gyp:dbus',
804       ],
805     }],
806     ['OS=="android"', {
807       'sources!': [
808         # A main loop would be handled in Java.
809         'browser/browser_main_loop.cc',
810         'browser/browser_main_loop.h',
811       ],
812       'dependencies!': [
813         '../third_party/flac/flac.gyp:libflac',
814       ]}],
815     ['OS=="mac"', {
816       'sources': [
817         # Build necessary Mozilla sources
818         '../third_party/mozilla/ComplexTextInputPanel.h',
819         '../third_party/mozilla/ComplexTextInputPanel.mm',
820         '../third_party/mozilla/NSPasteboard+Utils.h',
821         '../third_party/mozilla/NSPasteboard+Utils.mm',
822         '../third_party/mozilla/NSString+Utils.h',
823         '../third_party/mozilla/NSString+Utils.mm',
824         '../third_party/mozilla/NSURL+Utils.h',
825         '../third_party/mozilla/NSURL+Utils.m',
826       ],
827       'dependencies': [
828         '../base/base.gyp:closure_blocks_leopard_compat',
829         '../third_party/sudden_motion_sensor/sudden_motion_sensor.gyp:sudden_motion_sensor',
830       ],
831     }, { # OS!="mac"
832       'dependencies': [
833         '../sandbox/sandbox.gyp:sandbox',
834       ],
835     }],
836     ['chromeos==1', {
837       'dependencies': [
838         '../build/linux/system.gyp:dbus-glib',
839       ],
840       'sources!': [
841         'browser/renderer_host/gtk_key_bindings_handler.cc',
842         'browser/renderer_host/gtk_key_bindings_handler.h',
843       ],
844     }],
845     ['os_bsd==1', {
846       'sources/': [
847         ['exclude', '^browser/gamepad/platform_data_fetcher_linux\\.cc$'],
848         ['exclude', '^browser/geolocation/wifi_data_provider_linux\\.cc$'],
849       ],
850     }],
851     ['use_aura==1', {
852       'dependencies': [
853         '../ui/aura/aura.gyp:aura',
854         '../ui/gfx/compositor/compositor.gyp:compositor',
855       ],
856       'sources/': [
857         ['exclude', '^browser/accessibility/browser_accessibility_manager_win.cc'],
858         ['exclude', '^browser/accessibility/browser_accessibility_manager_win.h'],
859         ['exclude', '^browser/accessibility/browser_accessibility_win.cc'],
860         ['exclude', '^browser/accessibility/browser_accessibility_win.h'],
861         ['exclude', '^browser/renderer_host/gtk_im_context_wrapper.cc'],
862         ['exclude', '^browser/renderer_host/gtk_im_context_wrapper.h'],
863         ['exclude', '^browser/renderer_host/native_web_keyboard_event_win.cc'],
864         ['exclude', '^browser/renderer_host/render_widget_host.h'],
865         ['exclude', '^browser/renderer_host/render_widget_host_view_win.cc'],
866         ['exclude', '^browser/renderer_host/render_widget_host_view_win.h'],
867         ['exclude', '^browser/renderer_host/render_message_filter_win.cc'],
868         ['exclude', '^browser/renderer_host/tap_suppression_controller.cc'],
869         ['exclude', '^browser/tab_contents/tab_contents_view_win.cc'],
870         ['exclude', '^browser/tab_contents/tab_contents_view_win.h'],
871         ['exclude', '^browser/tab_contents/web_contents_drag_win.cc'],
872         ['exclude', '^browser/tab_contents/web_contents_drag_win.h'],
873         ['exclude', '^browser/tab_contents/web_drag_dest_win.cc'],
874         ['exclude', '^browser/tab_contents/web_drag_dest_win.h'],
875         ['exclude', '^browser/tab_contents/web_drag_source_win.cc'],
876         ['exclude', '^browser/tab_contents/web_drag_source_win.h'],
877       ],
878     }, {
879       'sources/': [
880         ['exclude', '^browser/renderer_host/image_transport_client.cc'],
881         ['exclude', '^browser/renderer_host/image_transport_client.h'],
882         ['exclude', '^browser/renderer_host/image_transport_factory.cc'],
883         ['exclude', '^browser/renderer_host/image_transport_factory.h'],
884         ['exclude', '^browser/renderer_host/render_widget_host_view_aura.cc'],
885         ['exclude', '^browser/renderer_host/render_widget_host_view_aura.h'],
886         ['exclude', '^browser/renderer_host/tap_suppression_controller_aura.cc'],
887       ],
888     }],
889     ['ui_compositor_image_transport==1', {
890       'dependencies': [
891         '../ui/gfx/gl/gl.gyp:gl',
892       ],
893       'link_settings': {
894         'libraries': [
895           '-lXcomposite',
896         ],
897       },
898       'include_dirs': [
899         '../third_party/angle/include',
900       ],
901     }, {
902       'sources/': [
903         ['exclude', '^browser/renderer_host/image_transport_client_linux.cc'],
904       ],
905     }],
906     ['java_bridge==1', {
907       'defines': [
908         'ENABLE_JAVA_BRIDGE',
909       ],
910     }, {
911       'sources/': [
912         ['exclude', '^browser/renderer_host/java/'],
913       ],
914     }],
915     ['input_speech==0', {
916       'sources/': [
917         ['exclude', '^browser/speech/'],
918       ],
919     }],
920   ],