OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'plugins_common', | 8 'target_name': 'plugins_common', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'defines': [ | 10 'defines': [ |
(...skipping 12 matching lines...) Expand all Loading... |
23 '<(DEPTH)/ui/ui.gyp:ui', | 23 '<(DEPTH)/ui/ui.gyp:ui', |
24 '<(DEPTH)/ui/ui.gyp:ui_resources', | 24 '<(DEPTH)/ui/ui.gyp:ui_resources', |
25 ], | 25 ], |
26 'sources': [ | 26 'sources': [ |
27 '../plugins/webplugininfo.cc', | 27 '../plugins/webplugininfo.cc', |
28 '../plugins/webplugininfo.h', | 28 '../plugins/webplugininfo.h', |
29 '../plugins/plugin_constants.cc', | 29 '../plugins/plugin_constants.cc', |
30 '../plugins/plugin_constants.h', | 30 '../plugins/plugin_constants.h', |
31 '../plugins/plugin_switches.cc', | 31 '../plugins/plugin_switches.cc', |
32 '../plugins/plugin_switches.h', | 32 '../plugins/plugin_switches.h', |
33 '../plugins/npapi/plugin_constants_win.cc', | |
34 '../plugins/npapi/plugin_constants_win.h', | |
35 '../plugins/npapi/plugin_list.cc', | |
36 '../plugins/npapi/plugin_list.h', | |
37 '../plugins/npapi/plugin_list_mac.mm', | |
38 '../plugins/npapi/plugin_list_posix.cc', | |
39 '../plugins/npapi/plugin_list_win.cc', | |
40 '../plugins/npapi/plugin_utils.cc', | 33 '../plugins/npapi/plugin_utils.cc', |
41 '../plugins/npapi/plugin_utils.h', | 34 '../plugins/npapi/plugin_utils.h', |
42 '../common/plugins/ppapi/ppapi_utils.cc', | 35 '../common/plugins/ppapi/ppapi_utils.cc', |
43 '../common/plugins/ppapi/ppapi_utils.h', | 36 '../common/plugins/ppapi/ppapi_utils.h', |
44 ], | 37 ], |
45 'conditions': [ | 38 'conditions': [ |
46 ['toolkit_uses_gtk == 1', { | 39 ['toolkit_uses_gtk == 1', { |
47 'dependencies': [ | 40 'dependencies': [ |
48 '<(DEPTH)/build/linux/system.gyp:gtk', | 41 '<(DEPTH)/build/linux/system.gyp:gtk', |
49 ], | 42 ], |
50 'sources/': [['exclude', '_x11\\.cc$']], | 43 'sources/': [['exclude', '_x11\\.cc$']], |
51 }], | 44 }], |
52 ['OS!="mac"', { | |
53 'sources/': [['exclude', '_mac\\.(cc|mm)$']], | |
54 }, { # else: OS=="mac" | |
55 'sources/': [['exclude', 'plugin_list_posix\\.cc$']], | |
56 'link_settings': { | |
57 'libraries': [ | |
58 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
59 ], | |
60 }, | |
61 }], | |
62 ['OS!="win"', { | 45 ['OS!="win"', { |
63 'sources/': [['exclude', '_win\\.cc$']], | 46 'sources/': [['exclude', '_win\\.cc$']], |
64 }, { # else: OS=="win" | 47 }, { # else: OS=="win" |
65 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
66 'msvs_disabled_warnings': [ 4800, 4267 ], | 49 'msvs_disabled_warnings': [ 4800, 4267 ], |
67 'sources/': [['exclude', '_posix\\.cc$']], | 50 'sources/': [['exclude', '_posix\\.cc$']], |
68 'include_dirs': [ | 51 'include_dirs': [ |
69 '<(DEPTH)/third_party/wtl/include', | 52 '<(DEPTH)/third_party/wtl/include', |
70 ], | 53 ], |
71 }], | 54 }], |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 }, | 208 }, |
226 ], | 209 ], |
227 }], | 210 }], |
228 ], | 211 ], |
229 }, | 212 }, |
230 ], | 213 ], |
231 }], | 214 }], |
232 ], | 215 ], |
233 } | 216 } |
234 | 217 |
OLD | NEW |