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