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