Enable maximize mode when keyboard is open past 180 degrees.
[chromium-blink-merge.git] / content / content_child.gypi
blob4146d7f7314424fa4df696a0b1a1b11ba0a59d2e
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_gtk.cc',
120     'child/npapi/webplugin_delegate_impl_mac.mm',
121     'child/npapi/webplugin_delegate_impl_win.cc',
122     'child/npapi/webplugin_ime_win.cc',
123     'child/npapi/webplugin_ime_win.h',
124     'child/npapi/webplugin_resource_client.h',
125     'child/plugin_message_generator.cc',
126     'child/plugin_message_generator.h',
127     'child/plugin_messages.h',
128     'child/plugin_param_traits.cc',
129     'child/plugin_param_traits.h',
130     'child/power_monitor_broadcast_source.cc',
131     'child/power_monitor_broadcast_source.h',
132     'child/quota_dispatcher.cc',
133     'child/quota_dispatcher.h',
134     'child/quota_message_filter.cc',
135     'child/quota_message_filter.h',
136     'child/request_extra_data.cc',
137     'child/request_extra_data.h',
138     'child/request_info.cc',
139     'child/request_info.h',
140     'child/resource_dispatcher.cc',
141     'child/resource_dispatcher.h',
142     'child/runtime_features.cc',
143     'child/runtime_features.h',
144     'child/scoped_child_process_reference.cc',
145     'child/scoped_child_process_reference.h',
146     'child/service_worker/service_worker_dispatcher.cc',
147     'child/service_worker/service_worker_dispatcher.h',
148     'child/service_worker/service_worker_message_filter.cc',
149     'child/service_worker/service_worker_message_filter.h',
150     'child/service_worker/service_worker_network_provider.cc',
151     'child/service_worker/service_worker_network_provider.h',
152     'child/service_worker/web_service_worker_impl.cc',
153     'child/service_worker/web_service_worker_impl.h',
154     'child/service_worker/web_service_worker_provider_impl.cc',
155     'child/service_worker/web_service_worker_provider_impl.h',
156     'child/shared_worker_devtools_agent.cc',
157     'child/shared_worker_devtools_agent.h',
158     'child/simple_webmimeregistry_impl.cc',
159     'child/simple_webmimeregistry_impl.h',
160     'child/site_isolation_policy.cc',
161     'child/site_isolation_policy.h',
162     'child/socket_stream_dispatcher.cc',
163     'child/socket_stream_dispatcher.h',
164     'child/sync_load_response.cc',
165     'child/sync_load_response.h',
166     'child/thread_safe_sender.cc',
167     'child/thread_safe_sender.h',
168     'child/touch_fling_gesture_curve.cc',
169     'child/touch_fling_gesture_curve.h',
170     'child/web_database_observer_impl.cc',
171     'child/web_database_observer_impl.h',
172     'child/web_discardable_memory_impl.cc',
173     'child/web_discardable_memory_impl.h',
174     'child/web_socket_stream_handle_bridge.h',
175     'child/web_socket_stream_handle_delegate.h',
176     'child/web_socket_stream_handle_impl.cc',
177     'child/web_socket_stream_handle_impl.h',
178     'child/web_url_loader_impl.cc',
179     'child/web_url_loader_impl.h',
180     'child/webblobregistry_impl.cc',
181     'child/webblobregistry_impl.h',
182     'child/webcrypto/crypto_data.cc',
183     'child/webcrypto/crypto_data.h',
184     'child/webcrypto/jwk.cc',
185     'child/webcrypto/jwk.h',
186     'child/webcrypto/platform_crypto.h',
187     'child/webcrypto/platform_crypto_nss.cc',
188     'child/webcrypto/platform_crypto_openssl.cc',
189     'child/webcrypto/shared_crypto.cc',
190     'child/webcrypto/shared_crypto.h',
191     'child/webcrypto/status.cc',
192     'child/webcrypto/status.h',
193     'child/webcrypto/webcrypto_impl.cc',
194     'child/webcrypto/webcrypto_impl.h',
195     'child/webcrypto/webcrypto_util.cc',
196     'child/webcrypto/webcrypto_util.h',
197     'child/webfallbackthemeengine_impl.cc',
198     'child/webfallbackthemeengine_impl.h',
199     'child/webfileutilities_impl.cc',
200     'child/webfileutilities_impl.h',
201     'child/webmessageportchannel_impl.cc',
202     'child/webmessageportchannel_impl.h',
203     'child/websocket_bridge.cc',
204     'child/websocket_bridge.h',
205     'child/websocket_dispatcher.cc',
206     'child/websocket_dispatcher.h',
207     'child/webthemeengine_impl_android.cc',
208     'child/webthemeengine_impl_android.h',
209     'child/webthemeengine_impl_default.cc',
210     'child/webthemeengine_impl_default.h',
211     'child/webthemeengine_impl_mac.cc',
212     'child/webthemeengine_impl_mac.h',
213     'child/webthread_impl.cc',
214     'child/webthread_impl.h',
215     'child/worker_task_runner.cc',
216     'child/worker_task_runner.h',
217     'child/worker_thread_task_runner.cc',
218     'child/worker_thread_task_runner.h',
219     'public/child/image_decoder_utils.h',
220     'public/child/request_peer.h',
221     'public/child/resource_dispatcher_delegate.h',
222   ],
223   'conditions': [
224     ['use_default_render_theme==0',
225       {
226         'sources/': [
227           ['exclude', 'child/webthemeengine_impl_default.cc'],
228           ['exclude', 'child/webthemeengine_impl_default.h'],
229         ],
230       }
231     ],
232     ['OS=="android"', {
233       'includes': [
234         '../build/android/cpufeatures.gypi',
235       ],
236     }],
237     ['enable_plugins==0', {
238       'sources!': [
239         'child/browser_font_resource_trusted.cc',
240       ],
241       'sources/': [
242         ['exclude', '^child/npapi/plugin_'],
243         ['exclude', '^child/npapi/webplugin_'],
244       ],
245     }],
246     ['OS=="ios"', {
247       'sources/': [
248         # iOS only needs a small portion of content; exclude all the
249         # implementation, and re-include what is used.
250         ['exclude', '\\.(cc|mm)$'],
251       ],
252     }, {  # OS!="ios"
253       'dependencies': [
254         '../third_party/WebKit/public/blink.gyp:blink',
255         '../third_party/npapi/npapi.gyp:npapi',
256         '../webkit/child/webkit_child.gyp:webkit_child',
257         '../webkit/common/webkit_common.gyp:webkit_common',
258         '../webkit/webkit_resources.gyp:webkit_resources',
259       ],
260     }],
261     ['use_aura==1', {
262       'sources!': [
263         'child/npapi/webplugin_delegate_impl_mac.mm',
264       ],
265     }],
266     ['OS=="win"', {
267       'sources!': [
268         'child/npapi/webplugin_delegate_impl_aura.cc',
269       ],
270     }],
271     ['use_openssl==1', {
272       'sources!': [
273         'child/webcrypto/platform_crypto_nss.cc',
274       ],
275       'dependencies': [
276         '../third_party/openssl/openssl.gyp:openssl',
277       ],
278     }, {
279       'sources!': [
280         'child/webcrypto/platform_crypto_openssl.cc',
281       ],
282       'conditions': [
283         ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
284           'dependencies': [
285             '../build/linux/system.gyp:ssl',
286           ],
287         }, {
288           'dependencies': [
289             '../third_party/nss/nss.gyp:nspr',
290             '../third_party/nss/nss.gyp:nss',
291           ],
292         }],
293       ],
294     }],
295   ],