| Index: webkit/activex_shim_dll/activex_shim_dll.gyp
|
| ===================================================================
|
| --- webkit/activex_shim_dll/activex_shim_dll.gyp (revision 13224)
|
| +++ webkit/activex_shim_dll/activex_shim_dll.gyp (working copy)
|
| @@ -9,27 +9,39 @@
|
| 'includes': [
|
| '../../build/common.gypi',
|
| ],
|
| - 'targets': [
|
| - {
|
| - 'target_name': 'activex_shim_dll',
|
| - 'type': 'shared_library',
|
| - 'dependencies': [
|
| - '../../base/base.gyp:base',
|
| - '../../third_party/npapi/npapi.gyp:npapi',
|
| - '../activex_shim/activex_shim.gyp:activex_shim',
|
| + 'conditions': [
|
| + [ 'OS=="win"', {
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'activex_shim_dll',
|
| + 'type': 'shared_library',
|
| + 'dependencies': [
|
| + '../../base/base.gyp:base',
|
| + '../../third_party/npapi/npapi.gyp:npapi',
|
| + '../activex_shim/activex_shim.gyp:activex_shim',
|
| + ],
|
| + 'msvs_guid': '494E414B-1655-48CE-996D-6413ECFB7829',
|
| + 'msvs_settings': {
|
| + 'VCLinkerTool': {
|
| + 'RegisterOutput': 'false',
|
| + 'IgnoreImportLibrary': 'true',
|
| + 'OutputFile': '$(OutDir)/npaxshim.dll',
|
| + 'ModuleDefinitionFile': 'activex_shim_dll.def',
|
| + },
|
| + },
|
| + 'sources': [
|
| + 'activex_shim_dll.cc',
|
| + 'activex_shim_dll.def',
|
| + 'activex_shim_dll.rc',
|
| + 'resource.h',
|
| + ],
|
| + 'link_settings': {
|
| + 'libraries': [
|
| + '-lurlmon.lib',
|
| + ],
|
| + },
|
| + },
|
| ],
|
| - 'msvs_guid': '494E414B-1655-48CE-996D-6413ECFB7829',
|
| - 'sources': [
|
| - 'activex_shim_dll.cc',
|
| - 'activex_shim_dll.def',
|
| - 'activex_shim_dll.rc',
|
| - 'resource.h',
|
| - ],
|
| - 'link_settings': {
|
| - 'libraries': [
|
| - '-lurlmon.lib',
|
| - ],
|
| - },
|
| - },
|
| + }],
|
| ],
|
| }
|
|
|