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': [ |
11 'WEBKIT_PLUGINS_IMPLEMENTATION', | 11 'WEBKIT_PLUGINS_IMPLEMENTATION', |
12 ], | 12 ], |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '<(INTERMEDIATE_DIR)', | 14 '<(INTERMEDIATE_DIR)', |
15 '<(SHARED_INTERMEDIATE_DIR)/ui', | 15 '<(SHARED_INTERMEDIATE_DIR)/ui', |
16 ], | 16 ], |
17 'dependencies': [ | 17 'dependencies': [ |
18 '<(DEPTH)/base/base.gyp:base_i18n', | 18 '<(DEPTH)/base/base.gyp:base_i18n', |
19 '<(DEPTH)/base/base.gyp:base', | 19 '<(DEPTH)/base/base.gyp:base', |
20 '<(DEPTH)/base/base.gyp:base_static', | 20 '<(DEPTH)/base/base.gyp:base_static', |
21 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 21 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
22 '<(DEPTH)/net/net.gyp:net', | 22 '<(DEPTH)/net/net.gyp:net', |
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', | |
28 '../plugins/webplugininfo.h', | |
29 '../plugins/plugin_constants.cc', | 27 '../plugins/plugin_constants.cc', |
30 '../plugins/plugin_constants.h', | 28 '../plugins/plugin_constants.h', |
31 '../plugins/plugin_switches.cc', | 29 '../plugins/plugin_switches.cc', |
32 '../plugins/plugin_switches.h', | 30 '../plugins/plugin_switches.h', |
33 '../common/plugins/ppapi/ppapi_utils.cc', | 31 '../common/plugins/ppapi/ppapi_utils.cc', |
34 '../common/plugins/ppapi/ppapi_utils.h', | 32 '../common/plugins/ppapi/ppapi_utils.h', |
35 ], | 33 ], |
36 'conditions': [ | 34 'conditions': [ |
37 ['toolkit_uses_gtk == 1', { | 35 ['toolkit_uses_gtk == 1', { |
38 'dependencies': [ | 36 'dependencies': [ |
39 '<(DEPTH)/build/linux/system.gyp:gtk', | 37 '<(DEPTH)/build/linux/system.gyp:gtk', |
40 ], | 38 ], |
41 'sources/': [['exclude', '_x11\\.cc$']], | 39 'sources/': [['exclude', '_x11\\.cc$']], |
42 }], | 40 }], |
43 ['OS!="win"', { | 41 ['OS!="win"', { |
44 'sources/': [['exclude', '_win\\.cc$']], | 42 'sources/': [['exclude', '_win\\.cc$']], |
45 }, { # else: OS=="win" | 43 }, { # else: OS=="win" |
46 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 44 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
47 'msvs_disabled_warnings': [ 4800, 4267 ], | 45 'msvs_disabled_warnings': [ 4800, 4267 ], |
48 'sources/': [['exclude', '_posix\\.cc$']], | 46 'sources/': [['exclude', '_posix\\.cc$']], |
49 'include_dirs': [ | 47 'include_dirs': [ |
50 '<(DEPTH)/third_party/wtl/include', | 48 '<(DEPTH)/third_party/wtl/include', |
51 ], | 49 ], |
52 }], | 50 }], |
53 ], | 51 ], |
54 }, | 52 }, |
55 ], | 53 ], |
56 } | 54 } |
57 | 55 |
OLD | NEW |