Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 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', |
Ben Murdoch | 58e6fbe | 2013-07-26 10:20:38 +0100 | [diff] [blame] | 9 | '../skia/skia.gyp:skia', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 10 | '../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) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 20 | '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 Murdoch | bb1529c | 2013-08-08 10:24:53 +0100 | [diff] [blame^] | 26 | 'child/browser_font_resource_trusted.cc', |
| 27 | 'child/browser_font_resource_trusted.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 28 | '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 Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 38 | 'child/db_message_filter.cc', |
| 39 | 'child/db_message_filter.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 40 | '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 Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 48 | 'child/image_decoder.cc', |
| 49 | 'child/image_decoder.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 50 | 'child/indexed_db/indexed_db_dispatcher.cc', |
| 51 | 'child/indexed_db/indexed_db_dispatcher.h', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 52 | 'child/indexed_db/indexed_db_key_builders.cc', |
| 53 | 'child/indexed_db/indexed_db_key_builders.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 54 | '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 Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 62 | '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) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 102 | '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) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 107 | 'child/power_monitor_broadcast_source.cc', |
| 108 | 'child/power_monitor_broadcast_source.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 109 | 'child/quota_dispatcher.cc', |
| 110 | 'child/quota_dispatcher.h', |
Ben Murdoch | 558790d | 2013-07-30 15:19:42 +0100 | [diff] [blame] | 111 | 'child/quota_message_filter.cc', |
| 112 | 'child/quota_message_filter.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 113 | 'child/request_extra_data.cc', |
| 114 | 'child/request_extra_data.h', |
| 115 | 'child/resource_dispatcher.cc', |
| 116 | 'child/resource_dispatcher.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 117 | 'child/runtime_features.cc', |
| 118 | 'child/runtime_features.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 119 | '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) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 123 | 'child/web_database_observer_impl.cc', |
| 124 | 'child/web_database_observer_impl.h', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 125 | 'child/webblobregistry_impl.cc', |
| 126 | 'child/webblobregistry_impl.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 127 | 'child/webkitplatformsupport_impl.cc', |
| 128 | 'child/webkitplatformsupport_impl.h', |
| 129 | 'child/webmessageportchannel_impl.cc', |
| 130 | 'child/webmessageportchannel_impl.h', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 131 | 'public/child/image_decoder_utils.h', |
| 132 | 'public/child/resource_dispatcher_delegate.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 133 | ], |
| 134 | 'conditions': [ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 135 | ['OS=="android"', { |
| 136 | 'includes': [ |
| 137 | '../build/android/cpufeatures.gypi', |
| 138 | ], |
| 139 | }], |
Ben Murdoch | bb1529c | 2013-08-08 10:24:53 +0100 | [diff] [blame^] | 140 | ['enable_plugins==0', { |
| 141 | 'sources!': [ |
Ben Murdoch | 58e6fbe | 2013-07-26 10:20:38 +0100 | [diff] [blame] | 142 | 'child/browser_font_resource_trusted.cc', |
Ben Murdoch | bb1529c | 2013-08-08 10:24:53 +0100 | [diff] [blame^] | 143 | ], |
| 144 | 'sources/': [ |
| 145 | ['exclude', '^child/npapi/plugin_'], |
| 146 | ['exclude', '^child/npapi/webplugin_'], |
Ben Murdoch | 58e6fbe | 2013-07-26 10:20:38 +0100 | [diff] [blame] | 147 | ], |
| 148 | }], |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 149 | ['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 Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 159 | '../webkit/common/webkit_common.gyp:webkit_common', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 160 | '../webkit/support/webkit_support.gyp:glue_child', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 161 | ], |
| 162 | }], |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 163 | ['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) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 173 | ], |
| 174 | } |