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