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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 }, { # else: OS=="win" | 64 }, { # else: OS=="win" |
65 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 65 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
66 'msvs_disabled_warnings': [ 4800, 4267 ], | 66 'msvs_disabled_warnings': [ 4800, 4267 ], |
67 'sources/': [['exclude', '_posix\\.cc$']], | 67 'sources/': [['exclude', '_posix\\.cc$']], |
68 'include_dirs': [ | 68 'include_dirs': [ |
69 '<(DEPTH)/third_party/wtl/include', | 69 '<(DEPTH)/third_party/wtl/include', |
70 ], | 70 ], |
71 }], | 71 }], |
72 ], | 72 ], |
73 }, | 73 }, |
74 { | |
75 'target_name': 'test_mock_plugin_list', | |
76 'type': 'static_library', | |
77 'dependencies': [ | |
78 'plugins_common' | |
79 ], | |
80 'include_dirs': [ | |
81 '../..', | |
82 ], | |
83 'sources': [ | |
84 'npapi/mock_plugin_list.cc', | |
85 'npapi/mock_plugin_list.h', | |
86 ] | |
87 }, | |
88 ], | 74 ], |
89 'conditions': [ | 75 'conditions': [ |
90 ['OS!="android" and OS!="ios"', { | 76 ['OS!="android" and OS!="ios"', { |
91 # npapi test plugin doesn't build on android or ios | 77 # npapi test plugin doesn't build on android or ios |
92 'targets': [ | 78 'targets': [ |
93 { | 79 { |
94 'target_name': 'npapi_test_common', | 80 'target_name': 'npapi_test_common', |
95 'type': 'static_library', | 81 'type': 'static_library', |
96 'dependencies': [ | 82 'dependencies': [ |
97 '<(DEPTH)/base/base.gyp:base', | 83 '<(DEPTH)/base/base.gyp:base', |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 }, | 225 }, |
240 ], | 226 ], |
241 }], | 227 }], |
242 ], | 228 ], |
243 }, | 229 }, |
244 ], | 230 ], |
245 }], | 231 }], |
246 ], | 232 ], |
247 } | 233 } |
248 | 234 |
OLD | NEW |