OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['enable_plugins==1', { | 7 ['enable_plugins==1 and OS!="linux"', { |
8 'dependencies': [ | 8 'dependencies': [ |
9 '../skia/skia.gyp:skia', | 9 '../skia/skia.gyp:skia', |
10 '../third_party/WebKit/public/blink.gyp:blink', | 10 '../third_party/WebKit/public/blink.gyp:blink', |
11 '../third_party/npapi/npapi.gyp:npapi', | 11 '../third_party/npapi/npapi.gyp:npapi', |
12 ], | 12 ], |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '<(INTERMEDIATE_DIR)', | 14 '<(INTERMEDIATE_DIR)', |
15 ], | 15 ], |
16 'sources': [ | 16 'sources': [ |
17 # All .cc, .h, .m, and .mm files under plugins except for tests and | 17 # All .cc, .h, .m, and .mm files under plugins except for tests and |
18 # mocks. | 18 # mocks. |
19 'plugin/plugin_channel.cc', | 19 'plugin/plugin_channel.cc', |
20 'plugin/plugin_channel.h', | 20 'plugin/plugin_channel.h', |
21 'plugin/plugin_interpose_util_mac.mm', | 21 'plugin/plugin_interpose_util_mac.mm', |
22 'plugin/plugin_interpose_util_mac.h', | 22 'plugin/plugin_interpose_util_mac.h', |
23 'plugin/plugin_main.cc', | 23 'plugin/plugin_main.cc', |
24 'plugin/plugin_main_linux.cc', | |
25 'plugin/plugin_main_mac.mm', | 24 'plugin/plugin_main_mac.mm', |
26 'plugin/plugin_thread.cc', | 25 'plugin/plugin_thread.cc', |
27 'plugin/plugin_thread.h', | 26 'plugin/plugin_thread.h', |
28 'plugin/webplugin_accelerated_surface_proxy_mac.cc', | 27 'plugin/webplugin_accelerated_surface_proxy_mac.cc', |
29 'plugin/webplugin_accelerated_surface_proxy_mac.h', | 28 'plugin/webplugin_accelerated_surface_proxy_mac.h', |
30 'plugin/webplugin_delegate_stub.cc', | 29 'plugin/webplugin_delegate_stub.cc', |
31 'plugin/webplugin_delegate_stub.h', | 30 'plugin/webplugin_delegate_stub.h', |
32 'plugin/webplugin_proxy.cc', | 31 'plugin/webplugin_proxy.cc', |
33 'plugin/webplugin_proxy.h', | 32 'plugin/webplugin_proxy.h', |
34 'public/plugin/content_plugin_client.h', | 33 'public/plugin/content_plugin_client.h', |
35 ], | 34 ], |
36 # These are layered in conditionals in the event other platforms | 35 # These are layered in conditionals in the event other platforms |
37 # end up using this module as well. | 36 # end up using this module as well. |
38 'conditions': [ | 37 'conditions': [ |
39 ['os_bsd==1', { | |
40 'sources/': [ | |
41 ['exclude', '^plugin/plugin_main_linux\\.cc$'], | |
42 ], | |
43 }], | |
44 ['OS=="win"', { | 38 ['OS=="win"', { |
45 'include_dirs': [ | 39 'include_dirs': [ |
46 '<(DEPTH)/third_party/wtl/include', | 40 '<(DEPTH)/third_party/wtl/include', |
47 ], | 41 ], |
48 }], | 42 }], |
49 ['use_x11 == 1', { | |
50 'dependencies': [ | |
51 '../build/linux/system.gyp:xext', | |
52 ], | |
53 }], | |
54 ], | 43 ], |
55 }], | 44 }], |
56 ], | 45 ], |
57 } | 46 } |
OLD | NEW |