Adds IconNTP params on finch experiment to Android perfbot
[chromium-blink-merge.git] / content / content_child.gypi
blob557f69962516476d01418d60bf66a54a99bf2cd5
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/fixed_received_data.cc',
31       'public/child/fixed_received_data.h',
32       'public/child/image_decoder_utils.h',
33       'public/child/request_peer.h',
34       'public/child/resource_dispatcher_delegate.h',
35       'public/child/v8_value_converter.h',
36     ],
37     'private_child_sources': [
38       'child/appcache/appcache_backend_proxy.cc',
39       'child/appcache/appcache_backend_proxy.h',
40       'child/appcache/appcache_dispatcher.cc',
41       'child/appcache/appcache_dispatcher.h',
42       'child/appcache/appcache_frontend_impl.cc',
43       'child/appcache/appcache_frontend_impl.h',
44       'child/appcache/web_application_cache_host_impl.cc',
45       'child/appcache/web_application_cache_host_impl.h',
46       'child/assert_matching_enums.cc',
47       'child/background_sync/background_sync_provider_thread_proxy.cc',
48       'child/background_sync/background_sync_provider_thread_proxy.h',
49       'child/background_sync/background_sync_provider.cc',
50       'child/background_sync/background_sync_provider.h',
51       'child/background_sync/background_sync_type_converters.cc',
52       'child/background_sync/background_sync_type_converters.h',
53       'child/blink_platform_impl.cc',
54       'child/blink_platform_impl.h',
55       'child/blob_storage/blob_consolidation.cc',
56       'child/blob_storage/blob_consolidation.h',
57       'child/browser_font_resource_trusted.cc',
58       'child/browser_font_resource_trusted.h',
59       'child/child_discardable_shared_memory_manager.cc',
60       'child/child_discardable_shared_memory_manager.h',
61       'child/child_gpu_memory_buffer_manager.cc',
62       'child/child_gpu_memory_buffer_manager.h',
63       'child/child_histogram_message_filter.cc',
64       'child/child_histogram_message_filter.h',
65       'child/child_io_surface_manager_mac.cc',
66       'child/child_io_surface_manager_mac.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/service_port_dispatcher_impl.cc',
120       'child/navigator_connect/service_port_dispatcher_impl.h',
121       'child/navigator_connect/service_port_provider.cc',
122       'child/navigator_connect/service_port_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/shared_memory_data_consumer_handle.cc',
209       'child/shared_memory_data_consumer_handle.h',
210       'child/shared_memory_received_data_factory.cc',
211       'child/shared_memory_received_data_factory.h',
212       'child/service_worker/service_worker_dispatcher.cc',
213       'child/service_worker/service_worker_dispatcher.h',
214       'child/service_worker/service_worker_handle_reference.cc',
215       'child/service_worker/service_worker_handle_reference.h',
216       'child/service_worker/service_worker_message_filter.cc',
217       'child/service_worker/service_worker_message_filter.h',
218       'child/service_worker/service_worker_network_provider.cc',
219       'child/service_worker/service_worker_network_provider.h',
220       'child/service_worker/service_worker_provider_context.cc',
221       'child/service_worker/service_worker_provider_context.h',
222       'child/service_worker/service_worker_registration_handle_reference.cc',
223       'child/service_worker/service_worker_registration_handle_reference.h',
224       'child/service_worker/web_service_worker_impl.cc',
225       'child/service_worker/web_service_worker_impl.h',
226       'child/service_worker/web_service_worker_provider_impl.cc',
227       'child/service_worker/web_service_worker_provider_impl.h',
228       'child/service_worker/web_service_worker_registration_impl.cc',
229       'child/service_worker/web_service_worker_registration_impl.h',
230       'child/shared_worker_devtools_agent.cc',
231       'child/shared_worker_devtools_agent.h',
232       'child/simple_webmimeregistry_impl.cc',
233       'child/simple_webmimeregistry_impl.h',
234       'child/site_isolation_stats_gatherer.cc',
235       'child/site_isolation_stats_gatherer.h',
236       'child/sync_load_response.cc',
237       'child/sync_load_response.h',
238       'child/thread_safe_sender.cc',
239       'child/thread_safe_sender.h',
240       'child/threaded_data_provider.cc',
241       'child/threaded_data_provider.h',
242       'child/v8_value_converter_impl.cc',
243       'child/v8_value_converter_impl.h',
244       'child/web_data_consumer_handle_impl.cc',
245       'child/web_data_consumer_handle_impl.h',
246       'child/web_database_observer_impl.cc',
247       'child/web_database_observer_impl.h',
248       'child/web_discardable_memory_impl.cc',
249       'child/web_discardable_memory_impl.h',
250       'child/web_memory_allocator_dump_impl.cc',
251       'child/web_memory_allocator_dump_impl.h',
252       'child/web_memory_dump_provider_adapter.cc',
253       'child/web_memory_dump_provider_adapter.h',
254       'child/web_process_memory_dump_impl.cc',
255       'child/web_process_memory_dump_impl.h',
256       'child/web_url_loader_impl.cc',
257       'child/web_url_loader_impl.h',
258       'child/web_url_request_util.cc',
259       'child/web_url_request_util.h',
260       'child/webblobregistry_impl.cc',
261       'child/webblobregistry_impl.h',
262       'child/webfallbackthemeengine_impl.cc',
263       'child/webfallbackthemeengine_impl.h',
264       'child/webfileutilities_impl.cc',
265       'child/webfileutilities_impl.h',
266       'child/webmessageportchannel_impl.cc',
267       'child/webmessageportchannel_impl.h',
268       'child/websocket_bridge.cc',
269       'child/websocket_bridge.h',
270       'child/websocket_dispatcher.cc',
271       'child/websocket_dispatcher.h',
272       'child/webthemeengine_impl_android.cc',
273       'child/webthemeengine_impl_android.h',
274       'child/webthemeengine_impl_default.cc',
275       'child/webthemeengine_impl_default.h',
276       'child/webthemeengine_impl_mac.h',
277       'child/weburlresponse_extradata_impl.cc',
278       'child/weburlresponse_extradata_impl.h',
279       'child/worker_task_runner.cc',
280       'child/worker_task_runner.h',
281       'child/worker_thread_message_filter.cc',
282       'child/worker_thread_message_filter.h',
283     ],
284   },
285   'sources': [
286     '<@(public_child_sources)',
287     '<@(private_child_sources)',
288   ],
289   'conditions': [
290     ['use_default_render_theme==0',
291       {
292         'sources/': [
293           ['exclude', 'child/webthemeengine_impl_default.cc'],
294           ['exclude', 'child/webthemeengine_impl_default.h'],
295         ],
296       }
297     ],
298     ['OS=="android"', {
299       'dependencies': [
300         '../build/android/ndk.gyp:cpu_features',
301       ],
302     }],
303     ['enable_plugins==0', {
304       'sources!': [
305         'child/browser_font_resource_trusted.cc',
306       ],
307       'sources/': [
308         ['exclude', '^child/npapi/plugin_'],
309         ['exclude', '^child/npapi/webplugin_'],
310       ],
311     }],
312     ['OS=="ios"', {
313       'sources/': [
314         # iOS only needs a small portion of content; exclude all the
315         # implementation, and re-include what is used.
316         ['exclude', '\\.(cc|mm)$'],
317       ],
318     }, {  # OS!="ios"
319       'dependencies': [
320         'app/resources/content_resources.gyp:content_resources',
321         'app/strings/content_strings.gyp:content_strings',
322         '../components/scheduler/scheduler.gyp:scheduler',
323         '../storage/storage_common.gyp:storage_common',
324         '../third_party/WebKit/public/blink.gyp:blink',
325         '../third_party/WebKit/public/blink_resources.gyp:blink_image_resources',
326         '../third_party/WebKit/public/blink_resources.gyp:blink_resources',
327         '../third_party/npapi/npapi.gyp:npapi',
328       ],
329     }],
330     ['use_aura==1', {
331       'sources!': [
332         'child/npapi/webplugin_delegate_impl_mac.mm',
333       ],
334     }],
335     ['OS=="win"', {
336       'sources!': [
337         'child/npapi/webplugin_delegate_impl_aura.cc',
338       ],
339     }],
340   ],