3d4a11a4729efdbb466fab714f7c3e6283f9d9ae
[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/browser_font_resource_trusted.cc',
33     'child/browser_font_resource_trusted.h',
34     'child/child_histogram_message_filter.cc',
35     'child/child_histogram_message_filter.h',
36     'child/child_message_filter.cc',
37     'child/child_message_filter.h',
38     'child/child_process.cc',
39     'child/child_process.h',
40     'child/child_resource_message_filter.cc',
41     'child/child_resource_message_filter.h',
42     'child/child_thread.cc',
43     'child/child_thread.h',
44     'child/database_util.cc',
45     'child/database_util.h',
46     'child/db_message_filter.cc',
47     'child/db_message_filter.h',
48     'child/fileapi/file_system_dispatcher.cc',
49     'child/fileapi/file_system_dispatcher.h',
50     'child/fileapi/webfilesystem_impl.cc',
51     'child/fileapi/webfilesystem_impl.h',
52     'child/fileapi/webfilewriter_base.cc',
53     'child/fileapi/webfilewriter_base.h',
54     'child/fileapi/webfilewriter_impl.cc',
55     'child/fileapi/webfilewriter_impl.h',
56     'child/image_decoder.cc',
57     'child/image_decoder.h',
58     'child/indexed_db/indexed_db_dispatcher.cc',
59     'child/indexed_db/indexed_db_dispatcher.h',
60     'child/indexed_db/indexed_db_key_builders.cc',
61     'child/indexed_db/indexed_db_key_builders.h',
62     'child/indexed_db/indexed_db_message_filter.cc',
63     'child/indexed_db/indexed_db_message_filter.h',
64     'child/indexed_db/webidbcursor_impl.cc',
65     'child/indexed_db/webidbcursor_impl.h',
66     'child/indexed_db/webidbdatabase_impl.cc',
67     'child/indexed_db/webidbdatabase_impl.h',
68     'child/indexed_db/webidbfactory_impl.cc',
69     'child/indexed_db/webidbfactory_impl.h',
70     'child/npapi/np_channel_base.cc',
71     'child/npapi/np_channel_base.h',
72     'child/npapi/npobject_base.h',
73     'child/npapi/npobject_proxy.cc',
74     'child/npapi/npobject_proxy.h',
75     'child/npapi/npobject_stub.cc',
76     'child/npapi/npobject_stub.h',
77     'child/npapi/npobject_util.cc',
78     'child/npapi/npobject_util.h',
79     'child/npapi/npruntime_util.cc',
80     'child/npapi/npruntime_util.h',
81     'child/npapi/plugin_host.cc',
82     'child/npapi/plugin_host.h',
83     'child/npapi/plugin_instance.cc',
84     'child/npapi/plugin_instance.h',
85     'child/npapi/plugin_instance_mac.mm',
86     'child/npapi/plugin_lib.cc',
87     'child/npapi/plugin_lib.h',
88     'child/npapi/plugin_stream.cc',
89     'child/npapi/plugin_stream.h',
90     'child/npapi/plugin_stream_posix.cc',
91     'child/npapi/plugin_stream_url.cc',
92     'child/npapi/plugin_stream_url.h',
93     'child/npapi/plugin_stream_win.cc',
94     'child/npapi/plugin_string_stream.cc',
95     'child/npapi/plugin_string_stream.h',
96     'child/npapi/plugin_url_fetcher.cc',
97     'child/npapi/plugin_url_fetcher.h',
98     'child/npapi/plugin_web_event_converter_mac.h',
99     'child/npapi/plugin_web_event_converter_mac.mm',
100     'child/npapi/webplugin.h',
101     'child/npapi/webplugin_accelerated_surface_mac.h',
102     'child/npapi/webplugin_delegate.h',
103     'child/npapi/webplugin_delegate_impl.cc',
104     'child/npapi/webplugin_delegate_impl.h',
105     'child/npapi/webplugin_delegate_impl_android.cc',
106     'child/npapi/webplugin_delegate_impl_aura.cc',
107     'child/npapi/webplugin_delegate_impl_gtk.cc',
108     'child/npapi/webplugin_delegate_impl_mac.mm',
109     'child/npapi/webplugin_delegate_impl_win.cc',
110     'child/npapi/webplugin_ime_win.cc',
111     'child/npapi/webplugin_ime_win.h',
112     'child/npapi/webplugin_resource_client.h',
113     'child/plugin_message_generator.cc',
114     'child/plugin_message_generator.h',
115     'child/plugin_messages.h',
116     'child/plugin_param_traits.cc',
117     'child/plugin_param_traits.h',
118     'child/power_monitor_broadcast_source.cc',
119     'child/power_monitor_broadcast_source.h',
120     'child/quota_dispatcher.cc',
121     'child/quota_dispatcher.h',
122     'child/quota_message_filter.cc',
123     'child/quota_message_filter.h',
124     'child/request_extra_data.cc',
125     'child/request_extra_data.h',
126     'child/resource_dispatcher.cc',
127     'child/resource_dispatcher.h',
128     'child/runtime_features.cc',
129     'child/runtime_features.h',
130     'child/scoped_child_process_reference.cc',
131     'child/scoped_child_process_reference.h',
132     'child/service_worker/service_worker_dispatcher.cc',
133     'child/service_worker/service_worker_dispatcher.h',
134     'child/service_worker/service_worker_message_filter.cc',
135     'child/service_worker/service_worker_message_filter.h',
136     'child/service_worker/web_service_worker_impl.cc',
137     'child/service_worker/web_service_worker_impl.h',
138     'child/service_worker/web_service_worker_provider_impl.cc',
139     'child/service_worker/web_service_worker_provider_impl.h',
140     'child/site_isolation_policy.cc',
141     'child/site_isolation_policy.h',
142     'child/socket_stream_dispatcher.cc',
143     'child/socket_stream_dispatcher.h',
144     'child/thread_safe_sender.cc',
145     'child/thread_safe_sender.h',
146     'child/web_database_observer_impl.cc',
147     'child/web_database_observer_impl.h',
148     'child/webblobregistry_impl.cc',
149     'child/webblobregistry_impl.h',
150     'child/webkitplatformsupport_impl.cc',
151     'child/webkitplatformsupport_impl.h',
152     'child/webmessageportchannel_impl.cc',
153     'child/webmessageportchannel_impl.h',
154     'child/websocket_bridge.cc',
155     'child/websocket_bridge.h',
156     'child/websocket_dispatcher.cc',
157     'child/websocket_dispatcher.h',
158     'child/worker_thread_task_runner.cc',
159     'child/worker_thread_task_runner.h',
160     'public/child/image_decoder_utils.h',
161     'public/child/resource_dispatcher_delegate.h',
162   ],
163   'conditions': [
164     ['OS=="android"', {
165       'includes': [
166         '../build/android/cpufeatures.gypi',
167       ],
168     }],
169     ['enable_plugins==0', {
170       'sources!': [
171         'child/browser_font_resource_trusted.cc',
172       ],
173       'sources/': [
174         ['exclude', '^child/npapi/plugin_'],
175         ['exclude', '^child/npapi/webplugin_'],
176       ],
177     }],
178     ['OS=="ios"', {
179       'sources/': [
180         # iOS only needs a small portion of content; exclude all the
181         # implementation, and re-include what is used.
182         ['exclude', '\\.(cc|mm)$'],
183       ],
184     }, {  # OS!="ios"
185       'dependencies': [
186         '../third_party/WebKit/public/blink.gyp:blink',
187         '../third_party/npapi/npapi.gyp:npapi',
188         '../webkit/child/webkit_child.gyp:webkit_child',
189         '../webkit/common/webkit_common.gyp:webkit_common',
190       ],
191     }],
192     ['use_aura==1', {
193       'sources!': [
194         'child/npapi/webplugin_delegate_impl_mac.mm',
195       ],
196     }],
197     ['OS=="win"', {
198       'sources!': [
199         'child/npapi/webplugin_delegate_impl_aura.cc',
200       ],
201     }],
202   ],
203 }