Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / content_plugin.gypi
blob7ff4221d15d81dbaec0a145ff1888237534af98a
1 # Copyright (c) 2011 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   'conditions': [
7     ['enable_plugins==1', {
8       'dependencies': [
9         '../skia/skia.gyp:skia',
10         '../third_party/npapi/npapi.gyp:npapi',
11         '../third_party/WebKit/public/blink.gyp:blink',
12         '../webkit/support/webkit_support.gyp:glue',
13       ],
14       'include_dirs': [
15         '<(INTERMEDIATE_DIR)',
16       ],
17       'sources': [
18         # All .cc, .h, .m, and .mm files under plugins except for tests and
19         # mocks.
20         'plugin/plugin_channel.cc',
21         'plugin/plugin_channel.h',
22         'plugin/plugin_interpose_util_mac.mm',
23         'plugin/plugin_interpose_util_mac.h',
24         'plugin/plugin_main.cc',
25         'plugin/plugin_main_linux.cc',
26         'plugin/plugin_main_mac.mm',
27         'plugin/plugin_thread.cc',
28         'plugin/plugin_thread.h',
29         'plugin/webplugin_accelerated_surface_proxy_mac.cc',
30         'plugin/webplugin_accelerated_surface_proxy_mac.h',
31         'plugin/webplugin_delegate_stub.cc',
32         'plugin/webplugin_delegate_stub.h',
33         'plugin/webplugin_proxy.cc',
34         'plugin/webplugin_proxy.h',
35         'public/plugin/content_plugin_client.h',
36       ],
37       # These are layered in conditionals in the event other platforms
38       # end up using this module as well.
39       'conditions': [
40         ['os_bsd==1', {
41           'sources/': [
42             ['exclude', '^plugin/plugin_main_linux\\.cc$'],
43           ],
44         }],
45         ['OS=="win"', {
46           'include_dirs': [
47             '<(DEPTH)/third_party/wtl/include',
48           ],
49         }],
50         ['toolkit_uses_gtk == 1', {
51           'dependencies': [
52             '../build/linux/system.gyp:gtk',
53           ],
54           'link_settings': {
55             'libraries': [
56               '-lXext',
57             ],
58           },
59         }],
60         ['use_x11 == 1', {
61           'link_settings': {
62             'libraries': [
63               '-lXext',
64             ],
65           },
66         }],
67       ],
68     }],
69   ],