Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: webkit/activex_shim/activex_shim.gyp

Issue 62089: Moving activex shim to gyp. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/all.gyp ('k') | webkit/activex_shim/activex_shim.vcproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/activex_shim/activex_shim.gyp
===================================================================
--- webkit/activex_shim/activex_shim.gyp (revision 13224)
+++ webkit/activex_shim/activex_shim.gyp (working copy)
@@ -9,42 +9,52 @@
'includes': [
'../../build/common.gypi',
],
- 'targets': [
- {
- 'target_name': 'activex_shim',
- 'type': 'static_library',
- 'msvs_guid': 'F4F4BCAA-EA59-445C-A119-3E6C29647A51',
- 'dependencies': [
- '../../base/base.gyp:base',
- '../../third_party/npapi/npapi.gyp:npapi',
- '../../build/temp_gyp/googleurl.gyp:googleurl',
+ 'conditions': [
+ [ 'OS=="win"', {
+ 'targets': [
+ {
+ 'target_name': 'activex_shim',
+ 'type': 'static_library',
+ 'msvs_guid': 'F4F4BCAA-EA59-445C-A119-3E6C29647A51',
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ '../../third_party/npapi/npapi.gyp:npapi',
+ '../../build/temp_gyp/googleurl.gyp:googleurl',
+ ],
+ 'sources': [
+ 'activex_plugin.cc',
+ 'activex_plugin.h',
+ 'activex_shared.cc',
+ 'activex_shared.h',
+ 'activex_util.cc',
+ 'activex_util.h',
+ 'dispatch_object.cc',
+ 'dispatch_object.h',
+ 'ihtmldocument_impl.h',
+ 'iwebbrowser_impl.h',
+ 'npn_scripting.cc',
+ 'npn_scripting.h',
+ 'npp_impl.cc',
+ 'npp_impl.h',
+ 'README',
+ 'web_activex_container.cc',
+ 'web_activex_container.h',
+ 'web_activex_site.cc',
+ 'web_activex_site.h',
+ ],
+ # TODO(bradnelson): Add direct support for this kind of thing to gyp.
+ 'msvs_settings': {
+ 'VCLibrarianTool': {
+ 'AdditionalDependencies': 'urlmon.lib',
+ },
+ },
+ 'link_settings': {
+ 'libraries': [
+ '-lurlmon.lib',
+ ],
+ },
+ },
],
- 'sources': [
- 'activex_plugin.cc',
- 'activex_plugin.h',
- 'activex_shared.cc',
- 'activex_shared.h',
- 'activex_util.cc',
- 'activex_util.h',
- 'dispatch_object.cc',
- 'dispatch_object.h',
- 'ihtmldocument_impl.h',
- 'iwebbrowser_impl.h',
- 'npn_scripting.cc',
- 'npn_scripting.h',
- 'npp_impl.cc',
- 'npp_impl.h',
- 'README',
- 'web_activex_container.cc',
- 'web_activex_container.h',
- 'web_activex_site.cc',
- 'web_activex_site.h',
- ],
- 'link_settings': {
- 'libraries': [
- '-lurlmon.lib',
- ],
- },
- },
+ }],
],
}
« no previous file with comments | « build/all.gyp ('k') | webkit/activex_shim/activex_shim.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698