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

Unified Diff: pylib/gyp/generator/msvs.py

Issue 11031005: Add "standalone_static_library" flag (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 3 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
Index: pylib/gyp/generator/msvs.py
===================================================================
--- pylib/gyp/generator/msvs.py (revision 1508)
+++ pylib/gyp/generator/msvs.py (working copy)
@@ -997,6 +997,7 @@
'shared_library': '2', # .dll
'loadable_module': '2', # .dll
'static_library': '4', # .lib
+ 'standalone_static_library': '4', # .lib
'none': '10', # Utility type
}[spec['type']]
except KeyError:
@@ -1153,6 +1154,8 @@
'shared_library': ('VCLinkerTool', 'Link', '$(OutDir)', '.dll'),
'loadable_module': ('VCLinkerTool', 'Link', '$(OutDir)', '.dll'),
'static_library': ('VCLibrarianTool', 'Lib', '$(OutDir)lib\\', '.lib'),
+ 'standalone_static_library': ('VCLibrarianTool', 'Lib', '$(OutDir)lib\\',
+ '.lib'),
}
output_file_props = output_file_map.get(spec['type'])
if output_file_props and int(spec.get('msvs_auto_output_file', 1)):
@@ -2618,6 +2621,7 @@
'shared_library': 'Link',
'loadable_module': 'Link',
'static_library': 'Lib',
+ 'standalone_static_library': 'Lib',
}
msbuild_tool = msbuild_tool_map.get(spec['type'])
if msbuild_tool:

Powered by Google App Engine
This is Rietveld 408576698