OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../../build/common.gypi', | 10 '../../build/common.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'conditions': [ |
13 { | 13 [ 'OS=="win"', { |
14 'target_name': 'activex_shim_dll', | 14 'targets': [ |
15 'type': 'shared_library', | 15 { |
16 'dependencies': [ | 16 'target_name': 'activex_shim_dll', |
17 '../../base/base.gyp:base', | 17 'type': 'shared_library', |
18 '../../third_party/npapi/npapi.gyp:npapi', | 18 'dependencies': [ |
19 '../activex_shim/activex_shim.gyp:activex_shim', | 19 '../../base/base.gyp:base', |
| 20 '../../third_party/npapi/npapi.gyp:npapi', |
| 21 '../activex_shim/activex_shim.gyp:activex_shim', |
| 22 ], |
| 23 'msvs_guid': '494E414B-1655-48CE-996D-6413ECFB7829', |
| 24 'msvs_settings': { |
| 25 'VCLinkerTool': { |
| 26 'RegisterOutput': 'false', |
| 27 'IgnoreImportLibrary': 'true', |
| 28 'OutputFile': '$(OutDir)/npaxshim.dll', |
| 29 'ModuleDefinitionFile': 'activex_shim_dll.def', |
| 30 }, |
| 31 }, |
| 32 'sources': [ |
| 33 'activex_shim_dll.cc', |
| 34 'activex_shim_dll.def', |
| 35 'activex_shim_dll.rc', |
| 36 'resource.h', |
| 37 ], |
| 38 'link_settings': { |
| 39 'libraries': [ |
| 40 '-lurlmon.lib', |
| 41 ], |
| 42 }, |
| 43 }, |
20 ], | 44 ], |
21 'msvs_guid': '494E414B-1655-48CE-996D-6413ECFB7829', | 45 }], |
22 'sources': [ | |
23 'activex_shim_dll.cc', | |
24 'activex_shim_dll.def', | |
25 'activex_shim_dll.rc', | |
26 'resource.h', | |
27 ], | |
28 'link_settings': { | |
29 'libraries': [ | |
30 '-lurlmon.lib', | |
31 ], | |
32 }, | |
33 }, | |
34 ], | 46 ], |
35 } | 47 } |
OLD | NEW |