| 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', | 14 'targets': [ |
| 15 'type': 'static_library', | 15 { |
| 16 'msvs_guid': 'F4F4BCAA-EA59-445C-A119-3E6C29647A51', | 16 'target_name': 'activex_shim', |
| 17 'dependencies': [ | 17 'type': 'static_library', |
| 18 '../../base/base.gyp:base', | 18 'msvs_guid': 'F4F4BCAA-EA59-445C-A119-3E6C29647A51', |
| 19 '../../third_party/npapi/npapi.gyp:npapi', | 19 'dependencies': [ |
| 20 '../../build/temp_gyp/googleurl.gyp:googleurl', | 20 '../../base/base.gyp:base', |
| 21 '../../third_party/npapi/npapi.gyp:npapi', |
| 22 '../../build/temp_gyp/googleurl.gyp:googleurl', |
| 23 ], |
| 24 'sources': [ |
| 25 'activex_plugin.cc', |
| 26 'activex_plugin.h', |
| 27 'activex_shared.cc', |
| 28 'activex_shared.h', |
| 29 'activex_util.cc', |
| 30 'activex_util.h', |
| 31 'dispatch_object.cc', |
| 32 'dispatch_object.h', |
| 33 'ihtmldocument_impl.h', |
| 34 'iwebbrowser_impl.h', |
| 35 'npn_scripting.cc', |
| 36 'npn_scripting.h', |
| 37 'npp_impl.cc', |
| 38 'npp_impl.h', |
| 39 'README', |
| 40 'web_activex_container.cc', |
| 41 'web_activex_container.h', |
| 42 'web_activex_site.cc', |
| 43 'web_activex_site.h', |
| 44 ], |
| 45 # TODO(bradnelson): Add direct support for this kind of thing to gyp. |
| 46 'msvs_settings': { |
| 47 'VCLibrarianTool': { |
| 48 'AdditionalDependencies': 'urlmon.lib', |
| 49 }, |
| 50 }, |
| 51 'link_settings': { |
| 52 'libraries': [ |
| 53 '-lurlmon.lib', |
| 54 ], |
| 55 }, |
| 56 }, |
| 21 ], | 57 ], |
| 22 'sources': [ | 58 }], |
| 23 'activex_plugin.cc', | |
| 24 'activex_plugin.h', | |
| 25 'activex_shared.cc', | |
| 26 'activex_shared.h', | |
| 27 'activex_util.cc', | |
| 28 'activex_util.h', | |
| 29 'dispatch_object.cc', | |
| 30 'dispatch_object.h', | |
| 31 'ihtmldocument_impl.h', | |
| 32 'iwebbrowser_impl.h', | |
| 33 'npn_scripting.cc', | |
| 34 'npn_scripting.h', | |
| 35 'npp_impl.cc', | |
| 36 'npp_impl.h', | |
| 37 'README', | |
| 38 'web_activex_container.cc', | |
| 39 'web_activex_container.h', | |
| 40 'web_activex_site.cc', | |
| 41 'web_activex_site.h', | |
| 42 ], | |
| 43 'link_settings': { | |
| 44 'libraries': [ | |
| 45 '-lurlmon.lib', | |
| 46 ], | |
| 47 }, | |
| 48 }, | |
| 49 ], | 59 ], |
| 50 } | 60 } |
| OLD | NEW |