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