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

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

Issue 24792003: homogenize msvs and ninja library_dir and libraries settings for Windows (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: reland r1743 with fixed test case Created 7 years, 2 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/subdir/test.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/library_dirs/subdir/test-win.gyp
diff --git a/test/library_dirs/subdir/test.gyp b/test/library_dirs/subdir/test-win.gyp
similarity index 85%
copy from test/library_dirs/subdir/test.gyp
copy to test/library_dirs/subdir/test-win.gyp
index f83d7f2bf1f8ff1bf3a51455f5528b8fe0475422..033b6f7fdd03c6652d11c95fa9afa3056bd97ed9 100644
--- a/test/library_dirs/subdir/test.gyp
+++ b/test/library_dirs/subdir/test-win.gyp
@@ -22,7 +22,7 @@
],
},
{
- 'target_name': 'libraries-search-path-test',
+ 'target_name': 'libraries-search-path-test-lib-suffix',
'type': 'executable',
'dependencies': [
# It is important to NOT list the mylib as a dependency here, because
@@ -51,17 +51,9 @@
'<(abs_path_to_secret_library_location)',
],
'link_settings': {
- 'conditions': [
- ['OS=="linux"', {
- 'libraries': [
- '-lmylib',
- ],
- }, { # else
- 'libraries': [
- '<(STATIC_LIB_PREFIX)mylib<(STATIC_LIB_SUFFIX)',
- ],
- }],
- ], # conditions
+ 'libraries': [
+ '-lmylib.lib',
+ ],
},
},
],
« no previous file with comments | « test/library_dirs/subdir/test.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698