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