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

Unified Diff: test/library_dirs/subdir/test.gyp

Issue 25594002: Revert homogenize msvs and ninja library_dir and libraries settings for (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 7 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
« no previous file with comments | « test/library_dirs/gyptest-library-dirs.py ('k') | test/library_dirs/subdir/test-win.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/library_dirs/subdir/test.gyp
diff --git a/test/library_dirs/subdir/test.gyp b/test/library_dirs/subdir/test.gyp
index 127dd541d488440bdc6cc0812c1f46654f282d13..f83d7f2bf1f8ff1bf3a51455f5528b8fe0475422 100644
--- a/test/library_dirs/subdir/test.gyp
+++ b/test/library_dirs/subdir/test.gyp
@@ -51,9 +51,17 @@
'<(abs_path_to_secret_library_location)',
],
'link_settings': {
- 'libraries': [
- '-lmylib',
- ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'libraries': [
+ '-lmylib',
+ ],
+ }, { # else
+ 'libraries': [
+ '<(STATIC_LIB_PREFIX)mylib<(STATIC_LIB_SUFFIX)',
+ ],
+ }],
+ ], # conditions
},
},
],
« no previous file with comments | « test/library_dirs/gyptest-library-dirs.py ('k') | test/library_dirs/subdir/test-win.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698