[safe_browsing] Remove unused ContainsBrowseUrl() parameter.
[chromium-blink-merge.git] / content / content_child.gypi
blobc46451cf9ef5a21dae56f21e68c3ad84bfea9963
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.gyp:mojo_environment_chromium',
10     '../mojo/mojo.gyp:mojo_shell_bindings',
11     '../skia/skia.gyp:skia',
12     '../ui/base/ui_base.gyp:ui_base',
13     '../ui/gfx/gfx.gyp:gfx',
14     '../ui/gfx/gfx.gyp:gfx_geometry',
15     '../url/url.gyp:url_lib',
16   ],
17   'include_dirs': [
18     '..',
19   ],
20   'export_dependent_settings': [
21     '../base/base.gyp:base',
22   ],
23   'sources': [
24     'child/appcache/appcache_backend_proxy.cc',
25     'child/appcache/appcache_backend_proxy.h',
26     'child/appcache/appcache_dispatcher.cc',
27     'child/appcache/appcache_dispatcher.h',
28     'child/appcache/appcache_frontend_impl.cc',
29     'child/appcache/appcache_frontend_impl.h',
30     'child/appcache/web_application_cache_host_impl.cc',
31     'child/appcache/web_application_cache_host_impl.h',
32     'child/blink_glue.cc',
33     'child/blink_glue.h',
34     'child/blink_platform_impl.cc',
35     'child/blink_platform_impl.h',
36     'child/browser_font_resource_trusted.cc',
37     'child/browser_font_resource_trusted.h',
38     'child/child_histogram_message_filter.cc',
39     'child/child_histogram_message_filter.h',
40     'child/child_message_filter.cc',
41     'child/child_message_filter.h',
42     'child/child_process.cc',
43     'child/child_process.h',
44     'child/child_resource_message_filter.cc',
45     'child/child_resource_message_filter.h',
46     'child/child_shared_bitmap_manager.cc',
47     'child/child_shared_bitmap_manager.h',
48     'child/child_thread.cc',
49     'child/child_thread.h',
50     'child/content_child_helpers.cc',
51     'child/content_child_helpers.h',
52     'child/database_util.cc',
53     'child/database_util.h',
54     'child/db_message_filter.cc',
55     'child/db_message_filter.h',
56     'child/fileapi/file_system_dispatcher.cc',
57     'child/fileapi/file_system_dispatcher.h',
58     'child/fileapi/webfilesystem_impl.cc',
59     'child/fileapi/webfilesystem_impl.h',
60     'child/fileapi/webfilewriter_base.cc',
61     'child/fileapi/webfilewriter_base.h',
62     'child/fileapi/webfilewriter_impl.cc',
63     'child/fileapi/webfilewriter_impl.h',
64     'child/fling_animator_impl_android.cc',
65     'child/fling_animator_impl_android.h',
66     'child/fling_curve_configuration.cc',
67     'child/fling_curve_configuration.h',
68     'child/ftp_directory_listing_response_delegate.cc',
69     'child/ftp_directory_listing_response_delegate.h',
70     'child/image_decoder.cc',
71     'child/image_decoder.h',
72     'child/indexed_db/indexed_db_dispatcher.cc',
73     'child/indexed_db/indexed_db_dispatcher.h',
74     'child/indexed_db/indexed_db_key_builders.cc',
75     'child/indexed_db/indexed_db_key_builders.h',
76     'child/indexed_db/indexed_db_message_filter.cc',
77     'child/indexed_db/indexed_db_message_filter.h',
78     'child/indexed_db/webidbcursor_impl.cc',
79     'child/indexed_db/webidbcursor_impl.h',
80     'child/indexed_db/webidbdatabase_impl.cc',
81     'child/indexed_db/webidbdatabase_impl.h',
82     'child/indexed_db/webidbfactory_impl.cc',
83     'child/indexed_db/webidbfactory_impl.h',
84     'child/mojo/mojo_application.cc',
85     'child/mojo/mojo_application.h',
86     'child/npapi/np_channel_base.cc',
87     'child/npapi/np_channel_base.h',
88     'child/npapi/npobject_base.h',
89     'child/npapi/npobject_proxy.cc',
90     'child/npapi/npobject_proxy.h',
91     'child/npapi/npobject_stub.cc',
92     'child/npapi/npobject_stub.h',
93     'child/npapi/npobject_util.cc',
94     'child/npapi/npobject_util.h',
95     'child/npapi/npruntime_util.cc',
96     'child/npapi/npruntime_util.h',
97     'child/npapi/plugin_host.cc',
98     'child/npapi/plugin_host.h',
99     'child/npapi/plugin_instance.cc',
100     'child/npapi/plugin_instance.h',
101     'child/npapi/plugin_instance_mac.mm',
102     'child/npapi/plugin_lib.cc',
103     'child/npapi/plugin_lib.h',
104     'child/npapi/plugin_stream.cc',
105     'child/npapi/plugin_stream.h',
106     'child/npapi/plugin_stream_posix.cc',
107     'child/npapi/plugin_stream_url.cc',
108     'child/npapi/plugin_stream_url.h',
109     'child/npapi/plugin_stream_win.cc',
110     'child/npapi/plugin_string_stream.cc',
111     'child/npapi/plugin_string_stream.h',
112     'child/npapi/plugin_url_fetcher.cc',
113     'child/npapi/plugin_url_fetcher.h',
114     'child/npapi/plugin_web_event_converter_mac.h',
115     'child/npapi/plugin_web_event_converter_mac.mm',
116     'child/npapi/webplugin.h',
117     'child/npapi/webplugin_accelerated_surface_mac.h',
118     'child/npapi/webplugin_delegate.h',
119     'child/npapi/webplugin_delegate_impl.cc',
120     'child/npapi/webplugin_delegate_impl.h',
121     'child/npapi/webplugin_delegate_impl_android.cc',
122     'child/npapi/webplugin_delegate_impl_aura.cc',
123     'child/npapi/webplugin_delegate_impl_mac.mm',
124     'child/npapi/webplugin_delegate_impl_win.cc',
125     'child/npapi/webplugin_ime_win.cc',
126     'child/npapi/webplugin_ime_win.h',
127     'child/npapi/webplugin_resource_client.h',
128     'child/plugin_message_generator.cc',
129     'child/plugin_message_generator.h',
130     'child/plugin_messages.h',
131     'child/plugin_param_traits.cc',
132     'child/plugin_param_traits.h',
133     'child/power_monitor_broadcast_source.cc',
134     'child/power_monitor_broadcast_source.h',
135     'child/quota_dispatcher.cc',
136     'child/quota_dispatcher.h',
137     'child/quota_message_filter.cc',
138     'child/quota_message_filter.h',
139     'child/request_extra_data.cc',
140     'child/request_extra_data.h',
141     'child/request_info.cc',
142     'child/request_info.h',
143     'child/resource_dispatcher.cc',
144     'child/resource_dispatcher.h',
145     'child/runtime_features.cc',
146     'child/runtime_features.h',
147     'child/scoped_child_process_reference.cc',
148     'child/scoped_child_process_reference.h',
149     'child/service_worker/service_worker_dispatcher.cc',
150     'child/service_worker/service_worker_dispatcher.h',
151     'child/service_worker/service_worker_message_filter.cc',
152     'child/service_worker/service_worker_message_filter.h',
153     'child/service_worker/service_worker_network_provider.cc',
154     'child/service_worker/service_worker_network_provider.h',
155     'child/service_worker/web_service_worker_impl.cc',
156     'child/service_worker/web_service_worker_impl.h',
157     'child/service_worker/web_service_worker_provider_impl.cc',
158     'child/service_worker/web_service_worker_provider_impl.h',
159     'child/shared_worker_devtools_agent.cc',
160     'child/shared_worker_devtools_agent.h',
161     'child/simple_webmimeregistry_impl.cc',
162     'child/simple_webmimeregistry_impl.h',
163     'child/site_isolation_policy.cc',
164     'child/site_isolation_policy.h',
165     'child/socket_stream_dispatcher.cc',
166     'child/socket_stream_dispatcher.h',
167     'child/sync_load_response.cc',
168     'child/sync_load_response.h',
169     'child/thread_safe_sender.cc',
170     'child/thread_safe_sender.h',
171     'child/touch_fling_gesture_curve.cc',
172     'child/touch_fling_gesture_curve.h',
173     'child/web_database_observer_impl.cc',
174     'child/web_database_observer_impl.h',
175     'child/web_discardable_memory_impl.cc',
176     'child/web_discardable_memory_impl.h',
177     'child/web_socket_stream_handle_bridge.h',
178     'child/web_socket_stream_handle_delegate.h',
179     'child/web_socket_stream_handle_impl.cc',
180     'child/web_socket_stream_handle_impl.h',
181     'child/web_url_loader_impl.cc',
182     'child/web_url_loader_impl.h',
183     'child/webblobregistry_impl.cc',
184     'child/webblobregistry_impl.h',
185     'child/webcrypto/crypto_data.cc',
186     'child/webcrypto/crypto_data.h',
187     'child/webcrypto/jwk.cc',
188     'child/webcrypto/jwk.h',
189     'child/webcrypto/platform_crypto.h',
190     'child/webcrypto/platform_crypto_nss.cc',
191     'child/webcrypto/platform_crypto_openssl.cc',
192     'child/webcrypto/shared_crypto.cc',
193     'child/webcrypto/shared_crypto.h',
194     'child/webcrypto/status.cc',
195     'child/webcrypto/status.h',
196     'child/webcrypto/webcrypto_impl.cc',
197     'child/webcrypto/webcrypto_impl.h',
198     'child/webcrypto/webcrypto_util.cc',
199     'child/webcrypto/webcrypto_util.h',
200     'child/webfallbackthemeengine_impl.cc',
201     'child/webfallbackthemeengine_impl.h',
202     'child/webfileutilities_impl.cc',
203     'child/webfileutilities_impl.h',
204     'child/webmessageportchannel_impl.cc',
205     'child/webmessageportchannel_impl.h',
206     'child/websocket_bridge.cc',
207     'child/websocket_bridge.h',
208     'child/websocket_dispatcher.cc',
209     'child/websocket_dispatcher.h',
210     'child/webthemeengine_impl_android.cc',
211     'child/webthemeengine_impl_android.h',
212     'child/webthemeengine_impl_default.cc',
213     'child/webthemeengine_impl_default.h',
214     'child/webthemeengine_impl_mac.cc',
215     'child/webthemeengine_impl_mac.h',
216     'child/webthread_impl.cc',
217     'child/webthread_impl.h',
218     'child/worker_task_runner.cc',
219     'child/worker_task_runner.h',
220     'child/worker_thread_task_runner.cc',
221     'child/worker_thread_task_runner.h',
222     'public/child/image_decoder_utils.h',
223     'public/child/request_peer.h',
224     'public/child/resource_dispatcher_delegate.h',
225   ],
226   'conditions': [
227     ['use_default_render_theme==0',
228       {
229         'sources/': [
230           ['exclude', 'child/webthemeengine_impl_default.cc'],
231           ['exclude', 'child/webthemeengine_impl_default.h'],
232         ],
233       }
234     ],
235     ['OS=="android"', {
236       'includes': [
237         '../build/android/cpufeatures.gypi',
238       ],
239     }],
240     ['enable_plugins==0', {
241       'sources!': [
242         'child/browser_font_resource_trusted.cc',
243       ],
244       'sources/': [
245         ['exclude', '^child/npapi/plugin_'],
246         ['exclude', '^child/npapi/webplugin_'],
247       ],
248     }],
249     ['OS=="ios"', {
250       'sources/': [
251         # iOS only needs a small portion of content; exclude all the
252         # implementation, and re-include what is used.
253         ['exclude', '\\.(cc|mm)$'],
254       ],
255     }, {  # OS!="ios"
256       'dependencies': [
257         '../third_party/WebKit/public/blink.gyp:blink',
258         '../third_party/npapi/npapi.gyp:npapi',
259         '../webkit/child/webkit_child.gyp:webkit_child',
260         '../webkit/common/webkit_common.gyp:webkit_common',
261         '../webkit/webkit_resources.gyp:webkit_resources',
262       ],
263     }],
264     ['use_aura==1', {
265       'sources!': [
266         'child/npapi/webplugin_delegate_impl_mac.mm',
267       ],
268     }],
269     ['OS=="win"', {
270       'sources!': [
271         'child/npapi/webplugin_delegate_impl_aura.cc',
272       ],
273     }],
274     ['use_openssl==1', {
275       'sources!': [
276         'child/webcrypto/platform_crypto_nss.cc',
277       ],
278       'dependencies': [
279         '../third_party/openssl/openssl.gyp:openssl',
280       ],
281     }, {
282       'sources!': [
283         'child/webcrypto/platform_crypto_openssl.cc',
284       ],
285       'conditions': [
286         ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
287           'dependencies': [
288             '../build/linux/system.gyp:ssl',
289           ],
290         }, {
291           'dependencies': [
292             '../third_party/nss/nss.gyp:nspr',
293             '../third_party/nss/nss.gyp:nss',
294           ],
295         }],
296       ],
297     }],
298   ],