blob: b0c18ed10dadcd6a0c797dd396409145c6862774 [file] [log] [blame]
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +01001# 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',
Ben Murdoch58e6fbe2013-07-26 10:20:38 +01009 '../skia/skia.gyp:skia',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +010010 '../ui/ui.gyp:ui',
11 '../url/url.gyp:url_lib',
12 ],
13 'include_dirs': [
14 '..',
15 ],
16 'export_dependent_settings': [
17 '../base/base.gyp:base',
18 ],
19 'sources': [
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +010020 'child/android/child_jni_registrar.cc',
21 'child/android/child_jni_registrar.h',
22 'child/appcache_backend_proxy.cc',
23 'child/appcache_backend_proxy.h',
24 'child/appcache_dispatcher.cc',
25 'child/appcache_dispatcher.h',
Ben Murdochbb1529c2013-08-08 10:24:53 +010026 'child/browser_font_resource_trusted.cc',
27 'child/browser_font_resource_trusted.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +010028 'child/child_histogram_message_filter.cc',
29 'child/child_histogram_message_filter.h',
30 'child/child_process.cc',
31 'child/child_process.h',
32 'child/child_resource_message_filter.cc',
33 'child/child_resource_message_filter.h',
34 'child/child_thread.cc',
35 'child/child_thread.h',
36 'child/database_util.cc',
37 'child/database_util.h',
Ben Murdoch7dbb3d52013-07-17 14:55:54 +010038 'child/db_message_filter.cc',
39 'child/db_message_filter.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +010040 'child/fileapi/file_system_dispatcher.cc',
41 'child/fileapi/file_system_dispatcher.h',
42 'child/fileapi/webfilesystem_callback_adapters.cc',
43 'child/fileapi/webfilesystem_callback_adapters.h',
44 'child/fileapi/webfilesystem_impl.cc',
45 'child/fileapi/webfilesystem_impl.h',
46 'child/fileapi/webfilewriter_impl.cc',
47 'child/fileapi/webfilewriter_impl.h',
Ben Murdocheb525c52013-07-10 11:40:50 +010048 'child/image_decoder.cc',
49 'child/image_decoder.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +010050 'child/indexed_db/indexed_db_dispatcher.cc',
51 'child/indexed_db/indexed_db_dispatcher.h',
Ben Murdochca12bfa2013-07-23 11:17:05 +010052 'child/indexed_db/indexed_db_key_builders.cc',
53 'child/indexed_db/indexed_db_key_builders.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +010054 'child/indexed_db/indexed_db_message_filter.cc',
55 'child/indexed_db/indexed_db_message_filter.h',
56 'child/indexed_db/proxy_webidbcursor_impl.cc',
57 'child/indexed_db/proxy_webidbcursor_impl.h',
58 'child/indexed_db/proxy_webidbdatabase_impl.cc',
59 'child/indexed_db/proxy_webidbdatabase_impl.h',
60 'child/indexed_db/proxy_webidbfactory_impl.cc',
61 'child/indexed_db/proxy_webidbfactory_impl.h',
Ben Murdochca12bfa2013-07-23 11:17:05 +010062 'child/npapi/np_channel_base.cc',
63 'child/npapi/np_channel_base.h',
64 'child/npapi/npobject_base.h',
65 'child/npapi/npobject_proxy.cc',
66 'child/npapi/npobject_proxy.h',
67 'child/npapi/npobject_stub.cc',
68 'child/npapi/npobject_stub.h',
69 'child/npapi/npobject_util.cc',
70 'child/npapi/npobject_util.h',
71 'child/npapi/npruntime_util.cc',
72 'child/npapi/npruntime_util.h',
73 'child/npapi/plugin_host.cc',
74 'child/npapi/plugin_host.h',
75 'child/npapi/plugin_instance.cc',
76 'child/npapi/plugin_instance.h',
77 'child/npapi/plugin_instance_mac.mm',
78 'child/npapi/plugin_lib.cc',
79 'child/npapi/plugin_lib.h',
80 'child/npapi/plugin_stream.cc',
81 'child/npapi/plugin_stream.h',
82 'child/npapi/plugin_stream_posix.cc',
83 'child/npapi/plugin_stream_url.cc',
84 'child/npapi/plugin_stream_url.h',
85 'child/npapi/plugin_stream_win.cc',
86 'child/npapi/plugin_string_stream.cc',
87 'child/npapi/plugin_string_stream.h',
88 'child/npapi/plugin_web_event_converter_mac.h',
89 'child/npapi/plugin_web_event_converter_mac.mm',
90 'child/npapi/webplugin.h',
91 'child/npapi/webplugin_accelerated_surface_mac.h',
92 'child/npapi/webplugin_delegate.h',
93 'child/npapi/webplugin_delegate_impl.cc',
94 'child/npapi/webplugin_delegate_impl.h',
95 'child/npapi/webplugin_delegate_impl_android.cc',
96 'child/npapi/webplugin_delegate_impl_aura.cc',
97 'child/npapi/webplugin_delegate_impl_gtk.cc',
98 'child/npapi/webplugin_delegate_impl_mac.mm',
99 'child/npapi/webplugin_delegate_impl_win.cc',
100 'child/npapi/webplugin_ime_win.cc',
101 'child/npapi/webplugin_ime_win.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100102 'child/plugin_message_generator.cc',
103 'child/plugin_message_generator.h',
104 'child/plugin_messages.h',
105 'child/plugin_param_traits.cc',
106 'child/plugin_param_traits.h',
Torne (Richard Coles)a36e5922013-08-05 13:57:33 +0100107 'child/power_monitor_broadcast_source.cc',
108 'child/power_monitor_broadcast_source.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100109 'child/quota_dispatcher.cc',
110 'child/quota_dispatcher.h',
Ben Murdoch558790d2013-07-30 15:19:42 +0100111 'child/quota_message_filter.cc',
112 'child/quota_message_filter.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100113 'child/request_extra_data.cc',
114 'child/request_extra_data.h',
115 'child/resource_dispatcher.cc',
116 'child/resource_dispatcher.h',
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +0100117 'child/runtime_features.cc',
118 'child/runtime_features.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100119 'child/socket_stream_dispatcher.cc',
120 'child/socket_stream_dispatcher.h',
121 'child/thread_safe_sender.cc',
122 'child/thread_safe_sender.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100123 'child/web_database_observer_impl.cc',
124 'child/web_database_observer_impl.h',
Ben Murdochca12bfa2013-07-23 11:17:05 +0100125 'child/webblobregistry_impl.cc',
126 'child/webblobregistry_impl.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100127 'child/webkitplatformsupport_impl.cc',
128 'child/webkitplatformsupport_impl.h',
129 'child/webmessageportchannel_impl.cc',
130 'child/webmessageportchannel_impl.h',
Ben Murdochca12bfa2013-07-23 11:17:05 +0100131 'public/child/image_decoder_utils.h',
132 'public/child/resource_dispatcher_delegate.h',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100133 ],
134 'conditions': [
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +0100135 ['OS=="android"', {
136 'includes': [
137 '../build/android/cpufeatures.gypi',
138 ],
139 }],
Ben Murdochbb1529c2013-08-08 10:24:53 +0100140 ['enable_plugins==0', {
141 'sources!': [
Ben Murdoch58e6fbe2013-07-26 10:20:38 +0100142 'child/browser_font_resource_trusted.cc',
Ben Murdochbb1529c2013-08-08 10:24:53 +0100143 ],
144 'sources/': [
145 ['exclude', '^child/npapi/plugin_'],
146 ['exclude', '^child/npapi/webplugin_'],
Ben Murdoch58e6fbe2013-07-26 10:20:38 +0100147 ],
148 }],
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100149 ['OS=="ios"', {
150 'sources/': [
151 # iOS only needs a small portion of content; exclude all the
152 # implementation, and re-include what is used.
153 ['exclude', '\\.(cc|mm)$'],
154 ],
155 }, { # OS!="ios"
156 'dependencies': [
157 '../third_party/WebKit/public/blink.gyp:blink',
158 '../third_party/npapi/npapi.gyp:npapi',
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100159 '../webkit/common/webkit_common.gyp:webkit_common',
Torne (Richard Coles)7d4cd472013-06-19 11:58:07 +0100160 '../webkit/support/webkit_support.gyp:glue_child',
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100161 ],
162 }],
Ben Murdochca12bfa2013-07-23 11:17:05 +0100163 ['use_aura==1', {
164 'sources!': [
165 'child/npapi/webplugin_delegate_impl_mac.mm',
166 ],
167 }],
168 ['use_aura==1 and OS=="win"', {
169 'sources!': [
170 'child/npapi/webplugin_delegate_impl_aura.cc',
171 ],
172 }],
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100173 ],
174}