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

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

Issue 9418014: Fix regression on prefix/suffix for libraries (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pylib/gyp/generator/ninja.py
===================================================================
--- pylib/gyp/generator/ninja.py (revision 1205)
+++ pylib/gyp/generator/ninja.py (working copy)
@@ -834,16 +834,16 @@
# the product type.
if self.flavor == 'win':
DEFAULT_PREFIX = {
+ 'loadable_module': '',
+ 'shared_library': '',
+ 'static_library': '',
+ }
+ else:
+ DEFAULT_PREFIX = {
'loadable_module': 'lib',
'shared_library': 'lib',
'static_library': 'lib',
}
- else:
- DEFAULT_PREFIX = {
- 'loadable_module': '',
- 'shared_library': '',
- 'static_library': '',
- }
prefix = spec.get('product_prefix', DEFAULT_PREFIX.get(type, ''))
# Compute filename extension: the product extension, or a default
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698