Fix the use of SocketDataProviders in HttpNetworkTransactionTest.GenerateAuthToken
[chromium-blink-merge.git] / content / content_child.gypi
blobe32039d896ce6509388c3d9d34252297ab293701
1 # Copyright 2013 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     '../base/base.gyp:base',
8     '../components/mime_util/mime_util.gyp:mime_util',
9     '../components/tracing.gyp:tracing',
10     '../components/webcrypto/webcrypto.gyp:webcrypto',
11     '../mojo/mojo_base.gyp:mojo_environment_chromium',
12     '../mojo/mojo_base.gyp:mojo_common_lib',
13     '../skia/skia.gyp:skia',
14     '../ui/base/ui_base.gyp:ui_base',
15     '../ui/events/events.gyp:gestures_blink',
16     '../ui/gfx/gfx.gyp:gfx',
17     '../ui/gfx/gfx.gyp:gfx_geometry',
18     '../url/url.gyp:url_lib',
19     'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
20   ],
21   'include_dirs': [
22     '..',
23   ],
24   'export_dependent_settings': [
25     '../base/base.gyp:base',
26   ],
27   'variables': {
28     'public_child_sources': [
29       'public/child/child_thread.h',
30       'public/child/image_decoder_utils.h',
31       'public/child/request_peer.h',
32       'public/child/resource_dispatcher_delegate.h',
33       'public/child/v8_value_converter.h',
34     ],
35     'private_child_sources': [
36       'child/appcache/appcache_backend_proxy.cc',
37       'child/appcache/appcache_backend_proxy.h',
38       'child/appcache/appcache_dispatcher.cc',
39       'child/appcache/appcache_dispatcher.h',
40       'child/appcache/appcache_frontend_impl.cc',
41       'child/appcache/appcache_frontend_impl.h',
42       'child/appcache/web_application_cache_host_impl.cc',
43       'child/appcache/web_application_cache_host_impl.h',
44       'child/assert_matching_enums.cc',
45       'child/background_sync/background_sync_provider_thread_proxy.cc',
46       'child/background_sync/background_sync_provider_thread_proxy.h',
47       'child/background_sync/background_sync_provider.cc',
48       'child/background_sync/background_sync_provider.h',
49       'child/background_sync/background_sync_type_converters.cc',
50       'child/background_sync/background_sync_type_converters.h',
51       'child/blink_platform_impl.cc',
52       'child/blink_platform_impl.h',
53       'child/bluetooth/bluetooth_dispatcher.cc',
54       'child/bluetooth/bluetooth_dispatcher.h',
55       'child/bluetooth/bluetooth_message_filter.cc',
56       'child/bluetooth/bluetooth_message_filter.h',
57       'child/bluetooth/web_bluetooth_impl.cc',
58       'child/bluetooth/web_bluetooth_impl.h',
59       'child/browser_font_resource_trusted.cc',
60       'child/browser_font_resource_trusted.h',
61       'child/child_discardable_shared_memory_manager.cc',
62       'child/child_discardable_shared_memory_manager.h',
63       'child/child_gpu_memory_buffer_manager.cc',
64       'child/child_gpu_memory_buffer_manager.h',
65       'child/child_histogram_message_filter.cc',
66       'child/child_histogram_message_filter.h',
67       'child/child_message_filter.cc',
68       'child/child_message_filter.h',
69       'child/child_process.cc',
70       'child/child_process.h',
71       'child/child_resource_message_filter.cc',
72       'child/child_resource_message_filter.h',
73       'child/child_shared_bitmap_manager.cc',
74       'child/child_shared_bitmap_manager.h',
75       'child/child_thread_impl.cc',
76       'child/child_thread_impl.h',
77       'child/content_child_helpers.cc',
78       'child/content_child_helpers.h',
79       'child/database_util.cc',
80       'child/database_util.h',
81       'child/db_message_filter.cc',
82       'child/db_message_filter.h',
83       'child/file_info_util.cc',
84       'child/file_info_util.h',
85       'child/fileapi/file_system_dispatcher.cc',
86       'child/fileapi/file_system_dispatcher.h',
87       'child/fileapi/webfilesystem_impl.cc',
88       'child/fileapi/webfilesystem_impl.h',
89       'child/fileapi/webfilewriter_base.cc',
90       'child/fileapi/webfilewriter_base.h',
91       'child/fileapi/webfilewriter_impl.cc',
92       'child/fileapi/webfilewriter_impl.h',
93       'child/ftp_directory_listing_response_delegate.cc',
94       'child/ftp_directory_listing_response_delegate.h',
95       'child/geofencing/geofencing_dispatcher.cc',
96       'child/geofencing/geofencing_dispatcher.h',
97       'child/geofencing/geofencing_message_filter.cc',
98       'child/geofencing/geofencing_message_filter.h',
99       'child/geofencing/web_geofencing_provider_impl.cc',
100       'child/geofencing/web_geofencing_provider_impl.h',
101       'child/image_decoder.cc',
102       'child/image_decoder.h',
103       'child/indexed_db/indexed_db_dispatcher.cc',
104       'child/indexed_db/indexed_db_dispatcher.h',
105       'child/indexed_db/indexed_db_key_builders.cc',
106       'child/indexed_db/indexed_db_key_builders.h',
107       'child/indexed_db/indexed_db_message_filter.cc',
108       'child/indexed_db/indexed_db_message_filter.h',
109       'child/indexed_db/webidbcursor_impl.cc',
110       'child/indexed_db/webidbcursor_impl.h',
111       'child/indexed_db/webidbdatabase_impl.cc',
112       'child/indexed_db/webidbdatabase_impl.h',
113       'child/indexed_db/webidbfactory_impl.cc',
114       'child/indexed_db/webidbfactory_impl.h',
115       'child/mojo/mojo_application.cc',
116       'child/mojo/mojo_application.h',
117       'child/multipart_response_delegate.cc',
118       'child/multipart_response_delegate.h',
119       'child/navigator_connect/navigator_connect_dispatcher.cc',
120       'child/navigator_connect/navigator_connect_dispatcher.h',
121       'child/navigator_connect/navigator_connect_provider.cc',
122       'child/navigator_connect/navigator_connect_provider.h',
123       'child/notifications/notification_data_conversions.cc',
124       'child/notifications/notification_data_conversions.h',
125       'child/notifications/notification_dispatcher.cc',
126       'child/notifications/notification_dispatcher.h',
127       'child/notifications/notification_image_loader.cc',
128       'child/notifications/notification_image_loader.h',
129       'child/notifications/notification_manager.cc',
130       'child/notifications/notification_manager.h',
131       'child/notifications/pending_notifications_tracker.cc',
132       'child/notifications/pending_notifications_tracker.h',
133       'child/npapi/np_channel_base.cc',
134       'child/npapi/np_channel_base.h',
135       'child/npapi/npobject_base.h',
136       'child/npapi/npobject_proxy.cc',
137       'child/npapi/npobject_proxy.h',
138       'child/npapi/npobject_stub.cc',
139       'child/npapi/npobject_stub.h',
140       'child/npapi/npobject_util.cc',
141       'child/npapi/npobject_util.h',
142       'child/npapi/npruntime_util.cc',
143       'child/npapi/npruntime_util.h',
144       'child/npapi/plugin_host.cc',
145       'child/npapi/plugin_host.h',
146       'child/npapi/plugin_instance.cc',
147       'child/npapi/plugin_instance.h',
148       'child/npapi/plugin_instance_mac.mm',
149       'child/npapi/plugin_lib.cc',
150       'child/npapi/plugin_lib.h',
151       'child/npapi/plugin_stream.cc',
152       'child/npapi/plugin_stream.h',
153       'child/npapi/plugin_stream_posix.cc',
154       'child/npapi/plugin_stream_url.cc',
155       'child/npapi/plugin_stream_url.h',
156       'child/npapi/plugin_stream_win.cc',
157       'child/npapi/plugin_string_stream.cc',
158       'child/npapi/plugin_string_stream.h',
159       'child/npapi/plugin_url_fetcher.cc',
160       'child/npapi/plugin_url_fetcher.h',
161       'child/npapi/plugin_web_event_converter_mac.h',
162       'child/npapi/plugin_web_event_converter_mac.mm',
163       'child/npapi/webplugin.h',
164       'child/npapi/webplugin_accelerated_surface_mac.h',
165       'child/npapi/webplugin_delegate.h',
166       'child/npapi/webplugin_delegate_impl.cc',
167       'child/npapi/webplugin_delegate_impl.h',
168       'child/npapi/webplugin_delegate_impl_android.cc',
169       'child/npapi/webplugin_delegate_impl_aura.cc',
170       'child/npapi/webplugin_delegate_impl_mac.mm',
171       'child/npapi/webplugin_delegate_impl_win.cc',
172       'child/npapi/webplugin_ime_win.cc',
173       'child/npapi/webplugin_ime_win.h',
174       'child/npapi/webplugin_resource_client.h',
175       'child/permissions/permission_dispatcher.cc',
176       'child/permissions/permission_dispatcher.h',
177       'child/permissions/permission_dispatcher_thread_proxy.cc',
178       'child/permissions/permission_dispatcher_thread_proxy.h',
179       'child/permissions/permission_observers_registry.cc',
180       'child/permissions/permission_observers_registry.h',
181       'child/plugin_message_generator.cc',
182       'child/plugin_message_generator.h',
183       'child/plugin_messages.h',
184       'child/plugin_param_traits.cc',
185       'child/plugin_param_traits.h',
186       'child/power_monitor_broadcast_source.cc',
187       'child/power_monitor_broadcast_source.h',
188       'child/push_messaging/push_dispatcher.cc',
189       'child/push_messaging/push_dispatcher.h',
190       'child/push_messaging/push_provider.cc',
191       'child/push_messaging/push_provider.h',
192       'child/quota_dispatcher.cc',
193       'child/quota_dispatcher.h',
194       'child/quota_message_filter.cc',
195       'child/quota_message_filter.h',
196       'child/request_extra_data.cc',
197       'child/request_extra_data.h',
198       'child/request_info.cc',
199       'child/request_info.h',
200       'child/resource_dispatcher.cc',
201       'child/resource_dispatcher.h',
202       'child/resource_scheduling_filter.cc',
203       'child/resource_scheduling_filter.h',
204       'child/runtime_features.cc',
205       'child/runtime_features.h',
206       'child/scoped_child_process_reference.cc',
207       'child/scoped_child_process_reference.h',
208       'child/service_worker/service_worker_dispatcher.cc',
209       'child/service_worker/service_worker_dispatcher.h',
210       'child/service_worker/service_worker_handle_reference.cc',
211       'child/service_worker/service_worker_handle_reference.h',
212       'child/service_worker/service_worker_message_filter.cc',
213       'child/service_worker/service_worker_message_filter.h',
214       'child/service_worker/service_worker_network_provider.cc',
215       'child/service_worker/service_worker_network_provider.h',
216       'child/service_worker/service_worker_provider_context.cc',
217       'child/service_worker/service_worker_provider_context.h',
218       'child/service_worker/service_worker_registration_handle_reference.cc',
219       'child/service_worker/service_worker_registration_handle_reference.h',
220       'child/service_worker/web_service_worker_impl.cc',
221       'child/service_worker/web_service_worker_impl.h',
222       'child/service_worker/web_service_worker_provider_impl.cc',
223       'child/service_worker/web_service_worker_provider_impl.h',
224       'child/service_worker/web_service_worker_registration_impl.cc',
225       'child/service_worker/web_service_worker_registration_impl.h',
226       'child/shared_worker_devtools_agent.cc',
227       'child/shared_worker_devtools_agent.h',
228       'child/simple_webmimeregistry_impl.cc',
229       'child/simple_webmimeregistry_impl.h',
230       'child/site_isolation_policy.cc',
231       'child/site_isolation_policy.h',
232       'child/sync_load_response.cc',
233       'child/sync_load_response.h',
234       'child/thread_safe_sender.cc',
235       'child/thread_safe_sender.h',
236       'child/threaded_data_provider.cc',
237       'child/threaded_data_provider.h',
238       'child/v8_value_converter_impl.cc',
239       'child/v8_value_converter_impl.h',
240       'child/web_data_consumer_handle_impl.cc',
241       'child/web_data_consumer_handle_impl.h',
242       'child/web_database_observer_impl.cc',
243       'child/web_database_observer_impl.h',
244       'child/web_discardable_memory_impl.cc',
245       'child/web_discardable_memory_impl.h',
246       'child/web_memory_allocator_dump_impl.cc',
247       'child/web_memory_allocator_dump_impl.h',
248       'child/web_memory_dump_provider_adapter.cc',
249       'child/web_memory_dump_provider_adapter.h',
250       'child/web_process_memory_dump_impl.cc',
251       'child/web_process_memory_dump_impl.h',
252       'child/web_url_loader_impl.cc',
253       'child/web_url_loader_impl.h',
254       'child/web_url_request_util.cc',
255       'child/web_url_request_util.h',
256       'child/webblobregistry_impl.cc',
257       'child/webblobregistry_impl.h',
258       'child/webfallbackthemeengine_impl.cc',
259       'child/webfallbackthemeengine_impl.h',
260       'child/webfileutilities_impl.cc',
261       'child/webfileutilities_impl.h',
262       'child/webmessageportchannel_impl.cc',
263       'child/webmessageportchannel_impl.h',
264       'child/websocket_bridge.cc',
265       'child/websocket_bridge.h',
266       'child/websocket_dispatcher.cc',
267       'child/websocket_dispatcher.h',
268       'child/webthemeengine_impl_android.cc',
269       'child/webthemeengine_impl_android.h',
270       'child/webthemeengine_impl_default.cc',
271       'child/webthemeengine_impl_default.h',
272       'child/webthemeengine_impl_mac.h',
273       'child/weburlresponse_extradata_impl.cc',
274       'child/weburlresponse_extradata_impl.h',
275       'child/worker_task_runner.cc',
276       'child/worker_task_runner.h',
277       'child/worker_thread_message_filter.cc',
278       'child/worker_thread_message_filter.h',
279     ],
280   },
281   'sources': [
282     '<@(public_child_sources)',
283     '<@(private_child_sources)',
284   ],
285   'conditions': [
286     ['use_default_render_theme==0',
287       {
288         'sources/': [
289           ['exclude', 'child/webthemeengine_impl_default.cc'],
290           ['exclude', 'child/webthemeengine_impl_default.h'],
291         ],
292       }
293     ],
294     ['OS=="android"', {
295       'dependencies': [
296         '../build/android/ndk.gyp:cpu_features',
297       ],
298     }],
299     ['enable_plugins==0', {
300       'sources!': [
301         'child/browser_font_resource_trusted.cc',
302       ],
303       'sources/': [
304         ['exclude', '^child/npapi/plugin_'],
305         ['exclude', '^child/npapi/webplugin_'],
306       ],
307     }],
308     ['OS=="ios"', {
309       'sources/': [
310         # iOS only needs a small portion of content; exclude all the
311         # implementation, and re-include what is used.
312         ['exclude', '\\.(cc|mm)$'],
313       ],
314     }, {  # OS!="ios"
315       'dependencies': [
316         'app/resources/content_resources.gyp:content_resources',
317         'app/strings/content_strings.gyp:content_strings',
318         '../components/scheduler/scheduler.gyp:scheduler',
319         '../storage/storage_common.gyp:storage_common',
320         '../third_party/WebKit/public/blink.gyp:blink',
321         '../third_party/WebKit/public/blink_resources.gyp:blink_image_resources',
322         '../third_party/WebKit/public/blink_resources.gyp:blink_resources',
323         '../third_party/npapi/npapi.gyp:npapi',
324       ],
325     }],
326     ['use_aura==1', {
327       'sources!': [
328         'child/npapi/webplugin_delegate_impl_mac.mm',
329       ],
330     }],
331     ['OS=="win"', {
332       'sources!': [
333         'child/npapi/webplugin_delegate_impl_aura.cc',
334       ],
335     }],
336   ],