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