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.
7 '../base/base.gyp:base',
8 '../components/tracing.gyp:tracing',
9 '../mojo/mojo_base.gyp:mojo_application_bindings',
10 '../mojo/mojo_base.gyp:mojo_environment_chromium',
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',
20 'export_dependent_settings': [
21 '../base/base.gyp:base',
24 'public_child_sources': [
25 'public/child/image_decoder_utils.h',
26 'public/child/request_peer.h',
27 'public/child/resource_dispatcher_delegate.h',
29 'private_child_sources': [
30 'child/appcache/appcache_backend_proxy.cc',
31 'child/appcache/appcache_backend_proxy.h',
32 'child/appcache/appcache_dispatcher.cc',
33 'child/appcache/appcache_dispatcher.h',
34 'child/appcache/appcache_frontend_impl.cc',
35 'child/appcache/appcache_frontend_impl.h',
36 'child/appcache/web_application_cache_host_impl.cc',
37 'child/appcache/web_application_cache_host_impl.h',
38 'child/assert_matching_enums.cc',
39 'child/blink_glue.cc',
41 'child/blink_platform_impl.cc',
42 'child/blink_platform_impl.h',
43 'child/browser_font_resource_trusted.cc',
44 'child/browser_font_resource_trusted.h',
45 'child/child_histogram_message_filter.cc',
46 'child/child_histogram_message_filter.h',
47 'child/child_message_filter.cc',
48 'child/child_message_filter.h',
49 'child/child_process.cc',
50 'child/child_process.h',
51 'child/child_resource_message_filter.cc',
52 'child/child_resource_message_filter.h',
53 'child/child_shared_bitmap_manager.cc',
54 'child/child_shared_bitmap_manager.h',
55 'child/child_thread.cc',
56 'child/child_thread.h',
57 'child/content_child_helpers.cc',
58 'child/content_child_helpers.h',
59 'child/database_util.cc',
60 'child/database_util.h',
61 'child/db_message_filter.cc',
62 'child/db_message_filter.h',
63 'child/fileapi/file_system_dispatcher.cc',
64 'child/fileapi/file_system_dispatcher.h',
65 'child/fileapi/webfilesystem_impl.cc',
66 'child/fileapi/webfilesystem_impl.h',
67 'child/fileapi/webfilewriter_base.cc',
68 'child/fileapi/webfilewriter_base.h',
69 'child/fileapi/webfilewriter_impl.cc',
70 'child/fileapi/webfilewriter_impl.h',
71 'child/fling_animator_impl_android.cc',
72 'child/fling_animator_impl_android.h',
73 'child/fling_curve_configuration.cc',
74 'child/fling_curve_configuration.h',
75 'child/ftp_directory_listing_response_delegate.cc',
76 'child/ftp_directory_listing_response_delegate.h',
77 'child/image_decoder.cc',
78 'child/image_decoder.h',
79 'child/indexed_db/indexed_db_dispatcher.cc',
80 'child/indexed_db/indexed_db_dispatcher.h',
81 'child/indexed_db/indexed_db_key_builders.cc',
82 'child/indexed_db/indexed_db_key_builders.h',
83 'child/indexed_db/indexed_db_message_filter.cc',
84 'child/indexed_db/indexed_db_message_filter.h',
85 'child/indexed_db/webidbcursor_impl.cc',
86 'child/indexed_db/webidbcursor_impl.h',
87 'child/indexed_db/webidbdatabase_impl.cc',
88 'child/indexed_db/webidbdatabase_impl.h',
89 'child/indexed_db/webidbfactory_impl.cc',
90 'child/indexed_db/webidbfactory_impl.h',
91 'child/mojo/mojo_application.cc',
92 'child/mojo/mojo_application.h',
93 'child/multipart_response_delegate.cc',
94 'child/multipart_response_delegate.h',
95 'child/npapi/np_channel_base.cc',
96 'child/npapi/np_channel_base.h',
97 'child/npapi/npobject_base.h',
98 'child/npapi/npobject_proxy.cc',
99 'child/npapi/npobject_proxy.h',
100 'child/npapi/npobject_stub.cc',
101 'child/npapi/npobject_stub.h',
102 'child/npapi/npobject_util.cc',
103 'child/npapi/npobject_util.h',
104 'child/npapi/npruntime_util.cc',
105 'child/npapi/npruntime_util.h',
106 'child/npapi/plugin_host.cc',
107 'child/npapi/plugin_host.h',
108 'child/npapi/plugin_instance.cc',
109 'child/npapi/plugin_instance.h',
110 'child/npapi/plugin_instance_mac.mm',
111 'child/npapi/plugin_lib.cc',
112 'child/npapi/plugin_lib.h',
113 'child/npapi/plugin_stream.cc',
114 'child/npapi/plugin_stream.h',
115 'child/npapi/plugin_stream_posix.cc',
116 'child/npapi/plugin_stream_url.cc',
117 'child/npapi/plugin_stream_url.h',
118 'child/npapi/plugin_stream_win.cc',
119 'child/npapi/plugin_string_stream.cc',
120 'child/npapi/plugin_string_stream.h',
121 'child/npapi/plugin_url_fetcher.cc',
122 'child/npapi/plugin_url_fetcher.h',
123 'child/npapi/plugin_web_event_converter_mac.h',
124 'child/npapi/plugin_web_event_converter_mac.mm',
125 'child/npapi/webplugin.h',
126 'child/npapi/webplugin_accelerated_surface_mac.h',
127 'child/npapi/webplugin_delegate.h',
128 'child/npapi/webplugin_delegate_impl.cc',
129 'child/npapi/webplugin_delegate_impl.h',
130 'child/npapi/webplugin_delegate_impl_android.cc',
131 'child/npapi/webplugin_delegate_impl_aura.cc',
132 'child/npapi/webplugin_delegate_impl_mac.mm',
133 'child/npapi/webplugin_delegate_impl_win.cc',
134 'child/npapi/webplugin_ime_win.cc',
135 'child/npapi/webplugin_ime_win.h',
136 'child/npapi/webplugin_resource_client.h',
137 'child/plugin_message_generator.cc',
138 'child/plugin_message_generator.h',
139 'child/plugin_messages.h',
140 'child/plugin_param_traits.cc',
141 'child/plugin_param_traits.h',
142 'child/power_monitor_broadcast_source.cc',
143 'child/power_monitor_broadcast_source.h',
144 'child/quota_dispatcher.cc',
145 'child/quota_dispatcher.h',
146 'child/quota_message_filter.cc',
147 'child/quota_message_filter.h',
148 'child/request_extra_data.cc',
149 'child/request_extra_data.h',
150 'child/request_info.cc',
151 'child/request_info.h',
152 'child/resource_dispatcher.cc',
153 'child/resource_dispatcher.h',
154 'child/runtime_features.cc',
155 'child/runtime_features.h',
156 'child/scoped_child_process_reference.cc',
157 'child/scoped_child_process_reference.h',
158 'child/service_worker/service_worker_dispatcher.cc',
159 'child/service_worker/service_worker_dispatcher.h',
160 'child/service_worker/service_worker_handle_reference.cc',
161 'child/service_worker/service_worker_handle_reference.h',
162 'child/service_worker/service_worker_message_filter.cc',
163 'child/service_worker/service_worker_message_filter.h',
164 'child/service_worker/service_worker_network_provider.cc',
165 'child/service_worker/service_worker_network_provider.h',
166 'child/service_worker/service_worker_provider_context.cc',
167 'child/service_worker/service_worker_provider_context.h',
168 'child/service_worker/web_service_worker_impl.cc',
169 'child/service_worker/web_service_worker_impl.h',
170 'child/service_worker/web_service_worker_provider_impl.cc',
171 'child/service_worker/web_service_worker_provider_impl.h',
172 'child/service_worker/web_service_worker_registration_impl.cc',
173 'child/service_worker/web_service_worker_registration_impl.h',
174 'child/shared_worker_devtools_agent.cc',
175 'child/shared_worker_devtools_agent.h',
176 'child/simple_webmimeregistry_impl.cc',
177 'child/simple_webmimeregistry_impl.h',
178 'child/site_isolation_policy.cc',
179 'child/site_isolation_policy.h',
180 'child/socket_stream_dispatcher.cc',
181 'child/socket_stream_dispatcher.h',
182 'child/sync_load_response.cc',
183 'child/sync_load_response.h',
184 'child/thread_safe_sender.cc',
185 'child/thread_safe_sender.h',
186 'child/threaded_data_provider.cc',
187 'child/threaded_data_provider.h',
188 'child/touch_fling_gesture_curve.cc',
189 'child/touch_fling_gesture_curve.h',
190 'child/web_database_observer_impl.cc',
191 'child/web_database_observer_impl.h',
192 'child/web_discardable_memory_impl.cc',
193 'child/web_discardable_memory_impl.h',
194 'child/web_socket_stream_handle_bridge.h',
195 'child/web_socket_stream_handle_delegate.h',
196 'child/web_socket_stream_handle_impl.cc',
197 'child/web_socket_stream_handle_impl.h',
198 'child/web_url_loader_impl.cc',
199 'child/web_url_loader_impl.h',
200 'child/web_url_request_util.cc',
201 'child/web_url_request_util.h',
202 'child/webblobregistry_impl.cc',
203 'child/webblobregistry_impl.h',
204 'child/webcrypto/algorithm_dispatch.cc',
205 'child/webcrypto/algorithm_dispatch.h',
206 'child/webcrypto/algorithm_implementation.cc',
207 'child/webcrypto/algorithm_implementation.h',
208 'child/webcrypto/algorithm_registry.cc',
209 'child/webcrypto/algorithm_registry.h',
210 'child/webcrypto/crypto_data.cc',
211 'child/webcrypto/crypto_data.h',
212 'child/webcrypto/jwk.cc',
213 'child/webcrypto/jwk.h',
214 'child/webcrypto/platform_crypto.h',
215 'child/webcrypto/status.cc',
216 'child/webcrypto/status.h',
217 'child/webcrypto/structured_clone.cc',
218 'child/webcrypto/structured_clone.h',
219 'child/webcrypto/webcrypto_impl.cc',
220 'child/webcrypto/webcrypto_impl.h',
221 'child/webcrypto/webcrypto_util.cc',
222 'child/webcrypto/webcrypto_util.h',
223 'child/webfallbackthemeengine_impl.cc',
224 'child/webfallbackthemeengine_impl.h',
225 'child/webfileutilities_impl.cc',
226 'child/webfileutilities_impl.h',
227 'child/webmessageportchannel_impl.cc',
228 'child/webmessageportchannel_impl.h',
229 'child/websocket_bridge.cc',
230 'child/websocket_bridge.h',
231 'child/websocket_dispatcher.cc',
232 'child/websocket_dispatcher.h',
233 'child/webthemeengine_impl_android.cc',
234 'child/webthemeengine_impl_android.h',
235 'child/webthemeengine_impl_default.cc',
236 'child/webthemeengine_impl_default.h',
237 'child/webthemeengine_impl_mac.cc',
238 'child/webthemeengine_impl_mac.h',
239 'child/webthread_impl.cc',
240 'child/webthread_impl.h',
241 'child/weburlresponse_extradata_impl.cc',
242 'child/weburlresponse_extradata_impl.h',
243 'child/worker_task_runner.cc',
244 'child/worker_task_runner.h',
245 'child/worker_thread_task_runner.cc',
246 'child/worker_thread_task_runner.h',
248 'webcrypto_nss_sources': [
249 'child/webcrypto/nss/aes_cbc_nss.cc',
250 'child/webcrypto/nss/aes_gcm_nss.cc',
251 'child/webcrypto/nss/aes_key_nss.cc',
252 'child/webcrypto/nss/aes_key_nss.h',
253 'child/webcrypto/nss/aes_kw_nss.cc',
254 'child/webcrypto/nss/hmac_nss.cc',
255 'child/webcrypto/nss/key_nss.cc',
256 'child/webcrypto/nss/key_nss.h',
257 'child/webcrypto/nss/rsa_key_nss.cc',
258 'child/webcrypto/nss/rsa_key_nss.h',
259 'child/webcrypto/nss/rsa_oaep_nss.cc',
260 'child/webcrypto/nss/rsa_ssa_nss.cc',
261 'child/webcrypto/nss/sha_nss.cc',
262 'child/webcrypto/nss/sym_key_nss.cc',
263 'child/webcrypto/nss/sym_key_nss.h',
264 'child/webcrypto/nss/util_nss.cc',
265 'child/webcrypto/nss/util_nss.h',
267 'webcrypto_openssl_sources': [
268 'child/webcrypto/openssl/aes_cbc_openssl.cc',
269 'child/webcrypto/openssl/aes_gcm_openssl.cc',
270 'child/webcrypto/openssl/aes_key_openssl.cc',
271 'child/webcrypto/openssl/aes_key_openssl.h',
272 'child/webcrypto/openssl/aes_kw_openssl.cc',
273 'child/webcrypto/openssl/hmac_openssl.cc',
274 'child/webcrypto/openssl/key_openssl.cc',
275 'child/webcrypto/openssl/key_openssl.h',
276 'child/webcrypto/openssl/rsa_key_openssl.cc',
277 'child/webcrypto/openssl/rsa_key_openssl.h',
278 'child/webcrypto/openssl/rsa_oaep_openssl.cc',
279 'child/webcrypto/openssl/rsa_ssa_openssl.cc',
280 'child/webcrypto/openssl/sha_openssl.cc',
281 'child/webcrypto/openssl/sym_key_openssl.cc',
282 'child/webcrypto/openssl/sym_key_openssl.h',
283 'child/webcrypto/openssl/util_openssl.cc',
284 'child/webcrypto/openssl/util_openssl.h',
288 '<@(public_child_sources)',
289 '<@(private_child_sources)',
292 ['use_default_render_theme==0',
295 ['exclude', 'child/webthemeengine_impl_default.cc'],
296 ['exclude', 'child/webthemeengine_impl_default.h'],
302 '../build/android/cpufeatures.gypi',
305 ['enable_plugins==0', {
307 'child/browser_font_resource_trusted.cc',
310 ['exclude', '^child/npapi/plugin_'],
311 ['exclude', '^child/npapi/webplugin_'],
316 # iOS only needs a small portion of content; exclude all the
317 # implementation, and re-include what is used.
318 ['exclude', '\\.(cc|mm)$'],
322 '../third_party/WebKit/public/blink.gyp:blink',
323 '../third_party/WebKit/public/blink_resources.gyp:blink_resources',
324 '../third_party/npapi/npapi.gyp:npapi',
325 '../webkit/child/webkit_child.gyp:webkit_child',
326 '../webkit/common/webkit_common.gyp:webkit_common',
327 '../webkit/webkit_resources.gyp:webkit_resources',
332 'child/npapi/webplugin_delegate_impl_mac.mm',
337 'child/npapi/webplugin_delegate_impl_aura.cc',
342 '<@(webcrypto_openssl_sources)',
345 '../third_party/boringssl/boringssl.gyp:boringssl',
349 '<@(webcrypto_nss_sources)',
352 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
354 '../build/linux/system.gyp:ssl',
358 '../third_party/nss/nss.gyp:nspr',
359 '../third_party/nss/nss.gyp:nss',