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