Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / content / content_child.gypi
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.
4
5 {
6   'dependencies': [
7     '../base/base.gyp:base',
8     '../components/tracing.gyp:tracing',
9     '../skia/skia.gyp:skia',
10     '../ui/gfx/gfx.gyp:gfx',
11     '../ui/gfx/gfx.gyp:gfx_geometry',
12     '../ui/ui.gyp:ui',
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/android/child_jni_registrar.cc',
23     'child/android/child_jni_registrar.h',
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/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_thread.cc',
45     'child/child_thread.h',
46     'child/database_util.cc',
47     'child/database_util.h',
48     'child/db_message_filter.cc',
49     'child/db_message_filter.h',
50     'child/fileapi/file_system_dispatcher.cc',
51     'child/fileapi/file_system_dispatcher.h',
52     'child/fileapi/webfilesystem_impl.cc',
53     'child/fileapi/webfilesystem_impl.h',
54     'child/fileapi/webfilewriter_base.cc',
55     'child/fileapi/webfilewriter_base.h',
56     'child/fileapi/webfilewriter_impl.cc',
57     'child/fileapi/webfilewriter_impl.h',
58     'child/image_decoder.cc',
59     'child/image_decoder.h',
60     'child/indexed_db/indexed_db_dispatcher.cc',
61     'child/indexed_db/indexed_db_dispatcher.h',
62     'child/indexed_db/indexed_db_key_builders.cc',
63     'child/indexed_db/indexed_db_key_builders.h',
64     'child/indexed_db/indexed_db_message_filter.cc',
65     'child/indexed_db/indexed_db_message_filter.h',
66     'child/indexed_db/webidbcursor_impl.cc',
67     'child/indexed_db/webidbcursor_impl.h',
68     'child/indexed_db/webidbdatabase_impl.cc',
69     'child/indexed_db/webidbdatabase_impl.h',
70     'child/indexed_db/webidbfactory_impl.cc',
71     'child/indexed_db/webidbfactory_impl.h',
72     'child/npapi/np_channel_base.cc',
73     'child/npapi/np_channel_base.h',
74     'child/npapi/npobject_base.h',
75     'child/npapi/npobject_proxy.cc',
76     'child/npapi/npobject_proxy.h',
77     'child/npapi/npobject_stub.cc',
78     'child/npapi/npobject_stub.h',
79     'child/npapi/npobject_util.cc',
80     'child/npapi/npobject_util.h',
81     'child/npapi/npruntime_util.cc',
82     'child/npapi/npruntime_util.h',
83     'child/npapi/plugin_host.cc',
84     'child/npapi/plugin_host.h',
85     'child/npapi/plugin_instance.cc',
86     'child/npapi/plugin_instance.h',
87     'child/npapi/plugin_instance_mac.mm',
88     'child/npapi/plugin_lib.cc',
89     'child/npapi/plugin_lib.h',
90     'child/npapi/plugin_stream.cc',
91     'child/npapi/plugin_stream.h',
92     'child/npapi/plugin_stream_posix.cc',
93     'child/npapi/plugin_stream_url.cc',
94     'child/npapi/plugin_stream_url.h',
95     'child/npapi/plugin_stream_win.cc',
96     'child/npapi/plugin_string_stream.cc',
97     'child/npapi/plugin_string_stream.h',
98     'child/npapi/plugin_url_fetcher.cc',
99     'child/npapi/plugin_url_fetcher.h',
100     'child/npapi/plugin_web_event_converter_mac.h',
101     'child/npapi/plugin_web_event_converter_mac.mm',
102     'child/npapi/webplugin.h',
103     'child/npapi/webplugin_accelerated_surface_mac.h',
104     'child/npapi/webplugin_delegate.h',
105     'child/npapi/webplugin_delegate_impl.cc',
106     'child/npapi/webplugin_delegate_impl.h',
107     'child/npapi/webplugin_delegate_impl_android.cc',
108     'child/npapi/webplugin_delegate_impl_aura.cc',
109     'child/npapi/webplugin_delegate_impl_gtk.cc',
110     'child/npapi/webplugin_delegate_impl_mac.mm',
111     'child/npapi/webplugin_delegate_impl_win.cc',
112     'child/npapi/webplugin_ime_win.cc',
113     'child/npapi/webplugin_ime_win.h',
114     'child/npapi/webplugin_resource_client.h',
115     'child/plugin_message_generator.cc',
116     'child/plugin_message_generator.h',
117     'child/plugin_messages.h',
118     'child/plugin_param_traits.cc',
119     'child/plugin_param_traits.h',
120     'child/power_monitor_broadcast_source.cc',
121     'child/power_monitor_broadcast_source.h',
122     'child/quota_dispatcher.cc',
123     'child/quota_dispatcher.h',
124     'child/quota_message_filter.cc',
125     'child/quota_message_filter.h',
126     'child/request_extra_data.cc',
127     'child/request_extra_data.h',
128     'child/resource_dispatcher.cc',
129     'child/resource_dispatcher.h',
130     'child/runtime_features.cc',
131     'child/runtime_features.h',
132     'child/scoped_child_process_reference.cc',
133     'child/scoped_child_process_reference.h',
134     'child/service_worker/service_worker_dispatcher.cc',
135     'child/service_worker/service_worker_dispatcher.h',
136     'child/service_worker/service_worker_message_filter.cc',
137     'child/service_worker/service_worker_message_filter.h',
138     'child/service_worker/web_service_worker_impl.cc',
139     'child/service_worker/web_service_worker_impl.h',
140     'child/service_worker/web_service_worker_provider_impl.cc',
141     'child/service_worker/web_service_worker_provider_impl.h',
142     'child/shared_worker_devtools_agent.cc',
143     'child/shared_worker_devtools_agent.h',
144     'child/simple_webmimeregistry_impl.cc',
145     'child/simple_webmimeregistry_impl.h',
146     'child/site_isolation_policy.cc',
147     'child/site_isolation_policy.h',
148     'child/socket_stream_dispatcher.cc',
149     'child/socket_stream_dispatcher.h',
150     'child/thread_safe_sender.cc',
151     'child/thread_safe_sender.h',
152     'child/web_database_observer_impl.cc',
153     'child/web_database_observer_impl.h',
154     'child/web_discardable_memory_impl.cc',
155     'child/web_discardable_memory_impl.h',
156     'child/webblobregistry_impl.cc',
157     'child/webblobregistry_impl.h',
158     'child/webfileutilities_impl.cc',
159     'child/webfileutilities_impl.h',
160     'child/webkitplatformsupport_child_impl.cc',
161     'child/webkitplatformsupport_child_impl.h',
162     'child/webkitplatformsupport_impl.cc',
163     'child/webkitplatformsupport_impl.h',
164     'child/webmessageportchannel_impl.cc',
165     'child/webmessageportchannel_impl.h',
166     'child/websocket_bridge.cc',
167     'child/websocket_bridge.h',
168     'child/websocket_dispatcher.cc',
169     'child/websocket_dispatcher.h',
170     'child/webfallbackthemeengine_impl.cc',
171     'child/webfallbackthemeengine_impl.h',
172     'child/webthemeengine_impl_android.cc',
173     'child/webthemeengine_impl_android.h',
174     'child/webthemeengine_impl_default.cc',
175     'child/webthemeengine_impl_default.h',
176     'child/webthemeengine_impl_mac.cc',
177     'child/webthemeengine_impl_mac.h',
178     'child/worker_thread_task_runner.cc',
179     'child/worker_thread_task_runner.h',
180     'public/child/image_decoder_utils.h',
181     'public/child/resource_dispatcher_delegate.h',
182   ],
183   'conditions': [
184     ['use_default_render_theme==0',
185       {
186         'sources/': [
187           ['exclude', 'child/webthemeengine_impl_default.cc'],
188           ['exclude', 'child/webthemeengine_impl_default.h'],
189         ],
190       }
191     ],
192     ['OS=="android"', {
193       'includes': [
194         '../build/android/cpufeatures.gypi',
195       ],
196     }],
197     ['enable_plugins==0', {
198       'sources!': [
199         'child/browser_font_resource_trusted.cc',
200       ],
201       'sources/': [
202         ['exclude', '^child/npapi/plugin_'],
203         ['exclude', '^child/npapi/webplugin_'],
204       ],
205     }],
206     ['OS=="ios"', {
207       'sources/': [
208         # iOS only needs a small portion of content; exclude all the
209         # implementation, and re-include what is used.
210         ['exclude', '\\.(cc|mm)$'],
211       ],
212     }, {  # OS!="ios"
213       'dependencies': [
214         '../third_party/WebKit/public/blink.gyp:blink',
215         '../third_party/npapi/npapi.gyp:npapi',
216         '../webkit/child/webkit_child.gyp:webkit_child',
217         '../webkit/common/webkit_common.gyp:webkit_common',
218       ],
219     }],
220     ['use_aura==1', {
221       'sources!': [
222         'child/npapi/webplugin_delegate_impl_mac.mm',
223       ],
224     }],
225     ['OS=="win"', {
226       'sources!': [
227         'child/npapi/webplugin_delegate_impl_aura.cc',
228       ],
229     }],
230   ],
231 }