views: Remove unused Widget::InitParams::double_buffer.
[chromium-blink-merge.git] / content / content_child.gypi
blobc51317f3c76cfb348c5d9702e1465de4105b82a2
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/tracing.gyp:tracing',
9     '../mojo/mojo_base.gyp:mojo_environment_chromium',
10     '../mojo/mojo_base.gyp:mojo_common_lib',
11     '../mojo/public/mojo_public.gyp:mojo_application_bindings',
12     '../skia/skia.gyp:skia',
13     '../ui/base/ui_base.gyp:ui_base',
14     '../ui/gfx/gfx.gyp:gfx',
15     '../ui/gfx/gfx.gyp:gfx_geometry',
16     '../url/url.gyp:url_lib',
17   ],
18   'include_dirs': [
19     '..',
20   ],
21   'export_dependent_settings': [
22     '../base/base.gyp:base',
23   ],
24   'variables': {
25     'public_child_sources': [
26       'public/child/image_decoder_utils.h',
27       'public/child/request_peer.h',
28       'public/child/resource_dispatcher_delegate.h',
29     ],
30     'private_child_sources': [
31       'child/appcache/appcache_backend_proxy.cc',
32       'child/appcache/appcache_backend_proxy.h',
33       'child/appcache/appcache_dispatcher.cc',
34       'child/appcache/appcache_dispatcher.h',
35       'child/appcache/appcache_frontend_impl.cc',
36       'child/appcache/appcache_frontend_impl.h',
37       'child/appcache/web_application_cache_host_impl.cc',
38       'child/appcache/web_application_cache_host_impl.h',
39       'child/assert_matching_enums.cc',
40       'child/blink_platform_impl.cc',
41       'child/blink_platform_impl.h',
42       'child/bluetooth/web_bluetooth_impl.cc',
43       'child/bluetooth/web_bluetooth_impl.h',
44       'child/browser_font_resource_trusted.cc',
45       'child/browser_font_resource_trusted.h',
46       'child/child_discardable_shared_memory_manager.cc',
47       'child/child_discardable_shared_memory_manager.h',
48       'child/child_gpu_memory_buffer_manager.cc',
49       'child/child_gpu_memory_buffer_manager.h',
50       'child/child_histogram_message_filter.cc',
51       'child/child_histogram_message_filter.h',
52       'child/child_message_filter.cc',
53       'child/child_message_filter.h',
54       'child/child_process.cc',
55       'child/child_process.h',
56       'child/child_resource_message_filter.cc',
57       'child/child_resource_message_filter.h',
58       'child/child_shared_bitmap_manager.cc',
59       'child/child_shared_bitmap_manager.h',
60       'child/child_thread.cc',
61       'child/child_thread.h',
62       'child/content_child_helpers.cc',
63       'child/content_child_helpers.h',
64       'child/database_util.cc',
65       'child/database_util.h',
66       'child/db_message_filter.cc',
67       'child/db_message_filter.h',
68       'child/file_info_util.cc',
69       'child/file_info_util.h',
70       'child/fileapi/file_system_dispatcher.cc',
71       'child/fileapi/file_system_dispatcher.h',
72       'child/fileapi/webfilesystem_impl.cc',
73       'child/fileapi/webfilesystem_impl.h',
74       'child/fileapi/webfilewriter_base.cc',
75       'child/fileapi/webfilewriter_base.h',
76       'child/fileapi/webfilewriter_impl.cc',
77       'child/fileapi/webfilewriter_impl.h',
78       'child/ftp_directory_listing_response_delegate.cc',
79       'child/ftp_directory_listing_response_delegate.h',
80       'child/geofencing/geofencing_dispatcher.cc',
81       'child/geofencing/geofencing_dispatcher.h',
82       'child/geofencing/geofencing_message_filter.cc',
83       'child/geofencing/geofencing_message_filter.h',
84       'child/geofencing/web_geofencing_provider_impl.cc',
85       'child/geofencing/web_geofencing_provider_impl.h',
86       'child/image_decoder.cc',
87       'child/image_decoder.h',
88       'child/indexed_db/indexed_db_dispatcher.cc',
89       'child/indexed_db/indexed_db_dispatcher.h',
90       'child/indexed_db/indexed_db_key_builders.cc',
91       'child/indexed_db/indexed_db_key_builders.h',
92       'child/indexed_db/indexed_db_message_filter.cc',
93       'child/indexed_db/indexed_db_message_filter.h',
94       'child/indexed_db/webidbcursor_impl.cc',
95       'child/indexed_db/webidbcursor_impl.h',
96       'child/indexed_db/webidbdatabase_impl.cc',
97       'child/indexed_db/webidbdatabase_impl.h',
98       'child/indexed_db/webidbfactory_impl.cc',
99       'child/indexed_db/webidbfactory_impl.h',
100       'child/mojo/mojo_application.cc',
101       'child/mojo/mojo_application.h',
102       'child/multipart_response_delegate.cc',
103       'child/multipart_response_delegate.h',
104       'child/notifications/notification_dispatcher.cc',
105       'child/notifications/notification_dispatcher.h',
106       'child/notifications/notification_manager.cc',
107       'child/notifications/notification_manager.h',
108       'child/npapi/np_channel_base.cc',
109       'child/npapi/np_channel_base.h',
110       'child/npapi/npobject_base.h',
111       'child/npapi/npobject_proxy.cc',
112       'child/npapi/npobject_proxy.h',
113       'child/npapi/npobject_stub.cc',
114       'child/npapi/npobject_stub.h',
115       'child/npapi/npobject_util.cc',
116       'child/npapi/npobject_util.h',
117       'child/npapi/npruntime_util.cc',
118       'child/npapi/npruntime_util.h',
119       'child/npapi/plugin_host.cc',
120       'child/npapi/plugin_host.h',
121       'child/npapi/plugin_instance.cc',
122       'child/npapi/plugin_instance.h',
123       'child/npapi/plugin_instance_mac.mm',
124       'child/npapi/plugin_lib.cc',
125       'child/npapi/plugin_lib.h',
126       'child/npapi/plugin_stream.cc',
127       'child/npapi/plugin_stream.h',
128       'child/npapi/plugin_stream_posix.cc',
129       'child/npapi/plugin_stream_url.cc',
130       'child/npapi/plugin_stream_url.h',
131       'child/npapi/plugin_stream_win.cc',
132       'child/npapi/plugin_string_stream.cc',
133       'child/npapi/plugin_string_stream.h',
134       'child/npapi/plugin_url_fetcher.cc',
135       'child/npapi/plugin_url_fetcher.h',
136       'child/npapi/plugin_web_event_converter_mac.h',
137       'child/npapi/plugin_web_event_converter_mac.mm',
138       'child/npapi/webplugin.h',
139       'child/npapi/webplugin_accelerated_surface_mac.h',
140       'child/npapi/webplugin_delegate.h',
141       'child/npapi/webplugin_delegate_impl.cc',
142       'child/npapi/webplugin_delegate_impl.h',
143       'child/npapi/webplugin_delegate_impl_android.cc',
144       'child/npapi/webplugin_delegate_impl_aura.cc',
145       'child/npapi/webplugin_delegate_impl_mac.mm',
146       'child/npapi/webplugin_delegate_impl_win.cc',
147       'child/npapi/webplugin_ime_win.cc',
148       'child/npapi/webplugin_ime_win.h',
149       'child/npapi/webplugin_resource_client.h',
150       'child/plugin_message_generator.cc',
151       'child/plugin_message_generator.h',
152       'child/plugin_messages.h',
153       'child/plugin_param_traits.cc',
154       'child/plugin_param_traits.h',
155       'child/power_monitor_broadcast_source.cc',
156       'child/power_monitor_broadcast_source.h',
157       'child/quota_dispatcher.cc',
158       'child/quota_dispatcher.h',
159       'child/quota_message_filter.cc',
160       'child/quota_message_filter.h',
161       'child/request_extra_data.cc',
162       'child/request_extra_data.h',
163       'child/request_info.cc',
164       'child/request_info.h',
165       'child/resource_dispatcher.cc',
166       'child/resource_dispatcher.h',
167       'child/resource_loader_bridge.cc',
168       'child/resource_loader_bridge.h',
169       'child/runtime_features.cc',
170       'child/runtime_features.h',
171       'child/scoped_child_process_reference.cc',
172       'child/scoped_child_process_reference.h',
173       'child/service_worker/service_worker_dispatcher.cc',
174       'child/service_worker/service_worker_dispatcher.h',
175       'child/service_worker/service_worker_handle_reference.cc',
176       'child/service_worker/service_worker_handle_reference.h',
177       'child/service_worker/service_worker_message_filter.cc',
178       'child/service_worker/service_worker_message_filter.h',
179       'child/service_worker/service_worker_network_provider.cc',
180       'child/service_worker/service_worker_network_provider.h',
181       'child/service_worker/service_worker_provider_context.cc',
182       'child/service_worker/service_worker_provider_context.h',
183       'child/service_worker/service_worker_registration_handle_reference.cc',
184       'child/service_worker/service_worker_registration_handle_reference.h',
185       'child/service_worker/web_service_worker_impl.cc',
186       'child/service_worker/web_service_worker_impl.h',
187       'child/service_worker/web_service_worker_provider_impl.cc',
188       'child/service_worker/web_service_worker_provider_impl.h',
189       'child/service_worker/web_service_worker_registration_impl.cc',
190       'child/service_worker/web_service_worker_registration_impl.h',
191       'child/shared_worker_devtools_agent.cc',
192       'child/shared_worker_devtools_agent.h',
193       'child/simple_webmimeregistry_impl.cc',
194       'child/simple_webmimeregistry_impl.h',
195       'child/site_isolation_policy.cc',
196       'child/site_isolation_policy.h',
197       'child/sync_load_response.cc',
198       'child/sync_load_response.h',
199       'child/thread_safe_sender.cc',
200       'child/thread_safe_sender.h',
201       'child/threaded_data_provider.cc',
202       'child/threaded_data_provider.h',
203       'child/web_data_consumer_handle_impl.cc',
204       'child/web_data_consumer_handle_impl.h',
205       'child/web_database_observer_impl.cc',
206       'child/web_database_observer_impl.h',
207       'child/web_discardable_memory_impl.cc',
208       'child/web_discardable_memory_impl.h',
209       'child/web_gesture_curve_impl.cc',
210       'child/web_gesture_curve_impl.h',
211       'child/web_url_loader_impl.cc',
212       'child/web_url_loader_impl.h',
213       'child/web_url_request_util.cc',
214       'child/web_url_request_util.h',
215       'child/webblobregistry_impl.cc',
216       'child/webblobregistry_impl.h',
217       'child/webcrypto/algorithm_dispatch.cc',
218       'child/webcrypto/algorithm_dispatch.h',
219       'child/webcrypto/algorithm_implementation.cc',
220       'child/webcrypto/algorithm_implementation.h',
221       'child/webcrypto/algorithm_registry.cc',
222       'child/webcrypto/algorithm_registry.h',
223       'child/webcrypto/crypto_data.cc',
224       'child/webcrypto/crypto_data.h',
225       'child/webcrypto/generate_key_result.cc',
226       'child/webcrypto/generate_key_result.h',
227       'child/webcrypto/jwk.cc',
228       'child/webcrypto/jwk.h',
229       'child/webcrypto/platform_crypto.h',
230       'child/webcrypto/status.cc',
231       'child/webcrypto/status.h',
232       'child/webcrypto/structured_clone.cc',
233       'child/webcrypto/structured_clone.h',
234       'child/webcrypto/webcrypto_impl.cc',
235       'child/webcrypto/webcrypto_impl.h',
236       'child/webcrypto/webcrypto_util.cc',
237       'child/webcrypto/webcrypto_util.h',
238       'child/webfallbackthemeengine_impl.cc',
239       'child/webfallbackthemeengine_impl.h',
240       'child/webfileutilities_impl.cc',
241       'child/webfileutilities_impl.h',
242       'child/webmessageportchannel_impl.cc',
243       'child/webmessageportchannel_impl.h',
244       'child/websocket_bridge.cc',
245       'child/websocket_bridge.h',
246       'child/websocket_dispatcher.cc',
247       'child/websocket_dispatcher.h',
248       'child/webthemeengine_impl_android.cc',
249       'child/webthemeengine_impl_android.h',
250       'child/webthemeengine_impl_default.cc',
251       'child/webthemeengine_impl_default.h',
252       'child/webthemeengine_impl_mac.h',
253       'child/webthread_impl.cc',
254       'child/webthread_impl.h',
255       'child/weburlresponse_extradata_impl.cc',
256       'child/weburlresponse_extradata_impl.h',
257       'child/worker_task_runner.cc',
258       'child/worker_task_runner.h',
259       'child/worker_thread_task_runner.cc',
260       'child/worker_thread_task_runner.h',
261     ],
262     'webcrypto_nss_sources': [
263       'child/webcrypto/nss/aes_cbc_nss.cc',
264       'child/webcrypto/nss/aes_gcm_nss.cc',
265       'child/webcrypto/nss/aes_key_nss.cc',
266       'child/webcrypto/nss/aes_key_nss.h',
267       'child/webcrypto/nss/aes_kw_nss.cc',
268       'child/webcrypto/nss/hmac_nss.cc',
269       'child/webcrypto/nss/key_nss.cc',
270       'child/webcrypto/nss/key_nss.h',
271       'child/webcrypto/nss/rsa_key_nss.cc',
272       'child/webcrypto/nss/rsa_key_nss.h',
273       'child/webcrypto/nss/rsa_oaep_nss.cc',
274       'child/webcrypto/nss/rsa_ssa_nss.cc',
275       'child/webcrypto/nss/sha_nss.cc',
276       'child/webcrypto/nss/sym_key_nss.cc',
277       'child/webcrypto/nss/sym_key_nss.h',
278       'child/webcrypto/nss/util_nss.cc',
279       'child/webcrypto/nss/util_nss.h',
280     ],
281     'webcrypto_openssl_sources': [
282       'child/webcrypto/openssl/aes_cbc_openssl.cc',
283       'child/webcrypto/openssl/aes_ctr_openssl.cc',
284       'child/webcrypto/openssl/aes_gcm_openssl.cc',
285       'child/webcrypto/openssl/aes_key_openssl.cc',
286       'child/webcrypto/openssl/aes_key_openssl.h',
287       'child/webcrypto/openssl/aes_kw_openssl.cc',
288       'child/webcrypto/openssl/hmac_openssl.cc',
289       'child/webcrypto/openssl/key_openssl.cc',
290       'child/webcrypto/openssl/key_openssl.h',
291       'child/webcrypto/openssl/rsa_key_openssl.cc',
292       'child/webcrypto/openssl/rsa_key_openssl.h',
293       'child/webcrypto/openssl/rsa_oaep_openssl.cc',
294       'child/webcrypto/openssl/rsa_pss_openssl.cc',
295       'child/webcrypto/openssl/rsa_sign_openssl.cc',
296       'child/webcrypto/openssl/rsa_sign_openssl.h',
297       'child/webcrypto/openssl/rsa_ssa_openssl.cc',
298       'child/webcrypto/openssl/sha_openssl.cc',
299       'child/webcrypto/openssl/sym_key_openssl.cc',
300       'child/webcrypto/openssl/sym_key_openssl.h',
301       'child/webcrypto/openssl/util_openssl.cc',
302       'child/webcrypto/openssl/util_openssl.h',
303     ],
304   },
305   'sources': [
306     '<@(public_child_sources)',
307     '<@(private_child_sources)',
308   ],
309   'conditions': [
310     ['use_default_render_theme==0',
311       {
312         'sources/': [
313           ['exclude', 'child/webthemeengine_impl_default.cc'],
314           ['exclude', 'child/webthemeengine_impl_default.h'],
315         ],
316       }
317     ],
318     ['OS=="android"', {
319       'includes': [
320         '../build/android/cpufeatures.gypi',
321       ],
322     }],
323     ['enable_plugins==0', {
324       'sources!': [
325         'child/browser_font_resource_trusted.cc',
326       ],
327       'sources/': [
328         ['exclude', '^child/npapi/plugin_'],
329         ['exclude', '^child/npapi/webplugin_'],
330       ],
331     }],
332     ['OS=="ios"', {
333       'sources/': [
334         # iOS only needs a small portion of content; exclude all the
335         # implementation, and re-include what is used.
336         ['exclude', '\\.(cc|mm)$'],
337       ],
338     }, {  # OS!="ios"
339       'dependencies': [
340         'app/resources/content_resources.gyp:content_resources',
341         'app/strings/content_strings.gyp:content_strings',
342         '../storage/storage_common.gyp:storage_common',
343         '../third_party/WebKit/public/blink.gyp:blink',
344         '../third_party/WebKit/public/blink_resources.gyp:blink_resources',
345         '../third_party/npapi/npapi.gyp:npapi',
346       ],
347     }],
348     ['use_aura==1', {
349       'sources!': [
350         'child/npapi/webplugin_delegate_impl_mac.mm',
351       ],
352     }],
353     ['OS=="win"', {
354       'sources!': [
355         'child/npapi/webplugin_delegate_impl_aura.cc',
356       ],
357     }],
358     ['use_openssl==1', {
359       'sources': [
360         '<@(webcrypto_openssl_sources)',
361       ],
362       'dependencies': [
363         '../third_party/boringssl/boringssl.gyp:boringssl',
364       ],
365     }, {
366       'sources': [
367         '<@(webcrypto_nss_sources)',
368       ],
369       'conditions': [
370         ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
371           'dependencies': [
372             '../build/linux/system.gyp:ssl',
373           ],
374         }, {
375           'dependencies': [
376             '../third_party/nss/nss.gyp:nspr',
377             '../third_party/nss/nss.gyp:nss',
378           ],
379         }],
380       ],
381     }],
382   ],